Skip to content

Commit 394458d

Browse files
pcarranzavtmigone
andauthored
fix: apply suggestions from code review
Co-authored-by: Tomás Migone <[email protected]>
1 parent 1f32176 commit 394458d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

contracts/gateway/ICallhookReceiver.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* @title Interface for contracts that can receive callhooks through the Arbitrum GRT bridge
5-
* @dev Any contract that can receive a callhook on L2, send through the bridge from L1, must
5+
* @dev Any contract that can receive a callhook on L2, sent through the bridge from L1, must
66
* be whitelisted by the governor, but also implement this interface that contains
77
* the function that will actually be called by the L2GraphTokenGateway.
88
*/

contracts/l2/gateway/L2GraphTokenGateway.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ contract L2GraphTokenGateway is GraphTokenGateway, L2ArbitrumMessenger, Reentran
241241
bytes memory gatewayData;
242242
(gatewayData, callhookData) = abi.decode(_data, (bytes, bytes));
243243
}
244-
// Callhooks shouldn't revert, but if they do:
245-
// we revert, so that the retryable ticket can be re-attempted
246244
ICallhookReceiver(_to).onTokenTransfer(_from, _amount, callhookData);
247245
}
248246

0 commit comments

Comments
 (0)