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

feat(evm): introduce berachain rpc and contracts #1966

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions evm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<SOURCE>` (0 nonce), the `<DEPLOYER>` address can be precomputed with `cast compute-address --nonce 0 <SOURCE>`
Expand Down
6 changes: 6 additions & 0 deletions evm/evm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading