core: add comment about 7702 state transition error

This commit is contained in:
Felix Lange 2024-12-02 13:47:42 +01:00 committed by lightclient
parent e7c0f80e4f
commit bd36423319
No known key found for this signature in database
GPG key ID: 75C916AFEE20183E

View file

@ -123,6 +123,7 @@ var (
ErrAuthSignatureVeryHigh = errors.New("EIP-7702 authorization with R or S value greater than 2^256 - 1")
// EIP-7702 state transition errors:
// Note these are just informational, and do not cause tx execution abort.
ErrAuthorizationWrongChainID = errors.New("EIP-7702 authorization chain ID mismatch")
ErrAuthorizationNonceOverflow = errors.New("EIP-7702 authorization nonce > 64 bit")
ErrAuthorizationInvalidSignature = errors.New("EIP-7702 authorization has invalid signature")