Skip to content

Commit

Permalink
Merge pull request #16 from morph-l2/testnet_chain_id
Browse files Browse the repository at this point in the history
set holesky chain id
  • Loading branch information
anylots authored Aug 6, 2024
2 parents fbc567e + aa0f7b2 commit 8153b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eth-types/src/forks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub enum HardforkId {
/// Morph devnet and qanet chain id
pub const MORPH_DEVNET_CHAIN_ID: u64 = 53077;
/// Morph testnet chain id
pub const MORPH_TESTNET_CHAIN_ID: u64 = 2710;
pub const MORPH_TESTNET_CHAIN_ID: u64 = 2810;
/// Morph mainnet chain id
pub const MORPH_MAINNET_CHAIN_ID: u64 = 2818;

Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/util/common_gadget/curie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<F: Field> CurieGadget<F> {
);

// TODO: refactor
// is_morph_chain means (chain_id - 2818) * (chain_id - 2710) * (chain_id - 53077) == 0
// is_morph_chain means (chain_id - 2818) * (chain_id - 2810) * (chain_id - 53077) == 0
// let is_morph_chain = IsZeroGadget::construct(
// cb,
// (chain_id.expr() - MORPH_MAINNET_CHAIN_ID.expr())
Expand Down

0 comments on commit 8153b1e

Please sign in to comment.