Skip to content

Issue with the blockhash instruction at the boundary #210

@0xOmarA

Description

@0xOmarA

It looks like we have an issue with the blockhash instruction around the boundary of it's limits which is 256 blocks away from the tip of the blockchain. We've seen this bug in some of the ML tests where the block hash can be obtained for numbers smaller than 256 but it starts failing around 255 and 256.

Tests failing with this bug are:

  • simple/yul_instructions/blockhash.sol::3::E-
  • simple/yul_instructions/blockhash.sol::3::Y+
  • simple/yul_instructions/blockhash.sol::3::Y-
  • simple/yul_instructions/blockhash.sol::3::E+
  • simple/yul_instructions/blockhash.sol::4::E+
  • simple/yul_instructions/blockhash.sol::4::Y+

Metadata

Metadata

Assignees

Labels

EVMProblem occurs at the execution stage for EVMMatter LabRelease

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions