core/vm, params: implement EIP 3541

This commit is contained in:
Paweł Bylica
2021-04-29 11:46:03 +02:00
committed by Martin Holst Swende
parent cc606be74c
commit e69130d9f1
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ var (
ErrWriteProtection = errors.New("write protection")
ErrReturnDataOutOfBounds = errors.New("return data out of bounds")
ErrGasUintOverflow = errors.New("gas uint64 overflow")
ErrInvalidCode = errors.New("invalid code: must not begin with 0xef")
)
// ErrStackUnderflow wraps an evm error when the items on the stack less