From 1c4654e2c29458970e245bfe0c9182fd49089ae5 Mon Sep 17 00:00:00 2001 From: Hussein Ait Lahcen Date: Fri, 24 May 2024 20:47:06 +0200 Subject: [PATCH] feat(evm): introduce berachain rpc and contracts --- evm/README.md | 15 +++++++++------ evm/evm.nix | 6 ++++++ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/evm/README.md b/evm/README.md index ca941714e8..f7ae1df4c6 100644 --- a/evm/README.md +++ b/evm/README.md @@ -47,18 +47,21 @@ This links are working if you run a local devnet on a x86 machine only (Blocksco ## Testnet 8 -### V1 (deprecated) -- IBCHandler: [0x6b6b60a68b8dcbb170f25045974d10098917f816](https://sepolia.etherscan.io/address/0x6b6b60a68b8dcbb170f25045974d10098917f816) -- CometblsClient: [0xf906a05a25bf5b61a5e4ff24be9122e2cea5f1e3](https://sepolia.etherscan.io/address/0xf906a05a25bf5b61a5e4ff24be9122e2cea5f1e3) -- UCS01: [0x3d0eb16ad2619666dbde1921282cd885b58eeefe](https://sepolia.etherscan.io/address/0x3d0eb16ad2619666dbde1921282cd885b58eeefe) -- UCS02: [0xb455b205106c9b72e967399e15efd8a025fd4a90](https://sepolia.etherscan.io/address/0xb455b205106c9b72e967399e15efd8a025fd4a90) +Note that the addresses are different because we often redeploy without upgrading when a storage breaking update is pushed. +Production contracts will get solely upgraded through the proxy. -### V2 (live) +### Sepolia - IBCHandler: [0xa390514f803a3b318b93bf6cd4beeb9f8299a0eb](https://sepolia.etherscan.io/address/0xa390514f803a3b318b93bf6cd4beeb9f8299a0eb) - CometblsClient: [0x96979ed96ae00d724109b5ad859568e1239c0837](https://sepolia.etherscan.io/address/0x96979ed96ae00d724109b5ad859568e1239c0837) - UCS01: [0xd0081080ae8493cf7340458eaf4412030df5feeb](https://sepolia.etherscan.io/address/0xd0081080ae8493cf7340458eaf4412030df5feeb) - UCS02: [0x9153952f174a1bcd7a9b3818ff21ecf918d4dca9](https://sepolia.etherscan.io/address/0x9153952f174a1bcd7a9b3818ff21ecf918d4dca9) +### Berachain +- IBCHandler: [0x6b6b60a68b8dcbb170f25045974d10098917f816](https://artio.beratrail.io/address/0x6b6b60a68b8dcbb170f25045974d10098917f816) +- CometblsClient: [0xf906a05a25bf5b61a5e4ff24be9122e2cea5f1e3](https://artio.beratrail.io/address/0xf906a05a25bf5b61a5e4ff24be9122e2cea5f1e3) +- UCS01: [0x3d0eb16ad2619666dbde1921282cd885b58eeefe](https://artio.beratrail.io//address/0x3d0eb16ad2619666dbde1921282cd885b58eeefe) +- UCS02: [0xb455b205106c9b72e967399e15efd8a025fd4a90](https://artio.beratrail.io/address/0xb455b205106c9b72e967399e15efd8a025fd4a90) + ## Other networks Assuming you create the deployer from a fresh account `` (0 nonce), the `` address can be precomputed with `cast compute-address --nonce 0 ` diff --git a/evm/evm.nix b/evm/evm.nix index e56c1466fc..5b2d96b1bd 100644 --- a/evm/evm.nix +++ b/evm/evm.nix @@ -175,6 +175,12 @@ private-key = ''"$1"''; extra-args = ""; } + { + network = "berachain-testnet"; + rpc-url = "https://artio.drpc.org"; + private-key = ''"$1"''; + extra-args = ""; + } ]; eth-deploy = { rpc-url, private-key, extra-args, ... }: pkgs.writeShellApplication {