nethermind
nethermind copied to clipboard
Change for 7702 for devnet-4
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