@@ -9,7 +9,7 @@ import {ReentrancyGuardTransient} from "@openzeppelin/contracts/utils/Reentrancy
99/// address on both chains. This is because it is designed so that each rollup has its own independent bridge contract,
1010/// and they may furthermore decide to deploy a new version of the bridge in the future.
1111contract ETHBridge is IETHBridge , ReentrancyGuardTransient {
12- mapping (bytes32 id = > bool claimed ) private _claimed ;
12+ mapping (bytes32 id = > bool processed ) private _processed ;
1313
1414 /// Incremental nonce to generate unique deposit IDs.
1515 uint256 private _globalDepositNonce;
@@ -36,8 +36,8 @@ contract ETHBridge is IETHBridge, ReentrancyGuardTransient {
3636 }
3737
3838 /// @inheritdoc IETHBridge
39- function claimed (bytes32 id ) public view returns (bool ) {
40- return _claimed [id];
39+ function processed (bytes32 id ) public view returns (bool ) {
40+ return _processed [id];
4141 }
4242
4343 /// @inheritdoc IETHBridge
@@ -88,11 +88,11 @@ contract ETHBridge is IETHBridge, ReentrancyGuardTransient {
8888 bytes memory proof
8989 ) internal returns (bytes32 id ) {
9090 id = _generateId (ethDeposit);
91- require (! claimed (id), AlreadyClaimed ());
91+ require (! processed (id), AlreadyClaimed ());
9292
9393 signalService.verifySignal (height, trustedCommitmentPublisher, counterpart, id, proof);
9494
95- _claimed [id] = true ;
95+ _processed [id] = true ;
9696 _sendETH (to, ethDeposit.amount, data);
9797 }
9898
0 commit comments