Skip to content

Commit d8e6f2a

Browse files
committed
fix: making the Constants library members internal so it doesn't produce its own ABI
1 parent 16d8dc6 commit d8e6f2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contracts/src/libraries/Constants.sol

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
77
/// @title Constants
88
library Constants {
99
// Courts
10-
uint96 public constant FORKING_COURT = 0; // Index of the forking court.
11-
uint96 public constant GENERAL_COURT = 1; // Index of the default (general) court.
10+
uint96 internal constant FORKING_COURT = 0; // Index of the forking court.
11+
uint96 internal constant GENERAL_COURT = 1; // Index of the default (general) court.
1212

1313
// Dispute Kits
14-
uint256 public constant NULL_DISPUTE_KIT = 0; // Null pattern to indicate a top-level DK which has no parent.
15-
uint256 public constant DISPUTE_KIT_CLASSIC = 1; // Index of the default DK. 0 index is skipped.
14+
uint256 internal constant NULL_DISPUTE_KIT = 0; // Null pattern to indicate a top-level DK which has no parent.
15+
uint256 internal constant DISPUTE_KIT_CLASSIC = 1; // Index of the default DK. 0 index is skipped.
1616

1717
// Defaults
18-
uint256 public constant DEFAULT_NB_OF_JURORS = 3; // The default number of jurors in a dispute.
19-
IERC20 public constant NATIVE_CURRENCY = IERC20(address(0)); // The native currency, such as ETH on Arbitrum, Optimism and Ethereum L1.
18+
uint256 internal constant DEFAULT_NB_OF_JURORS = 3; // The default number of jurors in a dispute.
19+
IERC20 internal constant NATIVE_CURRENCY = IERC20(address(0)); // The native currency, such as ETH on Arbitrum, Optimism and Ethereum L1.
2020
}

0 commit comments

Comments
 (0)