Skip to content

Commit

Permalink
Merge pull request matter-labs#3 from zkLinkProtocol/add-linea-estima…
Browse files Browse the repository at this point in the history
…te-gas

fix: wrong rust codes
  • Loading branch information
zkcarter authored Mar 7, 2024
2 parents d072302 + a372c8a commit d35349b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/zksync_core/src/eth_sender/eth_tx_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ impl EthTxManager {
time_in_mempool: u32,
current_block: L1BlockNumber,
) -> Result<H256, ETHSenderError> {
const LINEA_TEST_CHAIN_ID: L1ChainId = L1ChainId::from(59140);
const LINEA_MAINNET_CHAIN_ID: L1ChainId = L1ChainId::from(59144);
const LINEA_TEST_CHAIN_ID: L1ChainId = L1ChainId(59140);
const LINEA_MAINNET_CHAIN_ID: L1ChainId = L1ChainId(59144);
let current_gate_way_chain_id = self.ethereum_gateway.chain_id();
let (base_fee_per_gas, priority_fee_per_gas) = if current_gate_way_chain_id
== LINEA_TEST_CHAIN_ID
Expand Down

0 comments on commit d35349b

Please sign in to comment.