From e6ccb6032e0945651942d3a3cb7ecfd4cf4a9882 Mon Sep 17 00:00:00 2001 From: Rachit Sonthalia Date: Thu, 16 Jan 2025 12:45:43 +0530 Subject: [PATCH] wip --- aggoracle/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aggoracle/config.go b/aggoracle/config.go index f46b43a1..e168584c 100644 --- a/aggoracle/config.go +++ b/aggoracle/config.go @@ -24,7 +24,9 @@ type Config struct { EVMSender chaingersender.EVMConfig `mapstructure:"EVMSender"` } -// ApplyL2ChainID copies L2ChainID to the L1ChainID in the Etherman config +// ApplyL2ChainID copies L2ChainID to relavent config fields func (c *Config) ApplyL2ChainID(l2ChainID uint64) { + // Ethereman needs to have the L2ChainID in the L1ChainID field for aggOacle c.EVMSender.EthTxManager.Etherman.L1ChainID = l2ChainID + c.EVMSender.ChainIDL2 = l2ChainID }