Skip to content

Commit 509594e

Browse files
committed
test: fixes and hardhat upgrade
1 parent 00fe0cb commit 509594e

File tree

4 files changed

+54
-54
lines changed

4 files changed

+54
-54
lines changed

contracts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
"ethers": "^6.13.5",
9393
"graphql": "^16.9.0",
9494
"graphql-request": "^7.1.2",
95-
"hardhat": "2.22.18",
95+
"hardhat": "2.22.19",
9696
"hardhat-contract-sizer": "^2.10.0",
97-
"hardhat-deploy": "^0.14.0",
97+
"hardhat-deploy": "^1.0.1",
9898
"hardhat-deploy-ethers": "^0.4.2",
9999
"hardhat-deploy-tenderly": "^0.2.1",
100100
"hardhat-docgen": "^1.3.0",

contracts/test/arbitration/staking-neo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ describe("Staking", async () => {
155155
const arbitrationCost = ETH(0.5);
156156
expect(await resolver.createDisputeForTemplate(extraData, "", "", 2, { value: arbitrationCost }))
157157
.to.emit(core, "DisputeCreation")
158-
.withArgs(1, resolver.target);
158+
.withArgs(0, resolver.target);
159159
});
160160
});
161161

contracts/test/integration/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe("Integration tests", async () => {
150150
},
151151
{ value: arbitrationCost }
152152
);
153-
expect(tx2).to.emit(homeGateway, "Dispute");
153+
expect(tx2).to.emit(homeGateway, "DisputeRequest");
154154
await tx2.wait();
155155

156156
await network.provider.send("evm_increaseTime", [2000]); // Wait for minStakingTime

yarn.lock

+50-50
Original file line numberDiff line numberDiff line change
@@ -5533,9 +5533,9 @@ __metadata:
55335533
ethers: "npm:^6.13.5"
55345534
graphql: "npm:^16.9.0"
55355535
graphql-request: "npm:^7.1.2"
5536-
hardhat: "npm:2.22.18"
5536+
hardhat: "npm:2.22.19"
55375537
hardhat-contract-sizer: "npm:^2.10.0"
5538-
hardhat-deploy: "npm:^0.14.0"
5538+
hardhat-deploy: "npm:^1.0.1"
55395539
hardhat-deploy-ethers: "npm:^0.4.2"
55405540
hardhat-deploy-tenderly: "npm:^0.2.1"
55415541
hardhat-docgen: "npm:^1.3.0"
@@ -6947,67 +6947,67 @@ __metadata:
69476947
languageName: node
69486948
linkType: hard
69496949

6950-
"@nomicfoundation/edr-darwin-arm64@npm:0.7.0":
6951-
version: 0.7.0
6952-
resolution: "@nomicfoundation/edr-darwin-arm64@npm:0.7.0"
6953-
checksum: 10/be9ff1c9ece6875486c3eabd9cdddd90bbdbed9cecc376efc9aec0c7ce54fcb83b33adf4bab26fa134867a538cc26137c027c2aa2b7adf242ef0ef07fe240c56
6950+
"@nomicfoundation/edr-darwin-arm64@npm:0.8.0":
6951+
version: 0.8.0
6952+
resolution: "@nomicfoundation/edr-darwin-arm64@npm:0.8.0"
6953+
checksum: 10/1c5f1047a34642e02d511b23cb2a5fa28dcf44fa7dfcc5ce99c7796a04526b58f81c76a2fdcfad3bf16fe3f4baf1c6da1288d872fede7476d5037c51ceeaac86
69546954
languageName: node
69556955
linkType: hard
69566956

6957-
"@nomicfoundation/edr-darwin-x64@npm:0.7.0":
6958-
version: 0.7.0
6959-
resolution: "@nomicfoundation/edr-darwin-x64@npm:0.7.0"
6960-
checksum: 10/5e89e2c51f470e0a88f089098c8771b55466c082b7d84148b114541f81ff182bab3383623170bf329a78ea6274571993fea20ebfe080f898e775f3457eda358f
6957+
"@nomicfoundation/edr-darwin-x64@npm:0.8.0":
6958+
version: 0.8.0
6959+
resolution: "@nomicfoundation/edr-darwin-x64@npm:0.8.0"
6960+
checksum: 10/2fde2d513ddc9fb6452fb9ec50b1f6ae0f1a9f63be31e2752738c813c0c7ecdc869bd5ddae66880814453ec8623f401aa7da21db45701d3542f3e8389a113797
69616961
languageName: node
69626962
linkType: hard
69636963

6964-
"@nomicfoundation/edr-linux-arm64-gnu@npm:0.7.0":
6965-
version: 0.7.0
6966-
resolution: "@nomicfoundation/edr-linux-arm64-gnu@npm:0.7.0"
6967-
checksum: 10/7d77d116bc1b668ec83437795ae17150e70edfad700bd7335f7e7d072731649024c28cc7aca5799480cfef42b7ae52b3e1522051a04ce4f8924c716714176277
6964+
"@nomicfoundation/edr-linux-arm64-gnu@npm:0.8.0":
6965+
version: 0.8.0
6966+
resolution: "@nomicfoundation/edr-linux-arm64-gnu@npm:0.8.0"
6967+
checksum: 10/795b05a722a3382d3d233b9deefe7e98e02fa99f02ee1b058d90f3cf47479a9aab3260677fa9b276e40e5229a2f4153d787b8bbf1600b3fa2201eecf9dbc0716
69686968
languageName: node
69696969
linkType: hard
69706970

6971-
"@nomicfoundation/edr-linux-arm64-musl@npm:0.7.0":
6972-
version: 0.7.0
6973-
resolution: "@nomicfoundation/edr-linux-arm64-musl@npm:0.7.0"
6974-
checksum: 10/de5c8a2a713eb9a6792a79c8b8ebb6f8de38018ab5bfc6bb35cd435a89c62e77bab550e334eadda9493b4134481d39f11208e3b480b86a0b4b703c0b3d05561a
6971+
"@nomicfoundation/edr-linux-arm64-musl@npm:0.8.0":
6972+
version: 0.8.0
6973+
resolution: "@nomicfoundation/edr-linux-arm64-musl@npm:0.8.0"
6974+
checksum: 10/20926c3b7a2682d653717605326937fe76d2b195607d70523493cc552bcc0a6994841371aa094662be1b37311520f01382c6efdaa2d93dfcff8e7196784f067e
69756975
languageName: node
69766976
linkType: hard
69776977

6978-
"@nomicfoundation/edr-linux-x64-gnu@npm:0.7.0":
6979-
version: 0.7.0
6980-
resolution: "@nomicfoundation/edr-linux-x64-gnu@npm:0.7.0"
6981-
checksum: 10/33077f290bbb1e8ce178d50289bb6591c72a18b35b5f31e3e4051a9af6ec10312b21d47ed2d4938a6f64ee5b3e2413c3390fa0f4f5da5fb73dda7eb1c86bc742
6978+
"@nomicfoundation/edr-linux-x64-gnu@npm:0.8.0":
6979+
version: 0.8.0
6980+
resolution: "@nomicfoundation/edr-linux-x64-gnu@npm:0.8.0"
6981+
checksum: 10/1370bb209adebc96ca1be9947c54386760aa899395daa0df0cb4ece762b05bfc35da9b1c4cfce8c53b9a9194281eb36c391438dc30e7fa69d0e22a6d2a79d5e2
69826982
languageName: node
69836983
linkType: hard
69846984

6985-
"@nomicfoundation/edr-linux-x64-musl@npm:0.7.0":
6986-
version: 0.7.0
6987-
resolution: "@nomicfoundation/edr-linux-x64-musl@npm:0.7.0"
6988-
checksum: 10/48784d44e3dd8a7a0d52a0f3f7511f02e5d1d94678a1baa29bf5a1c0973a707c96e09835622b5483ed3698622abd34bf4338ed9f688f01cb8ce55edddf78cdb4
6985+
"@nomicfoundation/edr-linux-x64-musl@npm:0.8.0":
6986+
version: 0.8.0
6987+
resolution: "@nomicfoundation/edr-linux-x64-musl@npm:0.8.0"
6988+
checksum: 10/a39838e25742875e12aac228569beee4dba47d58a8fa8b6430a8835d954db1042e2c213b56940aa365b445f4b60ee8cbbf1121572dfe1f7db157aac43a9b33f0
69896989
languageName: node
69906990
linkType: hard
69916991

6992-
"@nomicfoundation/edr-win32-x64-msvc@npm:0.7.0":
6993-
version: 0.7.0
6994-
resolution: "@nomicfoundation/edr-win32-x64-msvc@npm:0.7.0"
6995-
checksum: 10/517897959478810d168f95274762f1565185026a8a908d289120f97344be33865104c2a07eb7277d5ea992f5db55790f63efe460fea61d1c2ed7879567828f15
6992+
"@nomicfoundation/edr-win32-x64-msvc@npm:0.8.0":
6993+
version: 0.8.0
6994+
resolution: "@nomicfoundation/edr-win32-x64-msvc@npm:0.8.0"
6995+
checksum: 10/cefd00360b5faf08f11db04afe20bd247a33e10af8803f545d437fcab08edeb853d37b01078061417ba4ee941ad0097e19827d73e398b83299e79bb8132860de
69966996
languageName: node
69976997
linkType: hard
69986998

6999-
"@nomicfoundation/edr@npm:^0.7.0":
7000-
version: 0.7.0
7001-
resolution: "@nomicfoundation/edr@npm:0.7.0"
6999+
"@nomicfoundation/edr@npm:^0.8.0":
7000+
version: 0.8.0
7001+
resolution: "@nomicfoundation/edr@npm:0.8.0"
70027002
dependencies:
7003-
"@nomicfoundation/edr-darwin-arm64": "npm:0.7.0"
7004-
"@nomicfoundation/edr-darwin-x64": "npm:0.7.0"
7005-
"@nomicfoundation/edr-linux-arm64-gnu": "npm:0.7.0"
7006-
"@nomicfoundation/edr-linux-arm64-musl": "npm:0.7.0"
7007-
"@nomicfoundation/edr-linux-x64-gnu": "npm:0.7.0"
7008-
"@nomicfoundation/edr-linux-x64-musl": "npm:0.7.0"
7009-
"@nomicfoundation/edr-win32-x64-msvc": "npm:0.7.0"
7010-
checksum: 10/b5c9546152574642b6d401b8da7f2a01cb98edd0da25aa2e7c16434e44b4134c699b50e8415449543701e3b722f5d6c8d8e4d8f699df3f7ebdb4acb907f0a794
7003+
"@nomicfoundation/edr-darwin-arm64": "npm:0.8.0"
7004+
"@nomicfoundation/edr-darwin-x64": "npm:0.8.0"
7005+
"@nomicfoundation/edr-linux-arm64-gnu": "npm:0.8.0"
7006+
"@nomicfoundation/edr-linux-arm64-musl": "npm:0.8.0"
7007+
"@nomicfoundation/edr-linux-x64-gnu": "npm:0.8.0"
7008+
"@nomicfoundation/edr-linux-x64-musl": "npm:0.8.0"
7009+
"@nomicfoundation/edr-win32-x64-msvc": "npm:0.8.0"
7010+
checksum: 10/a721945bd7b9e9dd72d3180a3878a65d5f16ed205c0b6c066ebf58397174da57c329fca18abe5fc77c21af7701a26b0bede5a6f0f9bd0b878d94b7caeb2484db
70117011
languageName: node
70127012
linkType: hard
70137013

@@ -19353,9 +19353,9 @@ __metadata:
1935319353
languageName: node
1935419354
linkType: hard
1935519355

19356-
"hardhat-deploy@npm:^0.14.0":
19357-
version: 0.14.0
19358-
resolution: "hardhat-deploy@npm:0.14.0"
19356+
"hardhat-deploy@npm:^1.0.1":
19357+
version: 1.0.1
19358+
resolution: "hardhat-deploy@npm:1.0.1"
1935919359
dependencies:
1936019360
"@ethersproject/abi": "npm:^5.7.0"
1936119361
"@ethersproject/abstract-signer": "npm:^5.7.0"
@@ -19381,7 +19381,7 @@ __metadata:
1938119381
murmur-128: "npm:^0.2.1"
1938219382
qs: "npm:^6.9.4"
1938319383
zksync-ethers: "npm:^5.0.0"
19384-
checksum: 10/aeb88872b9fe2646a92b9e6a825eaa7a60217ffb73f268390420b7544a78fa4f29e472f1243b5d91bacff9a1376041b2c8d67b87565affe09c4169f59d5a862c
19384+
checksum: 10/4236a23a4993b1f078465e49851fbdc490564ffa5833844ab2a234ff1f5fd713382e402840a2b86a9b635e40ad850124c6d1706230f1f4de2c6fbb1ad00d2b6d
1938519385
languageName: node
1938619386
linkType: hard
1938719387

@@ -19453,13 +19453,13 @@ __metadata:
1945319453
languageName: node
1945419454
linkType: hard
1945519455

19456-
"hardhat@npm:2.22.18":
19457-
version: 2.22.18
19458-
resolution: "hardhat@npm:2.22.18"
19456+
"hardhat@npm:2.22.19":
19457+
version: 2.22.19
19458+
resolution: "hardhat@npm:2.22.19"
1945919459
dependencies:
1946019460
"@ethersproject/abi": "npm:^5.1.2"
1946119461
"@metamask/eth-sig-util": "npm:^4.0.0"
19462-
"@nomicfoundation/edr": "npm:^0.7.0"
19462+
"@nomicfoundation/edr": "npm:^0.8.0"
1946319463
"@nomicfoundation/ethereumjs-common": "npm:4.0.4"
1946419464
"@nomicfoundation/ethereumjs-tx": "npm:5.0.4"
1946519465
"@nomicfoundation/ethereumjs-util": "npm:9.0.4"
@@ -19511,7 +19511,7 @@ __metadata:
1951119511
optional: true
1951219512
bin:
1951319513
hardhat: internal/cli/bootstrap.js
19514-
checksum: 10/521d46b31d15cda4c38b4e1995ba47bd34386bd10aa0554be4e2e7c9c889d25ce57c4018c76eda94168da5bab697ab5ad98b2715a1033247a0414a8853787bdd
19514+
checksum: 10/94783a31ef7e86e9ab514950c2e80ee16e98be2499030b1168678ffa8fca84950edeb1673bdcc833132bd383bafe23bd0e56f72ebc5493a3a8b3c42e90db55fe
1951519515
languageName: node
1951619516
linkType: hard
1951719517

0 commit comments

Comments
 (0)