Skip to content

Commit

Permalink
Fix Recent Upgrades (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith authored Oct 1, 2024
1 parent 643f2f1 commit 1bd44e0
Show file tree
Hide file tree
Showing 3 changed files with 613 additions and 476 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@typescript-eslint/parser": "^8.0.0",
"dotenv": "^16.4.5",
"eslint": "^9.7.0",
"ethers": "^6.13.1",
"jest": "^29.7.0",
"ethers": "^6.13.3",
"jest": "^v30.0.0-alpha.6",
"opensea-js": "^7.1.12",
"prettier": "^3.3.3",
"ts-jest": "^29.2.3",
Expand All @@ -55,10 +55,6 @@
"@walletconnect/web3wallet": "^1.13.0",
"elliptic": "^6.5.6",
"near-api-js": "^5.0.0",
"viem": "^2.21.6"
},
"resolutions": {
"glob": "^11.0.0",
"base-x": "^3.0.0"
"viem": "^2.21.16"
}
}
2 changes: 2 additions & 0 deletions tests/unit/mpcContract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ describe("mpcContract", () => {
],
};
const result = await mpc.encodeSignatureRequestTx(signArgs);
// The deposit is non-deterministic!
expected.actions[0]!.params.deposit = result.actions[0]!.params.deposit;
expect(result).toEqual(expected);
// Set Gas:
expected.actions[0]!.params.gas = "1";
Expand Down
Loading

0 comments on commit 1bd44e0

Please sign in to comment.