node: Add emitters for Lido wstETH NTT deployment to NTT Accountant mainnet tracking (#3997)
This commit is contained in:
parent
dc3a6cf804
commit
d100515609
|
@ -22,11 +22,15 @@ func nttGetEmitters(env common.Environment) (validEmitters, validEmitters, error
|
|||
arEmitterConfig := sdk.KnownAutomaticRelayerEmitters
|
||||
if env == common.MainNet {
|
||||
directEmitterConfig = emitterConfig{
|
||||
// W + NTT deployment emitters
|
||||
{chainId: vaa.ChainIDSolana, addr: "cf5f3614e2cd9b374558f35c7618b25f0d306d5e749b7d29cc030a1a15686238"},
|
||||
{chainId: vaa.ChainIDEthereum, addr: "000000000000000000000000Db55492d7190D1baE8ACbE03911C4E3E7426870c"},
|
||||
{chainId: vaa.ChainIDArbitrum, addr: "000000000000000000000000D1a8AB69e00266e8B791a15BC47514153A5045a6"},
|
||||
{chainId: vaa.ChainIDOptimism, addr: "0000000000000000000000009bD8b7b527CA4e6738cBDaBdF51C22466756073d"},
|
||||
{chainId: vaa.ChainIDBase, addr: "000000000000000000000000D1a8AB69e00266e8B791a15BC47514153A5045a6"},
|
||||
// Lido wstETH + NTT deployment emitters
|
||||
{chainId: vaa.ChainIDEthereum, addr: "000000000000000000000000A1ACC1e6edaB281Febd91E3515093F1DE81F25c0"},
|
||||
{chainId: vaa.ChainIDBSC, addr: "000000000000000000000000be3F7e06872E0dF6CD7FF35B7aa4Bb1446DC9986"},
|
||||
}
|
||||
} else if env == common.TestNet {
|
||||
directEmitterConfig = emitterConfig{
|
||||
|
|
|
@ -275,7 +275,7 @@ func TestNttParseArMsgUnknownArEmitter(t *testing.T) {
|
|||
func TestNttVerifyMainnetEmitters(t *testing.T) {
|
||||
directEmitters, arEmitters, err := nttGetEmitters(common.MainNet)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, 5, len(directEmitters)) // TODO: Change this when we add a mainnet emitter!
|
||||
assert.Equal(t, 7, len(directEmitters)) // TODO: Change this when we add a mainnet emitter!
|
||||
assert.NotEqual(t, 0, len(arEmitters))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue