EIP-7702ELGlamsterdam · Jan 2027 (historical target)COMPLETEGAP PRIORITY P2
Set Code Authorization (EOA delegation)
Spec implementation completeness95%
Specification
Implemented
- ✓SetCode tx type (0x04) + authorization list
- ✓Delegation prefix 0xef0100, ParseDelegation helpers
- ✓Gas constants (PerAuthBaseCost, PerEmptyAccountCost)
Known Gaps vs. Spec
- ✗auth.chain_id validation
- ✗auth.nonce < 2^64-1 check
- ✗s ≤ secp256k1n/2 signature check
Implementation Files
- pkg/core/eips/eip7702.go
- pkg/core/types/tx_setcode.go
- pkg/core/vm/precompile_7702.go
- pkg/p2p/broadcast/setcode_broadcast.go
Tests
- pkg/core/eips/eip7702_test.go
- pkg/core/vm/precompile_7702_test.go