Skip to content

Conversation

@btchip
Copy link

@btchip btchip commented Apr 15, 2025

Explanation

This PR adds basic support for EIP 7702 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7702.md) authorization signature and signature of TX type 4

You might want to add extra checks to the authorized contracts for delegation

Pre-merge check list

  • PR run build successfully on local machine.
  • All unit tests passed locally.

How to test

Generate the 7702 authentication RLP to sign with Foundry (cast wallet sign-auth) and remove v,r,s (using for example https://codechain-io.github.io/rlp-debugger/)

Generate a new QR code for a 7702 authentication (dataType 5) with this RLP and scan it

Testing a TX type 4 can also be done with Foundry (cast mktx with --auth parameter)

@nconsigny
Copy link

nconsigny commented Apr 18, 2025

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.

3 participants