Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crates/l2/contracts/src/l1/CommonBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ contract CommonBridge is
address public NATIVE_TOKEN_L1;

/// @dev Index pointing to the first unprocessed privileged transaction in the queue.
uint256 private pendingPrivilegedTxIndex = 0;
uint256 private pendingPrivilegedTxIndex;

modifier onlyOnChainProposer() {
require(
Expand Down Expand Up @@ -124,6 +124,7 @@ contract CommonBridge is

lastFetchedL1Block = block.number;
transactionId = 0;
pendingPrivilegedTxIndex = 0;

PRIVILEGED_TX_MAX_WAIT_BEFORE_INCLUSION = inclusionMaxWait;

Expand Down
6 changes: 3 additions & 3 deletions crates/l2/sdk/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ pub use ethrex_sdk_contract_utils::*;

use calldata::from_hex_string_to_h256_array;

// 0x79d6af40f7c9145b0741639ea969c13d5faa3cc6
// 0xcecd5910a4404ccf2718feb58dac13e975a862a2
pub const DEFAULT_BRIDGE_ADDRESS: Address = H160([
0x79, 0xd6, 0xaf, 0x40, 0xf7, 0xc9, 0x14, 0x5b, 0x07, 0x41, 0x63, 0x9e, 0xa9, 0x69, 0xc1, 0x3d,
0x5f, 0xaa, 0x3c, 0xc6,
0xce, 0xcd, 0x59, 0x10, 0xa4, 0x40, 0x4c, 0xcf, 0x27, 0x18, 0xfe, 0xb5, 0x8d, 0xac, 0x13, 0xe9,
0x75, 0xa8, 0x62, 0xa2,
]);

// 0x000000000000000000000000000000000000ffff
Expand Down