Skip to content

Commit fee1e8a

Browse files
committed
Merge remote-tracking branch 'origin/audit-zkstack-usdc' into pxrl/deployLens
2 parents 9a9d5b0 + 9bbfa05 commit fee1e8a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

contracts/chain-adapters/ZkStack_Adapter.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ contract ZkStack_Adapter is AdapterInterface, CircleCCTPAdapter {
123123
function relayMessage(address target, bytes memory message) external payable override {
124124
uint256 txBaseCost = _computeETHTxCost(L2_GAS_LIMIT);
125125

126-
// Returns the hash of the requested L2 transaction. This hash can be used to follow the transaction status.
127-
bytes32 canonicalTxHash = BRIDGE_HUB.requestL2TransactionDirect{ value: txBaseCost }(
126+
BRIDGE_HUB.requestL2TransactionDirect{ value: txBaseCost }(
128127
BridgeHubInterface.L2TransactionRequestDirect({
129128
chainId: CHAIN_ID,
130129
mintValue: txBaseCost,

contracts/chain-adapters/ZkStack_CustomGasToken_Adapter.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ contract ZkStack_CustomGasToken_Adapter is AdapterInterface, CircleCCTPAdapter {
148148
uint256 txBaseCost = _pullCustomGas(L2_GAS_LIMIT);
149149
IERC20(CUSTOM_GAS_TOKEN).forceApprove(BRIDGE_HUB.sharedBridge(), txBaseCost);
150150

151-
// Returns the hash of the requested L2 transaction. This hash can be used to follow the transaction status.
152-
bytes32 canonicalTxHash = BRIDGE_HUB.requestL2TransactionDirect(
151+
BRIDGE_HUB.requestL2TransactionDirect(
153152
BridgeHubInterface.L2TransactionRequestDirect({
154153
chainId: CHAIN_ID,
155154
mintValue: txBaseCost,

0 commit comments

Comments
 (0)