Skip to content

ETH-RPC reports incorrect block difficulty #207

@0xOmarA

Description

@0xOmarA

The ETH RPC is reporting an incorrect block difficulty of 0 for all of the blocks which leads some of the differential tests to fail with the following error:

Failed to execute all of the steps on the driver: Failure on step 0: Function call step Failed: Failed to handle function call assertions: Calldata assertion failed - Expected Compound([CalldataItem("$DIFFICULTY")]) but got 0x0000000000000000000000000000000000000000000000000008e1bc9bf04000

The full list of tests impacted by this issue is:

  • simple/context/difficulty.sol::0::Y+
  • simple/context/difficulty.sol::0::Y-
  • simple/context/difficulty.sol::0::E-
  • simple/context/difficulty.sol::0::E+
  • simple/yul_instructions/difficulty.sol::0::Y- =0.8.17
  • simple/yul_instructions/difficulty.sol::0::Y+ =0.8.17
  • simple/yul_instructions/difficulty.sol::0::E+ =0.8.17
  • simple/yul_instructions/difficulty.sol::0::E- =0.8.17
  • simple/yul_instructions/prevrandao.sol::0::E-
  • simple/yul_instructions/prevrandao.sol::0::Y-
  • simple/yul_instructions/prevrandao.sol::0::E+
  • simple/yul_instructions/prevrandao.sol::0::Y+

Metadata

Metadata

Assignees

Labels

EVMProblem occurs at the execution stage for EVMMatter LabPVMProblem occurs at the execution stage for PVMReleaseerror: rpc

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions