Skip to content

Commit 6e535cc

Browse files
committed
chore: contract dependencies update, bumped node to v20, solidity to v0.8.28
1 parent 358a621 commit 6e535cc

File tree

87 files changed

+2032
-1586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2032
-1586
lines changed

.yarn/releases/yarn-4.8.1.cjs

Lines changed: 0 additions & 935 deletions
This file was deleted.

.yarn/releases/yarn-4.9.2.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ logFilters:
1212

1313
nodeLinker: node-modules
1414

15-
yarnPath: .yarn/releases/yarn-4.8.1.cjs
15+
yarnPath: .yarn/releases/yarn-4.9.2.cjs

contracts/hardhat.config.ts

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,39 @@ dotenv.config();
2424

2525
const config: HardhatUserConfig = {
2626
solidity: {
27-
version: "0.8.24",
28-
settings: {
29-
// viaIR: true,
30-
optimizer: {
31-
enabled: true,
32-
runs: 100,
27+
compilers: [
28+
{
29+
version: "0.8.28",
30+
settings: {
31+
// viaIR: true,
32+
optimizer: {
33+
enabled: true,
34+
runs: 100,
35+
},
36+
outputSelection: {
37+
"*": {
38+
"*": ["storageLayout"],
39+
},
40+
},
41+
},
3342
},
34-
outputSelection: {
35-
"*": {
36-
"*": ["storageLayout"],
43+
{
44+
// For Vea
45+
version: "0.8.24",
46+
settings: {
47+
// viaIR: true,
48+
optimizer: {
49+
enabled: true,
50+
runs: 100,
51+
},
52+
outputSelection: {
53+
"*": {
54+
"*": ["storageLayout"],
55+
},
56+
},
3757
},
3858
},
39-
},
59+
],
4060
},
4161
paths: {
4262
sources: "./src",

contracts/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"node": ">=16.0.0"
4848
},
4949
"volta": {
50-
"node": "18.20.6"
50+
"node": "20.18.3"
5151
},
5252
"publishConfig": {
5353
"access": "public",
@@ -106,15 +106,15 @@
106106
"build:types": "tsc --project tsconfig-release.json --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap"
107107
},
108108
"devDependencies": {
109-
"@defi-wonderland/natspec-smells": "^1.1.5",
109+
"@defi-wonderland/natspec-smells": "^1.1.6",
110110
"@kleros/kleros-v2-eslint-config": "workspace:^",
111111
"@kleros/kleros-v2-prettier-config": "workspace:^",
112112
"@kleros/kleros-v2-tsconfig": "workspace:^",
113113
"@logtail/pino": "^0.5.0",
114-
"@nomicfoundation/hardhat-chai-matchers": "^2.0.8",
115-
"@nomicfoundation/hardhat-ethers": "^3.0.8",
116-
"@nomiclabs/hardhat-solhint": "^4.0.1",
117-
"@openzeppelin/upgrades-core": "^1.42.2",
114+
"@nomicfoundation/hardhat-chai-matchers": "^2.1.0",
115+
"@nomicfoundation/hardhat-ethers": "^3.1.0",
116+
"@nomiclabs/hardhat-solhint": "^4.1.0",
117+
"@openzeppelin/upgrades-core": "^1.44.1",
118118
"@typechain/ethers-v6": "^0.5.1",
119119
"@typechain/hardhat": "^9.1.0",
120120
"@types/chai": "^4.3.20",
@@ -124,21 +124,21 @@
124124
"@wagmi/cli": "^2.2.0",
125125
"abitype": "^0.10.3",
126126
"chai": "^4.5.0",
127-
"dotenv": "^16.4.5",
127+
"dotenv": "^16.6.1",
128128
"eslint": "^9.15.0",
129129
"ethereumjs-util": "^7.1.5",
130-
"ethers": "^6.13.5",
130+
"ethers": "^6.15.0",
131131
"gluegun": "^5.2.0",
132132
"graphql": "^16.9.0",
133133
"graphql-request": "^7.1.2",
134-
"hardhat": "2.22.19",
134+
"hardhat": "2.26.0",
135135
"hardhat-contract-sizer": "^2.10.0",
136-
"hardhat-deploy": "^1.0.1",
136+
"hardhat-deploy": "^1.0.4",
137137
"hardhat-deploy-ethers": "^0.4.2",
138138
"hardhat-deploy-tenderly": "^0.2.1",
139139
"hardhat-docgen": "^1.3.0",
140-
"hardhat-gas-reporter": "^2.2.2",
141-
"hardhat-tracer": "^3.1.0",
140+
"hardhat-gas-reporter": "^2.3.0",
141+
"hardhat-tracer": "^3.2.1",
142142
"hardhat-watcher": "^2.5.0",
143143
"pino": "^8.21.0",
144144
"pino-pretty": "^10.3.1",
@@ -147,16 +147,16 @@
147147
"shelljs": "^0.8.5",
148148
"sinon": "^20.0.0",
149149
"solhint-plugin-prettier": "^0.1.0",
150-
"solidity-coverage": "^0.8.13",
150+
"solidity-coverage": "^0.8.16",
151151
"ts-node": "^10.9.2",
152152
"typechain": "^8.3.2",
153153
"typescript": "^5.6.3"
154154
},
155155
"dependencies": {
156-
"@chainlink/contracts": "^1.3.0",
156+
"@chainlink/contracts": "^1.4.0",
157157
"@kleros/vea-contracts": "^0.6.0",
158-
"@openzeppelin/contracts": "^5.2.0",
159-
"@shutter-network/shutter-sdk": "^0.0.1",
158+
"@openzeppelin/contracts": "^5.4.0",
159+
"@shutter-network/shutter-sdk": "^0.0.2",
160160
"isomorphic-fetch": "^3.0.0",
161161
"viem": "^2.24.1"
162162
}

contracts/src/arbitration/DisputeTemplateRegistry.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity 0.8.24;
2+
pragma solidity ^0.8.24;
33

44
import "../proxy/UUPSProxiable.sol";
55
import "../proxy/Initializable.sol";

contracts/src/arbitration/KlerosCore.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.24;
44

55
import {KlerosCoreBase, IDisputeKit, ISortitionModule, IERC20} from "./KlerosCoreBase.sol";
66

contracts/src/arbitration/KlerosCoreBase.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.24;
44

55
import {IArbitrableV2, IArbitratorV2} from "./interfaces/IArbitratorV2.sol";
66
import {IDisputeKit} from "./interfaces/IDisputeKit.sol";

contracts/src/arbitration/KlerosCoreNeo.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.24;
44

55
import {KlerosCoreBase, IDisputeKit, ISortitionModule, IERC20, OnError, StakingResult} from "./KlerosCoreBase.sol";
66
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

contracts/src/arbitration/KlerosGovernor.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.24;
44

55
import {IArbitrableV2, IArbitratorV2} from "./interfaces/IArbitrableV2.sol";
66
import "./interfaces/IDisputeTemplateRegistry.sol";

0 commit comments

Comments
 (0)