Skip to content

Commit 34f6a65

Browse files
committed
Merge branch 'dev' into feat/rng-fallback2
2 parents 937fb97 + 41e8998 commit 34f6a65

File tree

19 files changed

+110
-22
lines changed

19 files changed

+110
-22
lines changed

contracts/.solcover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const shell = require("shelljs");
77
module.exports = {
88
istanbulReporter: ["lcov"],
99
configureYulOptimizer: true,
10+
irMinimum: true,
1011
onCompileComplete: async function (_config) {
1112
await run("typechain");
1213
},

contracts/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Common Changelog](https://common-changelog.org/).
1010

1111
- Set the Hardhat Solidity version to v0.8.30 and enable the IR pipeline ([#2069](https://github.com/kleros/kleros-v2/issues/2069))
1212
- Set the Foundry Solidity version to v0.8.30 and enable the IR pipeline ([#2073](https://github.com/kleros/kleros-v2/issues/2073))
13+
- Widen the allowed solc version to any v0.8.x for the interfaces only ([#2083](https://github.com/kleros/kleros-v2/issues/2083))
1314
- Bump `hardhat` to v2.26.2 ([#2069](https://github.com/kleros/kleros-v2/issues/2069))
1415
- Bump `@kleros/vea-contracts` to v0.7.0 ([#2073](https://github.com/kleros/kleros-v2/issues/2073))
1516

contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config: HardhatUserConfig = {
2828
{
2929
version: "0.8.30",
3030
settings: {
31-
viaIR: true,
31+
viaIR: process.env.VIA_IR !== "false", // Defaults to true
3232
optimizer: {
3333
enabled: true,
3434
runs: 10000,

contracts/scripts/coverage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ fi
2121
# Generate the Hardhat coverage report
2222
yarn clean
2323
echo "Building contracts with Hardhat..."
24+
export VIA_IR=false
2425
yarn build
2526
echo "Running Hardhat coverage..."
2627
yarn hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --show-stack-traces --testfiles "test/**/*.ts"

contracts/src/arbitration/interfaces/IArbitrableV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
22

3-
pragma solidity ^0.8.24;
3+
pragma solidity >=0.8.0 <0.9.0;
44

55
import "./IArbitratorV2.sol";
66

contracts/src/arbitration/interfaces/IArbitratorV2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
22

3-
pragma solidity ^0.8.24;
3+
pragma solidity >=0.8.0 <0.9.0;
44

55
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
66
import "./IArbitrableV2.sol";

contracts/src/arbitration/interfaces/IDisputeKit.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
22

3-
pragma solidity ^0.8.24;
3+
pragma solidity >=0.8.0 <0.9.0;
44

55
import "./IArbitratorV2.sol";
66

contracts/src/arbitration/interfaces/IDisputeTemplateRegistry.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
22

3-
pragma solidity ^0.8.24;
3+
pragma solidity >=0.8.0 <0.9.0;
44

55
/// @title IDisputeTemplate
66
/// @notice Dispute Template interface.

contracts/src/arbitration/interfaces/IEvidence.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
22

3-
pragma solidity ^0.8.24;
3+
pragma solidity >=0.8.0 <0.9.0;
44

55
/// @title IEvidence
66
interface IEvidence {

contracts/src/arbitration/interfaces/ISortitionModule.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity ^0.8.24;
2+
3+
pragma solidity >=0.8.0 <0.9.0;
34

45
import "../../libraries/Constants.sol";
56

0 commit comments

Comments
 (0)