Skip to content

Commit

Permalink
refactor(gateway): start the foreignDisputeID from 1
Browse files Browse the repository at this point in the history
  • Loading branch information
shalzz committed Jan 14, 2022
1 parent f22d90e commit a9df0ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/src/gateway/BaseForeignGateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import "./interfaces/IHomeGateway.sol";
import "./interfaces/IForeignGateway.sol";

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

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

0 comments on commit a9df0ab

Please sign in to comment.