Skip to content

Commit a9df0ab

Browse files
committed
refactor(gateway): start the foreignDisputeID from 1
1 parent f22d90e commit a9df0ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contracts/src/gateway/BaseForeignGateway.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import "./interfaces/IHomeGateway.sol";
99
import "./interfaces/IForeignGateway.sol";
1010

1111
abstract contract BaseForeignGateway is IL1Bridge, IForeignGateway {
12-
uint256 internal localDisputeID;
12+
// @dev Note the disputeID needs to start from one as
13+
// the KlerosV1 proxy governor depends on this implementation.
14+
uint256 internal localDisputeID = 1;
1315

1416
// For now this is just a constant, but we'd probably need to
1517
// implement the same arbitrationCost calculation code we'll have

0 commit comments

Comments
 (0)