-
Notifications
You must be signed in to change notification settings - Fork 236
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(signer-ledger): use SIGN_ETH_EIP_712
instruction
#1479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not that familiar with this api
wdyt @DaniPopes
There's no such thing as a EIP-712 transaction, nor does any of the existing transaction ever return EIP-712-encoded data, so I don't know what this is trying to accomplish. |
Nevermind, apparently there is #142 |
This allows foundry-zksync to sign transactions using ledger, since we make use of |
Hey guys, any update on this? Please let me know if the bugfix is not clear. The main issue that this addresses is the correct dispatch of EIP712 encoded tx, since Please let me know if you any concerns so I may address them :) |
Motivation
Signing EIP712 messages thru
alloy_network::TxSigner
'ssign_transaction
results in the usage ofSIGN
instruction which does not support EIP712 messages.Solution
Detect if the incoming tx is indeed a EIP712 transaction and dispatch to the appropriate method
PR Checklist