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

Allow set version for EIP721 domain separator #86

Merged
merged 2 commits into from
Mar 11, 2022

Conversation

abarmat
Copy link
Collaborator

@abarmat abarmat commented Mar 7, 2022

No description provided.

@@ -78,8 +79,14 @@ describe('Attestations', () => {
chainID,
contractAddress,
receipt,
'1.0.0',
Copy link
Contributor

Choose a reason for hiding this comment

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

According to the draft GIP, only versions of the form =MAJOR.MINOR.PATCH are valid for use in attestations. This is because MAJOR.MINOR.PATCH indicates a range. This is only a test, so it's not very important but for documentation's sake it may be a good idea to use =1.0.0 here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good observation, done.

@abarmat
Copy link
Collaborator Author

abarmat commented Mar 7, 2022

This is a breaking change on the attestation library that it now accepts and extra version parameter. I'll bump the major for the release.

@abarmat abarmat merged commit c68a183 into master Mar 11, 2022
@abarmat abarmat deleted the ariel/eip712-version-param branch March 11, 2022 13:09
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