-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
T-bugType: bugType: bug
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.3.1-stable Commit SHA: 08d3a4a
What version of Foundryup are you on?
foundryup: 1.3.0
What command(s) is the bug in?
forge test
Operating System
None
Describe the bug
vm.blobhashes does not set the blobhashes correctly in recent versions.
Our tests broke due to upgrading from forge Version: 1.2.3-dev to forge Version: 1.3.1-stable.
How to recreate:
- Create a contract that fetches a blobhash by index w/ assertion it's not zero
- Run a test that sets the blobhash using vm.blobhashes
I have recreated it here: https://github.com/sam-iamm/blobhash/tree/main
The recreated example passes with forge 1.2.3-dev and fails with 1.3.1-stable.
Metadata
Metadata
Assignees
Labels
T-bugType: bugType: bug
Type
Projects
Status
Done