foundry: `blockhash()` broken between `nightly-2044faec` and `nightly-b1e93654`

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

anvil

Operating System

None

Describe the bug

  1. foundryup -v nightly-2044faec64f99a21f0e5f0094458a973612d0712 blockhash(x) == keccak256(rlpEncodeBlock(x))

  2. foundryup -v nightly-b1e93654348a0f31effa34790adae18865b14aa8 ⚠️ blockhash(x) != keccak256(rlpEncodeBlock(x))

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 39 (18 by maintainers)

Most upvoted comments