-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing configs for Sepolia networks (#343)
- Loading branch information
1 parent
02a9c46
commit aa69d15
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package common | ||
|
||
const ( | ||
ArbitrumGoerliChainID int64 = 421613 | ||
ArbitrumOneChainID int64 = 42161 | ||
ArbitrumGoerliChainID int64 = 421613 | ||
ArbitrumSepoliaChainID int64 = 421614 | ||
ArbitrumOneChainID int64 = 42161 | ||
) | ||
|
||
// IsArbitrumChainID returns true if and only if the given chain ID corresponds | ||
// to an Arbitrum chain (testnet or mainnet). | ||
func IsArbitrumChainID(chainID int64) bool { | ||
return chainID == ArbitrumGoerliChainID || chainID == ArbitrumOneChainID | ||
return chainID == ArbitrumGoerliChainID || chainID == ArbitrumSepoliaChainID || chainID == ArbitrumOneChainID | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters