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

intents: add eip712 support via new IntentDataSignTypedData #180

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

pkieltyka
Copy link
Member

patrislav
patrislav previously approved these changes Dec 13, 2024
Copy link
Member

@patrislav patrislav left a comment

Choose a reason for hiding this comment

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

Looks good, just a small comment

Comment on lines 76 to 78
// A SignMessagePacket (intent) *MUST* be mapped to a regular "SignMessage" Sequence action, this means that
// it must adhere to the following rules:
// - the subdigest must match `SubDigest(chainID, Wallet, Digest(Message))`
Copy link
Member

Choose a reason for hiding this comment

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

This comment doesn't make sense for SignTypedData, I'd remove it

Suggested change
// A SignMessagePacket (intent) *MUST* be mapped to a regular "SignMessage" Sequence action, this means that
// it must adhere to the following rules:
// - the subdigest must match `SubDigest(chainID, Wallet, Digest(Message))`

intents/intent.ridl Show resolved Hide resolved
@pkieltyka pkieltyka merged commit 4d55d19 into master Dec 13, 2024
1 check passed
@pkieltyka pkieltyka deleted the intent-sign-712 branch December 13, 2024 18:58
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