From c381d6b27281f49e457ff8fd3a8a02fb05d1f3ac Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Mon, 5 Aug 2024 14:38:03 -0400 Subject: [PATCH] sdk: add Mantle and X Layer relayer addresses --- sdk/js/CHANGELOG.md | 1 + sdk/js/src/relayer/consts.ts | 6 ++++++ sdk/mainnet_consts.go | 2 ++ 3 files changed, 9 insertions(+) diff --git a/sdk/js/CHANGELOG.md b/sdk/js/CHANGELOG.md index f24b3849f1..f4343c438c 100644 --- a/sdk/js/CHANGELOG.md +++ b/sdk/js/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.10.18 Add Snaxchain testnet support +Add Mantle and X Layer ## 0.10.17 diff --git a/sdk/js/src/relayer/consts.ts b/sdk/js/src/relayer/consts.ts index 00904c58ba..502ca1f1fd 100644 --- a/sdk/js/src/relayer/consts.ts +++ b/sdk/js/src/relayer/consts.ts @@ -138,6 +138,12 @@ const MAINNET: { [K in ChainName]?: AddressInfo } = { blast: { wormholeRelayerAddress: "0x27428DD2d3DD32A4D7f7C497eAaa23130d894911", }, + mantle: { + wormholeRelayerAddress: "0x27428DD2d3DD32A4D7f7C497eAaa23130d894911", + }, + xlayer: { + wormholeRelayerAddress: "0x27428DD2d3DD32A4D7f7C497eAaa23130d894911", + }, }; export const RELAYER_CONTRACTS = { MAINNET, TESTNET, DEVNET }; diff --git a/sdk/mainnet_consts.go b/sdk/mainnet_consts.go index c6514ff05c..d6b6a9e041 100644 --- a/sdk/mainnet_consts.go +++ b/sdk/mainnet_consts.go @@ -187,4 +187,6 @@ var KnownAutomaticRelayerEmitters = []struct { {ChainId: vaa.ChainIDBase, Addr: "000000000000000000000000706f82e9bb5b0813501714ab5974216704980e31"}, {ChainId: vaa.ChainIDScroll, Addr: "00000000000000000000000027428DD2d3DD32A4D7f7C497eAaa23130d894911"}, {ChainId: vaa.ChainIDBlast, Addr: "00000000000000000000000027428DD2d3DD32A4D7f7C497eAaa23130d894911"}, + {ChainId: vaa.ChainIDMantle, Addr: "00000000000000000000000027428dd2d3dd32a4d7f7c497eaaa23130d894911"}, + {ChainId: vaa.ChainIDXLayer, Addr: "00000000000000000000000027428dd2d3dd32a4d7f7c497eaaa23130d894911"}, }