Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit cc26d74

Browse files
authored
Merge pull request #6169 from trufflesuite/ganache-and-node-forward
Update Ganache to 7.9.1; turn off Node 14 and turn on Node 20 (and fix a bad type)
2 parents e10de93 + 2882277 commit cc26d74

File tree

39 files changed

+779
-994
lines changed

39 files changed

+779
-994
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
platform: [ubuntu-latest]
35-
node-version: [14.x, 16.x, 18.x]
35+
node-version: [16.x, 18.x, 20.x]
3636
env: [GETH=true, PACKAGES=true, INTEGRATION=true]
3737
runs-on: ${{ matrix.platform }}
3838

packages/artifactor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@types/node": "~12.12.0",
3434
"chai": "^4.2.0",
3535
"debug": "^4.3.1",
36-
"ganache": "7.9.0",
36+
"ganache": "7.9.1",
3737
"mocha": "10.1.0",
3838
"require-nocache": "^1.0.0",
3939
"sinon": "^9.0.2",

packages/compile-solidity/src/shims.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const formatLinkReferences = (
1010
*/
1111
linkReferences: {
1212
[sourcePath: string]: {
13-
[libraryName: string]: Array<{ start: 0; length: 20 }>;
13+
[libraryName: string]: Array<{ start: number; length: 20 }>;
1414
};
1515
}
1616
): Common.LinkReference[] => {

packages/contract-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"bignumber.js": "^7.2.1",
2828
"chai": "^4.2.0",
2929
"debug": "^4.3.1",
30-
"ganache": "7.9.0",
30+
"ganache": "7.9.1",
3131
"mocha": "10.1.0",
3232
"sinon": "^9.0.2",
3333
"web3": "1.10.0",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"del": "^2.2.0",
6666
"ethereum-cryptography": "1.1.2",
6767
"fs-extra": "^9.1.0",
68-
"ganache": "7.9.0",
68+
"ganache": "7.9.1",
6969
"get-port": "^5.1.1",
7070
"get-random-values": "^1.2.2",
7171
"glob": "^7.1.6",

packages/dashboard-hardhat-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
"@types/mocha": "^5.2.6",
4444
"@types/node": "^18.14.1",
4545
"chai": "^4.2.0",
46-
"hardhat": "^2.0.0",
46+
"hardhat": "^2.17.1",
4747
"mocha": "10.1.0",
4848
"mocha-suppress-logs": "^0.3.1",
4949
"ts-node": "^8.1.0",
5050
"typescript": "^4.9.5"
5151
},
5252
"peerDependencies": {
53-
"hardhat": "^2.0.0"
53+
"hardhat": "^2.17.1"
5454
},
5555
"dependencies": {
5656
"@truffle/config": "^1.3.59",

packages/dashboard-message-bus-e2e-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"test": "test"
2424
},
2525
"devDependencies": {
26-
"@ganache/ethereum": "^0.1.5",
2726
"@truffle/dashboard": "^0.4.2",
2827
"@truffle/dashboard-message-bus": "^0.1.11",
2928
"@truffle/dashboard-message-bus-client": "^0.1.11",
@@ -33,6 +32,7 @@
3332
"@types/node": "~12.12.0",
3433
"@types/web3": "1.0.20",
3534
"ethers": "^5.6.2",
35+
"ganache": "7.9.1",
3636
"jest": "29.1.2",
3737
"ts-jest": "29.0.3"
3838
}

packages/dashboard-message-bus-e2e-test/test/DashboardServer.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe("DashboardServer", () => {
1919
let clientOptions: DashboardMessageBusClientOptions;
2020

2121
beforeAll(async () => {
22-
ganacheProvider = Ganache.provider<"ethereum">({
22+
ganacheProvider = Ganache.provider({
2323
logging: { quiet: true }
2424
});
2525
});

packages/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"debug": "^4.3.2",
5353
"ethers": "^5.6.9",
5454
"express": "^4.17.1",
55-
"ganache": "7.9.0",
55+
"ganache": "7.9.1",
5656
"get-port": "^5.1.1",
5757
"highlightjs-solidity": "^2.0.6",
5858
"idb": "^7.1.1",

packages/db/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@types/web3": "1.0.20",
7272
"change-case": "3.0.2",
7373
"fast-check": "3.1.1",
74-
"ganache": "7.9.0",
74+
"ganache": "7.9.1",
7575
"hkts": "^0.3.1",
7676
"jest": "29.1.2",
7777
"madge": "^5.0.1",

0 commit comments

Comments
 (0)