nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Change for 7702 for devnet-4

Open ak88 opened this issue 1 year ago • 0 comments

New spec for 7702 here: https://eips.ethereum.org/EIPS/eip-7702

Changes

  • PER_AUTH_BASE_COST now costs 15.000
  • Fields are bounded as: assert auth.chain_id < 2 **64 assert auth.nonce < 2 **64 assert len(auth.address) == 20 assert auth.y_parity < 2 **8 assert auth.r < 2 **256 assert auth.s < 2 **256
  • A zero address delegation will now reset the account to no code.
  • EXTCODEHASH returns 0 on empty accounts as well.

Tuple fields have been bounded by their type during RLP serialization/deserialization, so any field exceeding the bounds will result in RlpException

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

ak88 avatar Oct 11 '24 10:10 ak88