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

refactor: simplify Eip712Domain::encode_data #277

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Sep 19, 2023

No description provided.

@DaniPopes DaniPopes force-pushed the dani/simple-eip712-encode_data branch 4 times, most recently from eb23c73 to e64aa63 Compare September 19, 2023 19:20
@DaniPopes DaniPopes marked this pull request as ready for review September 19, 2023 22:56
salt,
))
pub fn encode_data_to(&self, out: &mut Vec<u8>) {
// This only works because all of the fields are encoded as words.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice observation.

@gakonst gakonst merged commit 49858b5 into main Sep 20, 2023
18 checks passed
@DaniPopes DaniPopes deleted the dani/simple-eip712-encode_data branch September 20, 2023 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants