You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The STATICCALL was introduced in the EIP-214 in the Byzantium hardfork, while is possible to disable some opcodes like DELEGATECALL, CREATE2, REVERT, etc.. is not possible to disable the STATICCALL opcode.
Issues:
It can lead to consensus issues when using frontier hardfork config, where it is expected to return INVALID OPCODE and consume all the gas.
I'm building a light-client, the eth_call result can diverge from a result expected from ethereum compliant client.
The reason why I'm using this crate instead revm is because it's more flexible, smaller and easier to compile to webassembly, once the light-client is intended to support web browsers and substrate pallets.
Count on me to help to make this crate EVM compliant.
The text was updated successfully, but these errors were encountered:
Lohann
changed the title
Allow enable/disable STATICCALL Opcode
Enable/disable STATICCALL Opcode
Dec 2, 2023
I've added a config for staticcall on this PR: #223
Using this branch, I was able to synchronize a node up to block 2_674_999. but I'm still getting a state root mismatch in the Spurious Dragon hardfork.. still investigating why.
The STATICCALL was introduced in the EIP-214 in the Byzantium hardfork, while is possible to disable some opcodes like DELEGATECALL, CREATE2, REVERT, etc.. is not possible to disable the STATICCALL opcode.
Issues:
INVALID OPCODE
and consume all the gas.eth_call
result can diverge from a result expected from ethereum compliant client.The reason why I'm using this crate instead revm is because it's more flexible, smaller and easier to compile to webassembly, once the light-client is intended to support web browsers and substrate pallets.
Count on me to help to make this crate EVM compliant.
The text was updated successfully, but these errors were encountered: