Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ingest domain when instantiating TypedData #453

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

prestwich
Copy link
Member

@prestwich prestwich commented Dec 15, 2023

Closes #452

Solution

Properly ingest the domain into the type resolver when instantiating a typed data from a struct

Fix parser to allow empty types

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added the bug Something isn't working label Dec 15, 2023
@prestwich prestwich self-assigned this Dec 15, 2023
@DaniPopes DaniPopes changed the title fix: ingest domain when intantiating typeddata fix: ingest domain when instantiating TypedData Dec 16, 2023
@DaniPopes DaniPopes force-pushed the prestwich/fix-eip712-domain-ingestion branch from 165891a to 0a5f4ca Compare December 16, 2023 15:11
@prestwich prestwich merged commit c59d1ff into main Dec 16, 2023
21 checks passed
@prestwich prestwich deleted the prestwich/fix-eip712-domain-ingestion branch December 16, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] alloy-dyn-abi::TypedData should populate Resolver EIP712Domain type fields when existent
2 participants