Skip to content

Commit

Permalink
Add chaintype.ChainZircuit to chaintypes with rollup support
Browse files Browse the repository at this point in the history
  • Loading branch information
ogtownsend committed Jan 14, 2025
1 parent ecc1fb0 commit b093aba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion core/chains/evm/gas/rollups/l1_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,15 @@ const (
PollPeriod = 6 * time.Second
)

var supportedChainTypes = []chaintype.ChainType{chaintype.ChainArbitrum, chaintype.ChainOptimismBedrock, chaintype.ChainKroma, chaintype.ChainScroll, chaintype.ChainZkSync, chaintype.ChainMantle}
var supportedChainTypes = []chaintype.ChainType{
chaintype.ChainArbitrum,
chaintype.ChainOptimismBedrock,
chaintype.ChainKroma,
chaintype.ChainScroll,
chaintype.ChainZkSync,
chaintype.ChainMantle,
chaintype.ChainZircuit,
}

func IsRollupWithL1Support(chainType chaintype.ChainType) bool {
return slices.Contains(supportedChainTypes, chainType)
Expand Down

0 comments on commit b093aba

Please sign in to comment.