Skip to content

Commit

Permalink
remove all calls to the shared bridge
Browse files Browse the repository at this point in the history
Signed-off-by: bennett <[email protected]>
  • Loading branch information
bmzig committed Nov 13, 2024
1 parent 911d72f commit 3d260d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/chain-adapters/ZkStack_Adapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ contract ZkStack_Adapter is AdapterInterface {
l2GasLimit: L2_GAS_LIMIT,
l2GasPerPubdataByteLimit: L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT,
refundRecipient: L2_REFUND_ADDRESS,
secondBridgeAddress: BRIDGE_HUB.sharedBridge(),
secondBridgeAddress: SHARED_BRIDGE,
secondBridgeValue: 0,
secondBridgeCalldata: _secondBridgeCalldata(to, l1Token, amount)
})
Expand Down
4 changes: 2 additions & 2 deletions contracts/chain-adapters/ZkStack_CustomGasToken_Adapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ contract ZkStack_CustomGasToken_Adapter is AdapterInterface {
l2GasLimit: L2_GAS_LIMIT,
l2GasPerPubdataByteLimit: L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT,
refundRecipient: L2_REFUND_ADDRESS,
secondBridgeAddress: BRIDGE_HUB.sharedBridge(),
secondBridgeAddress: SHARED_BRIDGE,
secondBridgeValue: amount,
secondBridgeCalldata: _secondBridgeCalldata(to, address(1), amount)
})
Expand Down Expand Up @@ -195,7 +195,7 @@ contract ZkStack_CustomGasToken_Adapter is AdapterInterface {
l2GasLimit: L2_GAS_LIMIT,
l2GasPerPubdataByteLimit: L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT,
refundRecipient: L2_REFUND_ADDRESS,
secondBridgeAddress: BRIDGE_HUB.sharedBridge(),
secondBridgeAddress: SHARED_BRIDGE,
secondBridgeValue: 0,
secondBridgeCalldata: _secondBridgeCalldata(to, l1Token, amount)
})
Expand Down

0 comments on commit 3d260d7

Please sign in to comment.