Skip to content

Commit

Permalink
chore: add further op chains to is_optimism() + mark mode as supports…
Browse files Browse the repository at this point in the history
… shanghai
  • Loading branch information
zilayo committed Feb 3, 2024
1 parent 8799bbb commit 2d5a5f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,14 @@ impl Chain {
| NamedChain::Base
| NamedChain::BaseGoerli
| NamedChain::BaseSepolia
| NamedChain::Mode
| NamedChain::ModeSepolia
| NamedChain::Pgn
| NamedChain::PgnSepolia
| NamedChain::Zora
| NamedChain::ZoraGoerli
| NamedChain::ZoraSepolia
| NamedChain::BlastSepolia
)
)
}
Expand Down
2 changes: 2 additions & 0 deletions src/named.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ impl NamedChain {
| C::Gnosis
| C::Chiado
| C::ZoraSepolia
| C::Mode
| C::ModeSepolia
| C::PolygonMumbai
| C::Polygon => true,
_ => false,
Expand Down

0 comments on commit 2d5a5f5

Please sign in to comment.