Skip to content

feat: bedrock predeploys#2580

Merged
mergify[bot] merged 11 commits intodevelopfrom
feat/predeploys
May 18, 2022
Merged

feat: bedrock predeploys#2580
mergify[bot] merged 11 commits intodevelopfrom
feat/predeploys

Conversation

@tynes
Copy link
Copy Markdown
Contributor

@tynes tynes commented May 18, 2022

Description
This PR adds the rest of the predeploys to the bedrock contracts package. The commits are split up to include each contract + their tests. There are no tests for weth9, the contract is a copy/paste from what is currently running in production with tons of value locked.

  • OVM_ETH was extended to revert for burn and mint
  • SequencerFeeVault was updated to call the new L2StandardBridge - this could be updated to use the periphery dripper contract in theory, not sure if we want to do that since what we have has been working fine.
  • DeployerWhitelist has the owner storage slot set to address(0) which turns it off, leaving its bytecode in there for historical reasons, there is a mapping for addresses that were whitelisted before arbitrary contract deployment was turned on
  • forge-std dependency was updated to the latest version which includes the abi for new cheatcodes, see expectCall cheatcode overloaded with msg.value assertion foundry-rs/foundry#1568 - be sure to foundryup to run this locally!

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 18, 2022

⚠️ No Changeset found

Latest commit: ba28202

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

This adds 2 new cheatcodes to the `vm` interface,
a `expectCall` that asserts on the call with a `msg.value`
set to a specific amount as well as a `mockCall` that can
send a specific amount of value as part of the mocked call.
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 18, 2022

Hey @tynes! This PR has merge conflicts. Please fix them before continuing review.

@mergify mergify bot requested review from mslipper and tuxcanfly May 18, 2022 19:49
@mergify mergify bot added the conflict label May 18, 2022
@tynes tynes force-pushed the feat/predeploys branch from ea97c2a to 79582e7 Compare May 18, 2022 19:50
@mergify mergify bot removed the conflict label May 18, 2022
@tynes tynes force-pushed the feat/predeploys branch from 79582e7 to 058923c Compare May 18, 2022 19:58
@tynes tynes force-pushed the feat/predeploys branch from 058923c to c6fc842 Compare May 18, 2022 20:07
@tynes tynes force-pushed the feat/predeploys branch from c6fc842 to f59bf92 Compare May 18, 2022 20:14
@tynes tynes force-pushed the feat/predeploys branch from f59bf92 to 43a13d4 Compare May 18, 2022 20:18
Copy link
Copy Markdown
Contributor

@trianglesphere trianglesphere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 18, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 18, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot merged commit 6b7ff0b into develop May 18, 2022
@mergify mergify bot deleted the feat/predeploys branch May 18, 2022 21:38
theochap pushed a commit that referenced this pull request Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants