Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evm/upgrade automatic relayers mainnet to v1.1 #3522

Draft
wants to merge 136 commits into
base: main
Choose a base branch
from

Conversation

solanoepalacio
Copy link
Collaborator

@solanoepalacio solanoepalacio commented Nov 13, 2023

This pull requests contains all the configuration and scripts used to:

  • Deploy Automatic Relayer on mainnet and testnet. These support things like:
    • Expanding existing deployments to new chains.
    • Sign deployments with a Ledger hardware wallet.
  • Upgrade Automatic Relayer to version 1.1
  • Verify WormholeRelayer, DeliveryProvider and the Create2Factory family of contracts.
  • Compare raw bytecode for the WormholeRelayer contract. Mostly useful to verify an implementation during an upgrade.
  • Pin EVM target version in foundry config to ensure we use a sane target for all the EVM chains supported.

Note that this PR is meant to bring the deployment scripts on main up to date with what's actually used. The deployment scripts on main haven't been used since a long time ago.

@solanoepalacio solanoepalacio changed the title Evm/upgrade automatic relayers mainnet wip Evm/upgrade automatic relayers mainnet to v1.1 Nov 13, 2023
@solanoepalacio solanoepalacio force-pushed the evm/upgrade-automatic-relayers-mainnet-wip branch from e6cb465 to 4af0334 Compare November 14, 2023 22:29
@scnale scnale force-pushed the evm/upgrade-automatic-relayers-mainnet-wip branch from 43ef5d9 to 5a9361f Compare January 16, 2024 20:19
ethereum/Makefile Outdated Show resolved Hide resolved
@evan-gray
Copy link
Collaborator

@solanoepalacio , switching this to draft until you can rebase and ensure the tests pass.

@evan-gray evan-gray marked this pull request as draft March 27, 2024 11:06
@scnale scnale force-pushed the evm/upgrade-automatic-relayers-mainnet-wip branch from 17090b8 to d684712 Compare May 7, 2024 23:41
scnale added 12 commits May 8, 2024 17:14
Also adds `cbor` package to parse metadata section of contracts.

For some reason, foundry stopped emitting the AST in the compiler
output. As mysterious as that is, adding `--build-info` adds the AST
back to the compiler output for each contract. 🤷
It still compares compiler version and metadata section size since we
don't expect those to change.
This only applies to mainnet.
The retrieved bytecode must match a specific hash and the transaction
receipt needs to create the currently configured `Create2Factory` for
Ethereum.
@scnale scnale force-pushed the evm/upgrade-automatic-relayers-mainnet-wip branch from 02ca94f to 3d7c997 Compare May 29, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants