nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Feature/eip 7702

Open ak88 opened this issue 1 year ago • 1 comments

https://eips.ethereum.org/EIPS/eip-7702

Changes

Adds an authorization_list to tx that is used to set delegations on EOAs in the form of 0xef0100 || address

The address delegates all code to the address, when the EOA is called. EVM opcodes like EXTCODESIZE, EXTCODECOPY etc. are affected by a delegation.

Account access gas is changed to count double if delegated. Once for the EOA and once for the delegation address.

Types of changes

What types of changes does your code introduce?

  • [ ] Bugfix (a non-breaking change that fixes an issue)
  • [x] New feature (a non-breaking change that adds functionality)
  • [ ] Breaking change (a change that causes existing functionality not to work as expected)
  • [ ] Optimization
  • [ ] Refactoring
  • [ ] Documentation update
  • [ ] Build-related changes
  • [ ] Other: Description

Testing

Requires testing

  • [x] Yes
  • [ ] No

If yes, did you write tests?

  • [x] Yes
  • [ ] No

ak88 avatar Jun 20 '24 09:06 ak88

More:

Verify the chain id is either 0 or the chain's current ID. - verify in tx pool Verify that the code of authority is empty. - verify in tx pool & tx picker If nonce list item is length one, verify the nonce of authority is equal to nonce. - verify in tx picker

LukaszRozmej avatar Jun 28 '24 09:06 LukaszRozmej

superceded by #7459

ak88 avatar Sep 18 '24 22:09 ak88