Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 committed Jan 16, 2025
1 parent 3cd2d93 commit e6ccb60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aggoracle/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 27 in aggoracle/config.go

View workflow job for this annotation

GitHub Actions / lint

`relavent` is a misspelling of `relevant` (misspell)
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
}

0 comments on commit e6ccb60

Please sign in to comment.