diff --git a/.changeset/pre.json b/.changeset/pre.json index 2d34ab504..e6b219b9b 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -28,16 +28,25 @@ "@celo/viem-account-ledger": "0.0.1" }, "changesets": [ + "calm-sheep-tie", + "chilled-cycles-smell", "dry-gifts-love", + "dull-windows-travel", "fair-points-beg", "fifty-roses-explain", "gold-pumas-fry", + "good-trees-reply", "hot-pugs-nail", "hungry-cups-juggle", + "little-carpets-argue", "many-cobras-live", "moody-falcons-remain", "polite-pets-push", "rude-parrots-know", - "thirty-pugs-smile" + "smart-berries-accept", + "smart-guests-refuse", + "thirty-pugs-smile", + "twenty-rocks-pull", + "wild-impalas-smoke" ] } diff --git a/.changeset/wild-impalas-smoke.md b/.changeset/wild-impalas-smoke.md new file mode 100644 index 000000000..6dd1fb517 --- /dev/null +++ b/.changeset/wild-impalas-smoke.md @@ -0,0 +1,7 @@ +--- +'@celo/wallet-ledger': patch +'@celo/viem-account-ledger': patch +'@celo/celocli': patch +--- + +Change a dependency to use npm rather than github diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index ba883d871..5de96be9a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 6.0.0-beta.2 + +### Patch Changes + +- [#427](https://github.com/celo-org/developer-tooling/pull/427) [`ee33677`](https://github.com/celo-org/developer-tooling/commit/ee33677287905076daafe39087283fe2434d729e) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Change a dependency to use npm rather than github + +- Updated dependencies [[`ee33677`](https://github.com/celo-org/developer-tooling/commit/ee33677287905076daafe39087283fe2434d729e)]: + - @celo/wallet-ledger@6.0.2-beta.2 + - @celo/wallet-hsm-azure@6.0.2-beta.2 + - @celo/wallet-local@6.0.2-beta.2 + +## 6.0.0-beta.1 + +### Major Changes + +- [#407](https://github.com/celo-org/developer-tooling/pull/407) [`3890220`](https://github.com/celo-org/developer-tooling/commit/389022056be15c0677b37d4cfaf332afcb652e02) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove transfer:gold -- this was an old alias for transfer:celo which has the same functionality + +- [#412](https://github.com/celo-org/developer-tooling/pull/412) [`23d36cc`](https://github.com/celo-org/developer-tooling/commit/23d36cc7f843fdf95a88da0515c65e512d68f400) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove `celocli validator:force-deaffiliate` + + This command was only ever usable pre mainnet launch. The force deaffiliate method it would call is only callable by one of the whitelisted Slasher Contracts. + + To force removal of validator with poor uptime use `celocli validator:downtime-slash` or to sever association with a validator from your group use `celocli validator:deaffiliate` + +- [#407](https://github.com/celo-org/developer-tooling/pull/407) [`3890220`](https://github.com/celo-org/developer-tooling/commit/389022056be15c0677b37d4cfaf332afcb652e02) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Remove account:recover-old + + This was meant to be a temporary command for migrating account from a beta version of Valora to the release version. Please use a previous version of celocli if you need to make this one time recovery. + +### Minor Changes + +- [`76045eb`](https://github.com/celo-org/developer-tooling/commit/76045ebff0df9c1c9fa75121dab4e910c9026976) Thanks [@shazarre](https://github.com/shazarre)! - BLS keys are now optional as being deprecated on L2, validator:register and releasecelo:authorize no longer require them in L2 context + +### Patch Changes + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d), [`76045eb`](https://github.com/celo-org/developer-tooling/commit/76045ebff0df9c1c9fa75121dab4e910c9026976), [`38fe4d0`](https://github.com/celo-org/developer-tooling/commit/38fe4d018d1b9ed5954a17501bdaa59b0aeec2f2)]: + - @celo/wallet-ledger@6.0.2-beta.1 + - @celo/wallet-local@6.0.2-beta.1 + - @celo/contractkit@9.0.0-beta.1 + - @celo/wallet-hsm-azure@6.0.2-beta.1 + ## 6.0.0-beta.0 ### Major Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 38a2b2437..2d1f450bb 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@celo/celocli", "description": "CLI Tool for transacting with the Celo protocol", - "version": "6.0.0-beta.0", + "version": "6.0.0-beta.2", "author": "Celo", "license": "Apache-2.0", "repository": "celo-org/developer-tooling", @@ -22,7 +22,7 @@ "node": ">=16" }, "scripts": { - "clean": "rm tsconfig.tsbuildinfo && yarn run --top-level tsc -b . --clean", + "clean": "rm -f tsconfig.tsbuildinfo && yarn run --top-level tsc -b . --clean", "dev": "yarn build && ts-node ./bin/dev.js", "build": "yarn run --top-level tsc -b .", "docs": "./generate_docs.sh", @@ -41,7 +41,7 @@ "@celo/base": "^7.0.0-beta.0", "@celo/compliance": "~1.0.23", "@celo/connect": "^6.0.3-beta.0", - "@celo/contractkit": "^9.0.0-beta.0", + "@celo/contractkit": "^9.0.0-beta.1", "@celo/cryptographic-utils": "^5.1.1-beta.0", "@celo/explorer": "^5.0.13-beta.0", "@celo/governance": "^5.1.4-beta.0", @@ -49,9 +49,9 @@ "@celo/metadata-claims": "^1.0.0-beta.0", "@celo/phone-utils": "^6.0.4-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-hsm-azure": "^6.0.2-beta.0", - "@celo/wallet-ledger": "^6.0.2-beta.0", - "@celo/wallet-local": "^6.0.2-beta.0", + "@celo/wallet-hsm-azure": "^6.0.2-beta.2", + "@celo/wallet-ledger": "^6.0.2-beta.2", + "@celo/wallet-local": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@mento-protocol/mento-sdk": "^1.0.1", @@ -79,7 +79,7 @@ }, "devDependencies": { "@celo/celo-devchain": "^7.0.0", - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/typescript": "workspace:^", "@types/debug": "^4.1.4", "@types/fs-extra": "^8.0.0", diff --git a/packages/cli/src/commands/account/authorize-l2.test.ts b/packages/cli/src/commands/account/authorize-l2.test.ts index 6e552b38d..b024593d7 100644 --- a/packages/cli/src/commands/account/authorize-l2.test.ts +++ b/packages/cli/src/commands/account/authorize-l2.test.ts @@ -1,7 +1,7 @@ import { testWithAnvilL2 } from '@celo/dev-utils/lib/anvil-test' import { addressToPublicKey } from '@celo/utils/lib/signatureUtils' import Web3 from 'web3' -import { testLocallyWithWeb3Node } from '../../test-utils/cliUtils' +import { stripAnsiCodesFromNestedArray, testLocallyWithWeb3Node } from '../../test-utils/cliUtils' import { PROOF_OF_POSSESSION_SIGNATURE } from '../../test-utils/constants' import Lock from '../lockedgold/lock' import ValidatorRegister from '../validator/register' @@ -11,6 +11,16 @@ import Register from './register' process.env.NO_SYNCCHECK = 'true' testWithAnvilL2('account:authorize cmd', (web3: Web3) => { + let logMock = jest.spyOn(console, 'log') + let errorMock = jest.spyOn(console, 'error') + + beforeEach(() => { + logMock.mockClear().mockImplementation() + errorMock.mockClear().mockImplementation() + }) + + afterEach(() => jest.clearAllMocks()) + test('can authorize vote signer', async () => { const accounts = await web3.eth.getAccounts() const notRegisteredAccount = accounts[0] @@ -32,6 +42,40 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('can authorize attestation signer', async () => { @@ -54,6 +98,40 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('can authorize validator signer before validator is registered', async () => { @@ -76,6 +154,44 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + " ✔ undefined is not a registered Validator ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) + expect(stripAnsiCodesFromNestedArray(errorMock.mock.calls)).toMatchInlineSnapshot(`[]`) }) // TODO figure out how we tackle this failure @@ -126,6 +242,7 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot() }) test('cannot authorize validator signer without BLS after validator is registered', async () => { @@ -167,9 +284,96 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { '--signature', PROOF_OF_POSSESSION_SIGNATURE, ], + web3 ) - ).rejects.toThrow() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Some checks didn't pass!"`) + expect(stripAnsiCodesFromNestedArray(errorMock.mock.calls)).toMatchInlineSnapshot(`[]`) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ Value [10000000000000000000000] is > 0 ", + ], + [ + "All checks passed", + ], + [ + "Running Checks:", + ], + [ + " ✔ Account has at least 10000 CELO ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: lock", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", + ], + [ + " ✔ Signer's account has enough locked celo for registration ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: registerValidator", + ], + [ + "txHash: 0xtxhash", + ], + [ + "SendTransaction: Set encryption key", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + " ✘ undefined is not a registered Validator ", + ], + ] + `) }) test('can force authorize validator signer without BLS after validator is registered', async () => { @@ -213,6 +417,98 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(errorMock.mock.calls)).toMatchInlineSnapshot(`[]`) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ Value [10000000000000000000000] is > 0 ", + ], + [ + "All checks passed", + ], + [ + "Running Checks:", + ], + [ + " ✔ Account has at least 10000 CELO ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: lock", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", + ], + [ + " ✔ Signer's account has enough locked celo for registration ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: registerValidator", + ], + [ + "txHash: 0xtxhash", + ], + [ + "SendTransaction: Set encryption key", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('fails if from is not an account', async () => { @@ -232,8 +528,23 @@ testWithAnvilL2('account:authorize cmd', (web3: Web3) => { '--signature', PROOF_OF_POSSESSION_SIGNATURE, ], + web3 ) - ).rejects.toThrow() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Some checks didn't pass!"`) + expect(stripAnsiCodesFromNestedArray(errorMock.mock.calls)).toMatchInlineSnapshot(`[]`) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✘ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not registered as an account. Try running account:register", + ], + [ + " ✔ undefined is not a registered Validator ", + ], + ] + `) }) }) diff --git a/packages/cli/src/commands/account/authorize.test.ts b/packages/cli/src/commands/account/authorize.test.ts index 332a33cee..590250633 100644 --- a/packages/cli/src/commands/account/authorize.test.ts +++ b/packages/cli/src/commands/account/authorize.test.ts @@ -1,7 +1,7 @@ import { testWithAnvilL1 } from '@celo/dev-utils/lib/anvil-test' import { addressToPublicKey } from '@celo/utils/lib/signatureUtils' import Web3 from 'web3' -import { testLocallyWithWeb3Node } from '../../test-utils/cliUtils' +import { stripAnsiCodesFromNestedArray, testLocallyWithWeb3Node } from '../../test-utils/cliUtils' import { PROOF_OF_POSSESSION_SIGNATURE } from '../../test-utils/constants' import Lock from '../lockedgold/lock' import ValidatorRegister from '../validator/register' @@ -11,6 +11,16 @@ import Register from './register' process.env.NO_SYNCCHECK = 'true' testWithAnvilL1('account:authorize cmd', (web3: Web3) => { + let logMock = jest.spyOn(console, 'log') + let errorMock = jest.spyOn(console, 'error') + + beforeEach(() => { + logMock.mockClear().mockImplementation() + errorMock.mockClear().mockImplementation() + }) + + afterEach(() => jest.clearAllMocks()) + test('can authorize vote signer', async () => { const accounts = await web3.eth.getAccounts() const notRegisteredAccount = accounts[0] @@ -32,6 +42,40 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('can authorize attestation signer', async () => { @@ -54,6 +98,40 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('can authorize validator signer before validator is registered', async () => { @@ -76,6 +154,43 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + " ✔ undefined is not a registered Validator ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('can authorize validator signer after validator is registered', async () => { @@ -124,6 +239,100 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ Value [10000000000000000000000] is > 0 ", + ], + [ + "All checks passed", + ], + [ + "Running Checks:", + ], + [ + " ✔ Account has at least 10000 CELO ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: lock", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", + ], + [ + " ✔ Signer's account has enough locked celo for registration ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: registerValidator", + ], + [ + "txHash: 0xtxhash", + ], + [ + "SendTransaction: Set encryption key", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Validator ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('cannot authorize validator signer without BLS after validator is registered', async () => { @@ -165,9 +374,95 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { '--signature', PROOF_OF_POSSESSION_SIGNATURE, ], + web3 ) - ).rejects.toThrow() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Some checks didn't pass!"`) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ Value [10000000000000000000000] is > 0 ", + ], + [ + "All checks passed", + ], + [ + "Running Checks:", + ], + [ + " ✔ Account has at least 10000 CELO ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: lock", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", + ], + [ + " ✔ Signer's account has enough locked celo for registration ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: registerValidator", + ], + [ + "txHash: 0xtxhash", + ], + [ + "SendTransaction: Set encryption key", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + " ✘ undefined is not a registered Validator ", + ], + ] + `) }) test('can force authorize validator signer without BLS after validator is registered', async () => { @@ -211,6 +506,97 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { ], web3 ) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: register", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ Value [10000000000000000000000] is > 0 ", + ], + [ + "All checks passed", + ], + [ + "Running Checks:", + ], + [ + " ✔ Account has at least 10000 CELO ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: lock", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", + ], + [ + " ✔ Signer's account has enough locked celo for registration ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: registerValidator", + ], + [ + "txHash: 0xtxhash", + ], + [ + "SendTransaction: Set encryption key", + ], + [ + "txHash: 0xtxhash", + ], + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: authorizeTx", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) }) test('fails if from is not an account', async () => { @@ -230,8 +616,22 @@ testWithAnvilL1('account:authorize cmd', (web3: Web3) => { '--signature', PROOF_OF_POSSESSION_SIGNATURE, ], + web3 ) - ).rejects.toThrow() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Some checks didn't pass!"`) + expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` + [ + [ + "Running Checks:", + ], + [ + " ✘ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is a registered Account 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not registered as an account. Try running account:register", + ], + [ + " ✔ undefined is not a registered Validator ", + ], + ] + `) }) }) diff --git a/packages/cli/src/commands/election/show.test.ts b/packages/cli/src/commands/election/show.test.ts index f3f1f1486..3254cd345 100644 --- a/packages/cli/src/commands/election/show.test.ts +++ b/packages/cli/src/commands/election/show.test.ts @@ -11,7 +11,7 @@ import Show from './show' process.env.NO_SYNCCHECK = 'true' testWithAnvilL1('election:show', (web3: Web3) => { - afterEach(async () => { + afterEach(() => { jest.clearAllMocks() }) diff --git a/packages/cli/src/commands/validator/deregister.test.ts b/packages/cli/src/commands/validator/deregister.test.ts index 5916b5226..9dde3cc7b 100644 --- a/packages/cli/src/commands/validator/deregister.test.ts +++ b/packages/cli/src/commands/validator/deregister.test.ts @@ -10,7 +10,7 @@ import { timeTravel } from '@celo/dev-utils/lib/ganache-test' import { addressToPublicKey } from '@celo/utils/lib/signatureUtils' import Web3 from 'web3' import { - LONG_TIMEOUT_MS, + EXTRA_LONG_TIMEOUT_MS, stripAnsiCodesFromNestedArray, testLocallyWithWeb3Node, } from '../../test-utils/cliUtils' @@ -103,6 +103,9 @@ testWithAnvilL2('validator:deregister', (web3: Web3) => { global.Date.now = jest.fn(() => futureTime) const logMock = jest.spyOn(console, 'log') + // this ensures that any spy that were allready attached to console.log from previous calls to spyOn are cleared + logMock.mockClear() + console.warn( 'time is', Date.now(), @@ -116,41 +119,41 @@ testWithAnvilL2('validator:deregister', (web3: Web3) => { testLocallyWithWeb3Node(ValidatorDeRegister, ['--from', account], web3) ).resolves.toMatchInlineSnapshot(`undefined`) expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` - [ - [ - "Running Checks:", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", - ], - [ - " ✔ Signer can sign Validator Txs ", - ], - [ - " ✔ Signer account is Validator ", - ], - [ - " ✔ Account isn't a member of a validator group ", - ], - [ - " ✔ Enough time has passed since the account was removed from a validator group ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: deregister", - ], - [ - "txHash: 0xtxhash", - ], - ] - `) + [ + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ Signer account is Validator ", + ], + [ + " ✔ Account isn't a member of a validator group ", + ], + [ + " ✔ Enough time has passed since the account was removed from a validator group ", + ], + [ + "All checks passed", + ], + [ + "SendTransaction: deregister", + ], + [ + "txHash: 0xtxhash", + ], + ] + `) expect(validatorContract.isValidator(account)).resolves.toEqual(false) // @ts-expect-error global.Date.now.mockReset() }, - LONG_TIMEOUT_MS + EXTRA_LONG_TIMEOUT_MS ) it( @@ -160,155 +163,37 @@ testWithAnvilL2('validator:deregister', (web3: Web3) => { // precondition expect(groupAtSettup.members).toContain(account) + const logMock = jest.spyOn(console, 'log') + logMock.mockClear() await expect( testLocallyWithWeb3Node(ValidatorDeRegister, ['--from', account], web3) ).rejects.toThrowErrorMatchingInlineSnapshot(`"Some checks didn't pass!"`) expect(stripAnsiCodesFromNestedArray(logMock.mock.calls)).toMatchInlineSnapshot(` - [ - [ - "Running Checks:", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Account ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: register", - ], - [ - "txHash: 0xtxhash", - ], - [ - "Running Checks:", - ], - [ - " ✔ Value [10000000000000000000000] is > 0 ", - ], - [ - "All checks passed", - ], - [ - "Running Checks:", - ], - [ - " ✔ Account has at least 10000 CELO ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: lock", - ], - [ - "txHash: 0xtxhash", - ], - [ - "Running Checks:", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", - ], - [ - " ✔ Signer can sign Validator Txs ", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered Validator ", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is not a registered ValidatorGroup ", - ], - [ - " ✔ Signer's account has enough locked celo for registration ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: registerValidator", - ], - [ - "txHash: 0xtxhash", - ], - [ - "SendTransaction: Set encryption key", - ], - [ - "txHash: 0xtxhash", - ], - [ - "Running Checks:", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", - ], - [ - " ✔ Signer can sign Validator Txs ", - ], - [ - " ✔ Signer account is Validator ", - ], - [ - " ✔ 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 is ValidatorGroup ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: affiliate", - ], - [ - "txHash: 0xtxhash", - ], - [ - "Running Checks:", - ], - [ - " ✔ 0x70997970C51812dc3A010C7d01b50e0d17dc79C8 is Signer or registered Account ", - ], - [ - " ✔ Signer can sign Validator Txs ", - ], - [ - " ✔ Signer account is ValidatorGroup ", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Validator ", - ], - [ - "All checks passed", - ], - [ - "SendTransaction: addMember", - ], - [ - "txHash: 0xtxhash", - ], - [ - "Running Checks:", - ], - [ - " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", - ], - [ - " ✔ Signer can sign Validator Txs ", - ], - [ - " ✔ Signer account is Validator ", - ], - [ - " ✘ Account isn't a member of a validator group ", - ], [ - " ✘ Enough time has passed since the account was removed from a validator group ", - ], - ] - `) + [ + "Running Checks:", + ], + [ + " ✔ 0x5409ED021D9299bf6814279A6A1411A7e866A631 is Signer or registered Account ", + ], + [ + " ✔ Signer can sign Validator Txs ", + ], + [ + " ✔ Signer account is Validator ", + ], + [ + " ✘ Account isn't a member of a validator group ", + ], + [ + " ✘ Enough time has passed since the account was removed from a validator group ", + ], + ] + `) }, - LONG_TIMEOUT_MS + EXTRA_LONG_TIMEOUT_MS ) }) diff --git a/packages/dev-utils/CHANGELOG.md b/packages/dev-utils/CHANGELOG.md index eda3b415a..66147c769 100644 --- a/packages/dev-utils/CHANGELOG.md +++ b/packages/dev-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @celo/dev-utils +## 0.0.6-beta.1 + +### Patch Changes + +- [#400](https://github.com/celo-org/developer-tooling/pull/400) [`38fe4d0`](https://github.com/celo-org/developer-tooling/commit/38fe4d018d1b9ed5954a17501bdaa59b0aeec2f2) Thanks [@shazarre](https://github.com/shazarre)! - Upgrades to latest devchain + ## 0.0.6-beta.0 ### Patch Changes diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index 7d2565516..d22f57ef6 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/dev-utils", - "version": "0.0.6-beta.0", + "version": "0.0.6-beta.1", "description": "util package for celo packages that should only be a devDependency", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/sdk/contractkit/CHANGELOG.md b/packages/sdk/contractkit/CHANGELOG.md index 3b1129148..f7a765ea5 100644 --- a/packages/sdk/contractkit/CHANGELOG.md +++ b/packages/sdk/contractkit/CHANGELOG.md @@ -1,5 +1,18 @@ # @celo/contractkit +## 9.0.0-beta.1 + +### Minor Changes + +- [`76045eb`](https://github.com/celo-org/developer-tooling/commit/76045ebff0df9c1c9fa75121dab4e910c9026976) Thanks [@shazarre](https://github.com/shazarre)! - ValidatorsWrapper: add registerValidatorNoBls to allow registration without BLS keys which are not supported in L2 + +### Patch Changes + +- [#400](https://github.com/celo-org/developer-tooling/pull/400) [`38fe4d0`](https://github.com/celo-org/developer-tooling/commit/38fe4d018d1b9ed5954a17501bdaa59b0aeec2f2) Thanks [@shazarre](https://github.com/shazarre)! - Renames `getElected` and its usages to `getElectedAccounts` for `EpochManagerWrapper` + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-local@6.0.2-beta.1 + ## 9.0.0-beta.0 ### Major Changes diff --git a/packages/sdk/contractkit/package.json b/packages/sdk/contractkit/package.json index 71e5ccd55..7ae6d8783 100644 --- a/packages/sdk/contractkit/package.json +++ b/packages/sdk/contractkit/package.json @@ -1,6 +1,6 @@ { "name": "@celo/contractkit", - "version": "9.0.0-beta.0", + "version": "9.0.0-beta.1", "description": "Celo's ContractKit to interact with Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -31,7 +31,7 @@ "@celo/base": "^7.0.0-beta.0", "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-local": "^6.0.2-beta.0", + "@celo/wallet-local": "^6.0.2-beta.1", "@types/bn.js": "^5.1.0", "@types/debug": "^4.1.5", "bignumber.js": "^9.0.0", @@ -43,7 +43,7 @@ }, "devDependencies": { "@celo/celo-devchain": "^7.0.0", - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/odis-identifiers": "^1.0.1", "@celo/typescript": "workspace:^", "@truffle/contract": "4.6.31", diff --git a/packages/sdk/explorer/package.json b/packages/sdk/explorer/package.json index 09bef2e13..bded469b0 100644 --- a/packages/sdk/explorer/package.json +++ b/packages/sdk/explorer/package.json @@ -24,7 +24,7 @@ "dependencies": { "@celo/base": "^7.0.0-beta.0", "@celo/connect": "^6.0.3-beta.0", - "@celo/contractkit": "^9.0.0-beta.0", + "@celo/contractkit": "^9.0.0-beta.1", "@celo/utils": "^8.0.0-beta.0", "@types/debug": "^4.1.5", "bignumber.js": "9.0.0", @@ -32,7 +32,7 @@ "debug": "^4.1.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/typescript": "workspace:^", "@types/debug": "^4.1.12", "fetch-mock": "^10.0.7", diff --git a/packages/sdk/metadata-claims/package.json b/packages/sdk/metadata-claims/package.json index fa5ebdb7a..1a8a8e268 100644 --- a/packages/sdk/metadata-claims/package.json +++ b/packages/sdk/metadata-claims/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@celo/celo-devchain": "^7.0.0", "@celo/contractkit": "workspace:^", - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/odis-identifiers": "^1.0.1", "@celo/typescript": "workspace:^", "@types/node": "18.7.6", diff --git a/packages/sdk/network-utils/package.json b/packages/sdk/network-utils/package.json index 6c453caaa..bd56070c8 100644 --- a/packages/sdk/network-utils/package.json +++ b/packages/sdk/network-utils/package.json @@ -27,7 +27,7 @@ "debug": "^4.1.1" }, "devDependencies": { - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/typescript": "workspace:^", "@types/debug": "^4.1.12", "fetch-mock": "^10.0.7" diff --git a/packages/sdk/transactions-uri/package.json b/packages/sdk/transactions-uri/package.json index 42b71257f..b97d01e0a 100644 --- a/packages/sdk/transactions-uri/package.json +++ b/packages/sdk/transactions-uri/package.json @@ -32,8 +32,8 @@ "web3-eth-abi": "1.10.4" }, "devDependencies": { - "@celo/contractkit": "^9.0.0-beta.0", - "@celo/dev-utils": "0.0.6-beta.0", + "@celo/contractkit": "^9.0.0-beta.1", + "@celo/dev-utils": "0.0.6-beta.1", "@celo/typescript": "workspace:^", "cross-fetch": "3.1.5", "dotenv": "^8.2.0", diff --git a/packages/sdk/wallets/wallet-base/CHANGELOG.md b/packages/sdk/wallets/wallet-base/CHANGELOG.md index c1ef7387c..ef698b672 100644 --- a/packages/sdk/wallets/wallet-base/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-base/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/wallet-base +## 6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- [#408](https://github.com/celo-org/developer-tooling/pull/408) [`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Improve support for celo-legacy and modern txs within ledger + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-base/package.json b/packages/sdk/wallets/wallet-base/package.json index 3c52a6c33..28944d082 100644 --- a/packages/sdk/wallets/wallet-base/package.json +++ b/packages/sdk/wallets/wallet-base/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-base", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "Wallet base implementation", "author": "Celo", "license": "Apache-2.0", diff --git a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md index 78366ca5b..517f0300d 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md @@ -1,5 +1,23 @@ # @celo/wallet-hsm-aws +## 6.0.2-beta.2 + +### Patch Changes + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + - @celo/wallet-hsm@6.0.2-beta.2 + - @celo/wallet-remote@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + - @celo/wallet-hsm@6.0.2-beta.1 + - @celo/wallet-remote@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-aws/package.json b/packages/sdk/wallets/wallet-hsm-aws/package.json index f6ee07fef..53bffbcb4 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/package.json +++ b/packages/sdk/wallets/wallet-hsm-aws/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-aws", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "AWS HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -24,9 +24,9 @@ "dependencies": { "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", - "@celo/wallet-hsm": "^6.0.2-beta.0", - "@celo/wallet-remote": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", + "@celo/wallet-hsm": "^6.0.2-beta.2", + "@celo/wallet-remote": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5", "@types/secp256k1": "^4.0.0", diff --git a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md index 2025a71ec..54e58add8 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md @@ -1,5 +1,23 @@ # @celo/wallet-hsm-azure +## 6.0.2-beta.2 + +### Patch Changes + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + - @celo/wallet-hsm@6.0.2-beta.2 + - @celo/wallet-remote@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + - @celo/wallet-hsm@6.0.2-beta.1 + - @celo/wallet-remote@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-azure/package.json b/packages/sdk/wallets/wallet-hsm-azure/package.json index d4abd30c4..b5775893e 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/package.json +++ b/packages/sdk/wallets/wallet-hsm-azure/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-azure", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "Azure HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -28,9 +28,9 @@ "@celo/base": "^7.0.0-beta.0", "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", - "@celo/wallet-hsm": "^6.0.2-beta.0", - "@celo/wallet-remote": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", + "@celo/wallet-hsm": "^6.0.2-beta.2", + "@celo/wallet-remote": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@types/secp256k1": "^4.0.0", "bignumber.js": "^9.0.0", diff --git a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md index 8de0c85e3..062f6558b 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md @@ -1,5 +1,23 @@ # @celo/wallet-hsm-gcp +## 6.0.2-beta.2 + +### Patch Changes + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + - @celo/wallet-hsm@6.0.2-beta.2 + - @celo/wallet-remote@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + - @celo/wallet-hsm@6.0.2-beta.1 + - @celo/wallet-remote@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-gcp/package.json b/packages/sdk/wallets/wallet-hsm-gcp/package.json index 0796feedc..f8607fa9a 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/package.json +++ b/packages/sdk/wallets/wallet-hsm-gcp/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-gcp", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "GCP HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -22,9 +22,9 @@ "dependencies": { "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", - "@celo/wallet-hsm": "^6.0.2-beta.0", - "@celo/wallet-remote": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", + "@celo/wallet-hsm": "^6.0.2-beta.2", + "@celo/wallet-remote": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@google-cloud/kms": "~2.9.0", "@noble/curves": "^1.3.0", diff --git a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md index b76635649..7fe026a1b 100644 --- a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md @@ -1,5 +1,9 @@ # @celo/wallet-hsm +## 6.0.2-beta.2 + +## 6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm/package.json b/packages/sdk/wallets/wallet-hsm/package.json index 93dbc4369..682faa3d6 100644 --- a/packages/sdk/wallets/wallet-hsm/package.json +++ b/packages/sdk/wallets/wallet-hsm/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "HSM wallet implementation utils", "author": "Celo", "license": "Apache-2.0", diff --git a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md index 650fa6425..4b71dbc25 100644 --- a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md @@ -1,5 +1,25 @@ # @celo/wallet-ledger +## 6.0.2-beta.2 + +### Patch Changes + +- [#427](https://github.com/celo-org/developer-tooling/pull/427) [`ee33677`](https://github.com/celo-org/developer-tooling/commit/ee33677287905076daafe39087283fe2434d729e) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Change a dependency to use npm rather than github + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + - @celo/wallet-remote@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- [#408](https://github.com/celo-org/developer-tooling/pull/408) [`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Improve support for celo-legacy and modern txs within ledger + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + - @celo/wallet-remote@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-ledger/package.json b/packages/sdk/wallets/wallet-ledger/package.json index 1a437fb9a..a5c058891 100644 --- a/packages/sdk/wallets/wallet-ledger/package.json +++ b/packages/sdk/wallets/wallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-ledger", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "Ledger wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -26,19 +26,19 @@ "dependencies": { "@celo/base": "^7.0.0-beta.0", "@celo/connect": "^6.0.3-beta.0", + "@celo/hw-app-eth": "^1.0.0", "@celo/ledger-token-signer": "^0.4.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", - "@celo/wallet-remote": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", + "@celo/wallet-remote": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@ledgerhq/errors": "^6.16.4", - "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git#commit=67c6c3e10929c06e5afd169c16fb8e52f6fda4de", "@ledgerhq/hw-transport": "^6.30.6", "debug": "^4.1.1", "semver": "^7.6.0" }, "devDependencies": { - "@celo/contractkit": "^9.0.0-beta.0", + "@celo/contractkit": "^9.0.0-beta.1", "@celo/typescript": "workspace:^", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@noble/curves": "^1.4.0", @@ -51,8 +51,5 @@ }, "engines": { "node": ">=8.14.2" - }, - "bundleDependencies": [ - "@ledgerhq/hw-app-eth" - ] + } } diff --git a/packages/sdk/wallets/wallet-ledger/src/ledger-signer.ts b/packages/sdk/wallets/wallet-ledger/src/ledger-signer.ts index 8e3bb37b7..4d020b41d 100644 --- a/packages/sdk/wallets/wallet-ledger/src/ledger-signer.ts +++ b/packages/sdk/wallets/wallet-ledger/src/ledger-signer.ts @@ -4,7 +4,7 @@ import { EIP712TypedData, structHash } from '@celo/utils/lib/sign-typed-data-uti import { LegacyEncodedTx } from '@celo/wallet-base' import * as ethUtil from '@ethereumjs/util' import { TransportStatusError } from '@ledgerhq/errors' -import Ledger from '@ledgerhq/hw-app-eth' +import Ledger from '@celo/hw-app-eth' import debugFactory from 'debug' import { SemVer } from 'semver' import { meetsVersionRequirements, transportErrorFriendlyMessage } from './ledger-utils' diff --git a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.test.ts b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.test.ts index 885dcca27..f3179a834 100644 --- a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.test.ts +++ b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.test.ts @@ -18,7 +18,7 @@ import { verifyEIP712TypedDataSigner, } from '@celo/wallet-base' import * as ethUtil from '@ethereumjs/util' -import Ledger from '@ledgerhq/hw-app-eth' +import Ledger from '@celo/hw-app-eth' import TransportNodeHid from '@ledgerhq/hw-transport-node-hid' import { VerifyPublicKeyInput, createVerify } from 'crypto' import { readFileSync } from 'fs' diff --git a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts index 58bbc8f98..9a521c9e3 100644 --- a/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts +++ b/packages/sdk/wallets/wallet-ledger/src/ledger-wallet.ts @@ -11,7 +11,7 @@ import { } from '@celo/wallet-base' import { RemoteWallet } from '@celo/wallet-remote' import { TransportError, TransportStatusError } from '@ledgerhq/errors' -import Ledger from '@ledgerhq/hw-app-eth' +import Ledger from '@celo/hw-app-eth' import debugFactory from 'debug' import { SemVer } from 'semver' import { LedgerSigner } from './ledger-signer' diff --git a/packages/sdk/wallets/wallet-local/CHANGELOG.md b/packages/sdk/wallets/wallet-local/CHANGELOG.md index 1e96708a9..bd1643605 100644 --- a/packages/sdk/wallets/wallet-local/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-local/CHANGELOG.md @@ -1,5 +1,21 @@ # @celo/wallet-local +## 6.0.2-beta.2 + +### Patch Changes + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- [#408](https://github.com/celo-org/developer-tooling/pull/408) [`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Improve support for celo-legacy and modern txs within ledger + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-local/package.json b/packages/sdk/wallets/wallet-local/package.json index 868ba4961..607b702bf 100644 --- a/packages/sdk/wallets/wallet-local/package.json +++ b/packages/sdk/wallets/wallet-local/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-local", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "Local wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,7 +25,7 @@ "@celo/base": "^7.0.0-beta.0", "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5" }, "devDependencies": { diff --git a/packages/sdk/wallets/wallet-remote/CHANGELOG.md b/packages/sdk/wallets/wallet-remote/CHANGELOG.md index 791d16cc9..39d285437 100644 --- a/packages/sdk/wallets/wallet-remote/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-remote/CHANGELOG.md @@ -1,5 +1,19 @@ # @celo/wallet-remote +## 6.0.2-beta.2 + +### Patch Changes + +- Updated dependencies []: + - @celo/wallet-base@6.0.2-beta.2 + +## 6.0.2-beta.1 + +### Patch Changes + +- Updated dependencies [[`d988d31`](https://github.com/celo-org/developer-tooling/commit/d988d317582daed57bf05a4c4d9d087e5e732f0d)]: + - @celo/wallet-base@6.0.2-beta.1 + ## 6.0.2-beta.0 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-remote/package.json b/packages/sdk/wallets/wallet-remote/package.json index f0d5017f4..c7a6c3a66 100644 --- a/packages/sdk/wallets/wallet-remote/package.json +++ b/packages/sdk/wallets/wallet-remote/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-remote", - "version": "6.0.2-beta.0", + "version": "6.0.2-beta.2", "description": "Remote wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -24,7 +24,7 @@ "dependencies": { "@celo/connect": "^6.0.3-beta.0", "@celo/utils": "^8.0.0-beta.0", - "@celo/wallet-base": "^6.0.2-beta.0", + "@celo/wallet-base": "^6.0.2-beta.2", "@ethereumjs/util": "8.0.5", "@types/debug": "^4.1.5" }, diff --git a/packages/viem-account-ledger/CHANGELOG.md b/packages/viem-account-ledger/CHANGELOG.md index 97cc31f3f..98e3c89f6 100644 --- a/packages/viem-account-ledger/CHANGELOG.md +++ b/packages/viem-account-ledger/CHANGELOG.md @@ -1,5 +1,11 @@ # @celo/viem-account-ledger +## 1.0.0-beta.1 + +### Patch Changes + +- [#427](https://github.com/celo-org/developer-tooling/pull/427) [`ee33677`](https://github.com/celo-org/developer-tooling/commit/ee33677287905076daafe39087283fe2434d729e) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Change a dependency to use npm rather than github + ## 1.0.0-beta.0 ### Major Changes diff --git a/packages/viem-account-ledger/package.json b/packages/viem-account-ledger/package.json index 7635e5d1b..71daa7cf5 100644 --- a/packages/viem-account-ledger/package.json +++ b/packages/viem-account-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@celo/viem-account-ledger", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "description": "Helper library to make ledger<->viem interactions easier", "type": "module", "exports": { @@ -31,9 +31,9 @@ }, "dependencies": { "@celo/base": "^7.0.0-beta.0", + "@celo/hw-app-eth": "^1.0.0", "@celo/ledger-token-signer": "^0.4.0", "@ledgerhq/errors": "^6.16.4", - "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git", "semver": "^7.6.0" }, "devDependencies": { diff --git a/packages/viem-account-ledger/src/test-utils.ts b/packages/viem-account-ledger/src/test-utils.ts index 99eb58395..1a4305e9a 100644 --- a/packages/viem-account-ledger/src/test-utils.ts +++ b/packages/viem-account-ledger/src/test-utils.ts @@ -2,7 +2,7 @@ import { ensureLeading0x, normalizeAddressWith0x, trimLeading0x } from '@celo/ba import { generateTypedDataHash } from '@celo/utils/lib/sign-typed-data-utils.js' import { getHashFromEncoded, signTransaction } from '@celo/wallet-base' import * as ethUtil from '@ethereumjs/util' -import Eth from '@ledgerhq/hw-app-eth' +import Eth from '@celo/hw-app-eth' import { createVerify, VerifyPublicKeyInput } from 'node:crypto' import { readFileSync } from 'node:fs' import { dirname, join } from 'node:path' diff --git a/packages/viem-account-ledger/src/utils.ts b/packages/viem-account-ledger/src/utils.ts index 17757e0ae..8b552eb21 100644 --- a/packages/viem-account-ledger/src/utils.ts +++ b/packages/viem-account-ledger/src/utils.ts @@ -1,4 +1,4 @@ -import Eth from '@ledgerhq/hw-app-eth' +import Eth from '@celo/hw-app-eth' import TransportNodeHid from '@ledgerhq/hw-transport-node-hid' import { SemVer } from 'semver' import { tokenInfoByAddressAndChainId } from './tokens.js' diff --git a/yarn.lock b/yarn.lock index 4e1b88a59..3f707c13f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1692,9 +1692,9 @@ __metadata: "@celo/celo-devchain": "npm:^7.0.0" "@celo/compliance": "npm:~1.0.23" "@celo/connect": "npm:^6.0.3-beta.0" - "@celo/contractkit": "npm:^9.0.0-beta.0" + "@celo/contractkit": "npm:^9.0.0-beta.1" "@celo/cryptographic-utils": "npm:^5.1.1-beta.0" - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/explorer": "npm:^5.0.13-beta.0" "@celo/governance": "npm:^5.1.4-beta.0" "@celo/identity": "npm:^5.1.2" @@ -1702,9 +1702,9 @@ __metadata: "@celo/phone-utils": "npm:^6.0.4-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-hsm-azure": "npm:^6.0.2-beta.0" - "@celo/wallet-ledger": "npm:^6.0.2-beta.0" - "@celo/wallet-local": "npm:^6.0.2-beta.0" + "@celo/wallet-hsm-azure": "npm:^6.0.2-beta.2" + "@celo/wallet-ledger": "npm:^6.0.2-beta.2" + "@celo/wallet-local": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@ledgerhq/hw-transport-node-hid": "npm:^6.28.5" "@mento-protocol/mento-sdk": "npm:^1.0.1" @@ -1821,7 +1821,7 @@ __metadata: languageName: node linkType: hard -"@celo/contractkit@npm:^9.0.0-beta.0, @celo/contractkit@workspace:^, @celo/contractkit@workspace:packages/sdk/contractkit": +"@celo/contractkit@npm:^9.0.0-beta.0, @celo/contractkit@npm:^9.0.0-beta.1, @celo/contractkit@workspace:^, @celo/contractkit@workspace:packages/sdk/contractkit": version: 0.0.0-use.local resolution: "@celo/contractkit@workspace:packages/sdk/contractkit" dependencies: @@ -1830,11 +1830,11 @@ __metadata: "@celo/base": "npm:^7.0.0-beta.0" "@celo/celo-devchain": "npm:^7.0.0" "@celo/connect": "npm:^6.0.3-beta.0" - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/odis-identifiers": "npm:^1.0.1" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-local": "npm:^6.0.2-beta.0" + "@celo/wallet-local": "npm:^6.0.2-beta.1" "@truffle/contract": "npm:4.6.31" "@types/bn.js": "npm:^5.1.0" "@types/debug": "npm:^4.1.5" @@ -1873,7 +1873,7 @@ __metadata: languageName: unknown linkType: soft -"@celo/dev-utils@npm:0.0.6-beta.0, @celo/dev-utils@workspace:packages/dev-utils": +"@celo/dev-utils@npm:0.0.6-beta.1, @celo/dev-utils@workspace:packages/dev-utils": version: 0.0.0-use.local resolution: "@celo/dev-utils@workspace:packages/dev-utils" dependencies: @@ -1908,8 +1908,8 @@ __metadata: dependencies: "@celo/base": "npm:^7.0.0-beta.0" "@celo/connect": "npm:^6.0.3-beta.0" - "@celo/contractkit": "npm:^9.0.0-beta.0" - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/contractkit": "npm:^9.0.0-beta.1" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" "@types/debug": "npm:^4.1.12" @@ -1941,6 +1941,29 @@ __metadata: languageName: unknown linkType: soft +"@celo/hw-app-eth@npm:^1.0.0": + version: 1.0.0 + resolution: "@celo/hw-app-eth@npm:1.0.0" + dependencies: + "@changesets/changelog-github": "npm:^0.5.0" + "@changesets/cli": "npm:^2.27.7" + "@ethersproject/abi": "npm:^5.5.0" + "@ethersproject/rlp": "npm:^5.5.0" + "@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.1" + "@ledgerhq/domain-service": "npm:^1.2.10" + "@ledgerhq/errors": "npm:^6.19.1" + "@ledgerhq/evm-tools": "npm:^1.2.4" + "@ledgerhq/hw-transport": "npm:^6.31.4" + "@ledgerhq/hw-transport-mocker": "npm:^6.29.4" + "@ledgerhq/logs": "npm:^6.12.0" + "@ledgerhq/types-live": "npm:^6.52.4" + axios: "npm:1.7.7" + bignumber.js: "npm:^9.1.2" + semver: "npm:^7.3.5" + checksum: 88f8626bd74ef18691b0073275cec86aa79eff2aa01cc08188ec3fc008eb445c05de228baee194a8126dcbdc9661ddce15fc5e01a8dbe2d18455c282b34eea6c + languageName: node + linkType: hard + "@celo/identity@npm:^5.1.2": version: 5.1.2 resolution: "@celo/identity@npm:5.1.2" @@ -1990,7 +2013,7 @@ __metadata: "@celo/base": "npm:^7.0.0-beta.0" "@celo/celo-devchain": "npm:^7.0.0" "@celo/contractkit": "workspace:^" - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/odis-identifiers": "npm:^1.0.1" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" @@ -2009,7 +2032,7 @@ __metadata: version: 0.0.0-use.local resolution: "@celo/network-utils@workspace:packages/sdk/network-utils" dependencies: - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/typescript": "workspace:^" "@types/debug": "npm:^4.1.12" cross-fetch: "npm:3.1.5" @@ -2072,8 +2095,8 @@ __metadata: dependencies: "@celo/base": "npm:^7.0.0-beta.0" "@celo/connect": "npm:^6.0.3-beta.0" - "@celo/contractkit": "npm:^9.0.0-beta.0" - "@celo/dev-utils": "npm:0.0.6-beta.0" + "@celo/contractkit": "npm:^9.0.0-beta.1" + "@celo/dev-utils": "npm:0.0.6-beta.1" "@celo/typescript": "workspace:^" "@types/bn.js": "npm:^5.1.0" "@types/debug": "npm:^4.1.5" @@ -2139,6 +2162,7 @@ __metadata: resolution: "@celo/viem-account-ledger@workspace:packages/viem-account-ledger" dependencies: "@celo/base": "npm:^7.0.0-beta.0" + "@celo/hw-app-eth": "npm:^1.0.0" "@celo/ledger-token-signer": "npm:^0.4.0" "@celo/typescript": "workspace:^" "@celo/utils": "workspace:^" @@ -2146,7 +2170,6 @@ __metadata: "@celo/wallet-remote": "workspace:^" "@ethereumjs/util": "npm:8.0.5" "@ledgerhq/errors": "npm:^6.16.4" - "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git" "@ledgerhq/hw-transport-node-hid": "npm:^6.29.5" "@vitest/coverage-v8": "npm:2.1.2" dotenv: "npm:^8.2.0" @@ -2179,7 +2202,7 @@ __metadata: languageName: node linkType: hard -"@celo/wallet-base@npm:^6.0.2-beta.0, @celo/wallet-base@workspace:^, @celo/wallet-base@workspace:packages/sdk/wallets/wallet-base": +"@celo/wallet-base@npm:^6.0.2-beta.2, @celo/wallet-base@workspace:^, @celo/wallet-base@workspace:packages/sdk/wallets/wallet-base": version: 0.0.0-use.local resolution: "@celo/wallet-base@workspace:packages/sdk/wallets/wallet-base" dependencies: @@ -2207,9 +2230,9 @@ __metadata: "@celo/connect": "npm:^6.0.3-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" - "@celo/wallet-hsm": "npm:^6.0.2-beta.0" - "@celo/wallet-remote": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" + "@celo/wallet-hsm": "npm:^6.0.2-beta.2" + "@celo/wallet-remote": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@noble/ciphers": "npm:0.4.1" "@noble/curves": "npm:1.3.0" @@ -2224,7 +2247,7 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-hsm-azure@npm:^6.0.2-beta.0, @celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure": +"@celo/wallet-hsm-azure@npm:^6.0.2-beta.2, @celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure": version: 0.0.0-use.local resolution: "@celo/wallet-hsm-azure@workspace:packages/sdk/wallets/wallet-hsm-azure" dependencies: @@ -2235,9 +2258,9 @@ __metadata: "@celo/connect": "npm:^6.0.3-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" - "@celo/wallet-hsm": "npm:^6.0.2-beta.0" - "@celo/wallet-remote": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" + "@celo/wallet-hsm": "npm:^6.0.2-beta.2" + "@celo/wallet-remote": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@noble/ciphers": "npm:0.4.1" "@noble/curves": "npm:1.3.0" @@ -2258,9 +2281,9 @@ __metadata: "@celo/connect": "npm:^6.0.3-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" - "@celo/wallet-hsm": "npm:^6.0.2-beta.0" - "@celo/wallet-remote": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" + "@celo/wallet-hsm": "npm:^6.0.2-beta.2" + "@celo/wallet-remote": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@google-cloud/kms": "npm:~2.9.0" "@noble/ciphers": "npm:0.4.1" @@ -2275,7 +2298,7 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-hsm@npm:^6.0.2-beta.0, @celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm": +"@celo/wallet-hsm@npm:^6.0.2-beta.2, @celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm": version: 0.0.0-use.local resolution: "@celo/wallet-hsm@workspace:packages/sdk/wallets/wallet-hsm" dependencies: @@ -2294,21 +2317,21 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-ledger@npm:^6.0.2-beta.0, @celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger": +"@celo/wallet-ledger@npm:^6.0.2-beta.2, @celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger": version: 0.0.0-use.local resolution: "@celo/wallet-ledger@workspace:packages/sdk/wallets/wallet-ledger" dependencies: "@celo/base": "npm:^7.0.0-beta.0" "@celo/connect": "npm:^6.0.3-beta.0" - "@celo/contractkit": "npm:^9.0.0-beta.0" + "@celo/contractkit": "npm:^9.0.0-beta.1" + "@celo/hw-app-eth": "npm:^1.0.0" "@celo/ledger-token-signer": "npm:^0.4.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" - "@celo/wallet-remote": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" + "@celo/wallet-remote": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@ledgerhq/errors": "npm:^6.16.4" - "@ledgerhq/hw-app-eth": "git+https://github.com:celo-org/ledgerjs-hw-app-eth.git#commit=67c6c3e10929c06e5afd169c16fb8e52f6fda4de" "@ledgerhq/hw-transport": "npm:^6.30.6" "@ledgerhq/hw-transport-node-hid": "npm:^6.28.5" "@noble/curves": "npm:^1.4.0" @@ -2336,7 +2359,7 @@ __metadata: languageName: node linkType: hard -"@celo/wallet-local@npm:^6.0.2-beta.0, @celo/wallet-local@workspace:packages/sdk/wallets/wallet-local": +"@celo/wallet-local@npm:^6.0.2-beta.0, @celo/wallet-local@npm:^6.0.2-beta.1, @celo/wallet-local@npm:^6.0.2-beta.2, @celo/wallet-local@workspace:packages/sdk/wallets/wallet-local": version: 0.0.0-use.local resolution: "@celo/wallet-local@workspace:packages/sdk/wallets/wallet-local" dependencies: @@ -2344,7 +2367,7 @@ __metadata: "@celo/connect": "npm:^6.0.3-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.12" debug: "npm:^4.3.5" @@ -2353,14 +2376,14 @@ __metadata: languageName: unknown linkType: soft -"@celo/wallet-remote@npm:^6.0.2-beta.0, @celo/wallet-remote@workspace:^, @celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote": +"@celo/wallet-remote@npm:^6.0.2-beta.2, @celo/wallet-remote@workspace:^, @celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote": version: 0.0.0-use.local resolution: "@celo/wallet-remote@workspace:packages/sdk/wallets/wallet-remote" dependencies: "@celo/connect": "npm:^6.0.3-beta.0" "@celo/typescript": "workspace:^" "@celo/utils": "npm:^8.0.0-beta.0" - "@celo/wallet-base": "npm:^6.0.2-beta.0" + "@celo/wallet-base": "npm:^6.0.2-beta.2" "@ethereumjs/util": "npm:8.0.5" "@types/debug": "npm:^4.1.5" web3: "npm:1.10.4" @@ -2415,6 +2438,27 @@ __metadata: languageName: node linkType: hard +"@changesets/apply-release-plan@npm:^7.0.5": + version: 7.0.5 + resolution: "@changesets/apply-release-plan@npm:7.0.5" + dependencies: + "@changesets/config": "npm:^3.0.3" + "@changesets/get-version-range-type": "npm:^0.4.0" + "@changesets/git": "npm:^3.0.1" + "@changesets/should-skip-package": "npm:^0.1.1" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + detect-indent: "npm:^6.0.0" + fs-extra: "npm:^7.0.1" + lodash.startcase: "npm:^4.4.0" + outdent: "npm:^0.5.0" + prettier: "npm:^2.7.1" + resolve-from: "npm:^5.0.0" + semver: "npm:^7.5.3" + checksum: 4a983e3afb6c3dcd885820eba96189c9e77173ccae94e291cf2eb2264bd9000b4264d1c5295d62f490731beead30dcb6830fcc69e401d3eb80bdd425fb6413c4 + languageName: node + linkType: hard + "@changesets/assemble-release-plan@npm:^5.2.4": version: 5.2.4 resolution: "@changesets/assemble-release-plan@npm:5.2.4" @@ -2429,6 +2473,20 @@ __metadata: languageName: node linkType: hard +"@changesets/assemble-release-plan@npm:^6.0.4": + version: 6.0.4 + resolution: "@changesets/assemble-release-plan@npm:6.0.4" + dependencies: + "@changesets/errors": "npm:^0.2.0" + "@changesets/get-dependents-graph": "npm:^2.1.2" + "@changesets/should-skip-package": "npm:^0.1.1" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + semver: "npm:^7.5.3" + checksum: 280f31625bf39763136814a7cf2c0eefa3099c9048a6cdb8ac346fc3c420b111f62186ac436f83fe005ed8384afb3f7e2e88651511c4d9270fcea79ad66bdde7 + languageName: node + linkType: hard + "@changesets/changelog-git@npm:^0.1.14": version: 0.1.14 resolution: "@changesets/changelog-git@npm:0.1.14" @@ -2438,6 +2496,15 @@ __metadata: languageName: node linkType: hard +"@changesets/changelog-git@npm:^0.2.0": + version: 0.2.0 + resolution: "@changesets/changelog-git@npm:0.2.0" + dependencies: + "@changesets/types": "npm:^6.0.0" + checksum: 631fcb73cab584fefad30f0e7cc8f7624b36be0f199e526c0d53538da16df2776bef8f8eb6511247b8040d011a2582bdb4840275d3f90a046bacbbd717da6c83 + languageName: node + linkType: hard + "@changesets/changelog-github@npm:^0.5.0": version: 0.5.0 resolution: "@changesets/changelog-github@npm:0.5.0" @@ -2492,6 +2559,44 @@ __metadata: languageName: node linkType: hard +"@changesets/cli@npm:^2.27.7": + version: 2.27.9 + resolution: "@changesets/cli@npm:2.27.9" + dependencies: + "@changesets/apply-release-plan": "npm:^7.0.5" + "@changesets/assemble-release-plan": "npm:^6.0.4" + "@changesets/changelog-git": "npm:^0.2.0" + "@changesets/config": "npm:^3.0.3" + "@changesets/errors": "npm:^0.2.0" + "@changesets/get-dependents-graph": "npm:^2.1.2" + "@changesets/get-release-plan": "npm:^4.0.4" + "@changesets/git": "npm:^3.0.1" + "@changesets/logger": "npm:^0.1.1" + "@changesets/pre": "npm:^2.0.1" + "@changesets/read": "npm:^0.6.1" + "@changesets/should-skip-package": "npm:^0.1.1" + "@changesets/types": "npm:^6.0.0" + "@changesets/write": "npm:^0.3.2" + "@manypkg/get-packages": "npm:^1.1.3" + ansi-colors: "npm:^4.1.3" + ci-info: "npm:^3.7.0" + enquirer: "npm:^2.3.0" + external-editor: "npm:^3.1.0" + fs-extra: "npm:^7.0.1" + mri: "npm:^1.2.0" + p-limit: "npm:^2.2.0" + package-manager-detector: "npm:^0.2.0" + picocolors: "npm:^1.1.0" + resolve-from: "npm:^5.0.0" + semver: "npm:^7.5.3" + spawndamnit: "npm:^2.0.0" + term-size: "npm:^2.1.0" + bin: + changeset: bin.js + checksum: 3bb61ae64d6a7740f96a7bc32676eca8180aa2b17b321f66ed889f8a5f805c7dc351ce7b66a6982065e5c7e4faba131d03deb4ac393c68d7d0b9fd0a86c94de2 + languageName: node + linkType: hard + "@changesets/config@npm:^2.3.1": version: 2.3.1 resolution: "@changesets/config@npm:2.3.1" @@ -2507,6 +2612,21 @@ __metadata: languageName: node linkType: hard +"@changesets/config@npm:^3.0.3": + version: 3.0.3 + resolution: "@changesets/config@npm:3.0.3" + dependencies: + "@changesets/errors": "npm:^0.2.0" + "@changesets/get-dependents-graph": "npm:^2.1.2" + "@changesets/logger": "npm:^0.1.1" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + fs-extra: "npm:^7.0.1" + micromatch: "npm:^4.0.2" + checksum: 4c5bc9f4ea3c8f086a2cf1d83d3b949560ccbc988107d53d4515186373d0c25112d531b2f661fd913a85c8b0b4173a2c4ddae528f70fbd5efacc6e5f652896c5 + languageName: node + linkType: hard + "@changesets/errors@npm:^0.1.4": version: 0.1.4 resolution: "@changesets/errors@npm:0.1.4" @@ -2516,6 +2636,15 @@ __metadata: languageName: node linkType: hard +"@changesets/errors@npm:^0.2.0": + version: 0.2.0 + resolution: "@changesets/errors@npm:0.2.0" + dependencies: + extendable-error: "npm:^0.1.5" + checksum: 4b79373f92287af4f723e8dbbccaf0299aa8735fc043243d0ad587f04a7614615ea50180be575d4438b9f00aa82d1cf85e902b77a55bdd3e0a8dd97e77b18c60 + languageName: node + linkType: hard + "@changesets/get-dependents-graph@npm:^1.3.6": version: 1.3.6 resolution: "@changesets/get-dependents-graph@npm:1.3.6" @@ -2529,6 +2658,18 @@ __metadata: languageName: node linkType: hard +"@changesets/get-dependents-graph@npm:^2.1.2": + version: 2.1.2 + resolution: "@changesets/get-dependents-graph@npm:2.1.2" + dependencies: + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + picocolors: "npm:^1.1.0" + semver: "npm:^7.5.3" + checksum: 36d9877b0b071183b253d894e0dbef56f764fe2ff592064489d4f122c419ab97f0d023c9e078849d0f48b4129f5018c7c81cb380b02d975db5e0768ab29226c1 + languageName: node + linkType: hard + "@changesets/get-github-info@npm:^0.6.0": version: 0.6.0 resolution: "@changesets/get-github-info@npm:0.6.0" @@ -2554,6 +2695,20 @@ __metadata: languageName: node linkType: hard +"@changesets/get-release-plan@npm:^4.0.4": + version: 4.0.4 + resolution: "@changesets/get-release-plan@npm:4.0.4" + dependencies: + "@changesets/assemble-release-plan": "npm:^6.0.4" + "@changesets/config": "npm:^3.0.3" + "@changesets/pre": "npm:^2.0.1" + "@changesets/read": "npm:^0.6.1" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + checksum: d371f557556d5d8a4cb35f403304581bc8c236cd3fd9d848246382052fe37ec34d741b107f7f1bd6b76f47cf74e66377bf1d3919db61f64647dce34d365818a7 + languageName: node + linkType: hard + "@changesets/get-version-range-type@npm:^0.3.2": version: 0.3.2 resolution: "@changesets/get-version-range-type@npm:0.3.2" @@ -2561,6 +2716,13 @@ __metadata: languageName: node linkType: hard +"@changesets/get-version-range-type@npm:^0.4.0": + version: 0.4.0 + resolution: "@changesets/get-version-range-type@npm:0.4.0" + checksum: 9868e99b31af652d3fa08fc33d55b9636f2feed1f4efdb318a6dbb4bb061281868de089b93041ce7f2775ab9cf454b92b1199767d0f4f228d8bbc483e61d2fd8 + languageName: node + linkType: hard + "@changesets/git@npm:^2.0.0": version: 2.0.0 resolution: "@changesets/git@npm:2.0.0" @@ -2576,6 +2738,19 @@ __metadata: languageName: node linkType: hard +"@changesets/git@npm:^3.0.1": + version: 3.0.1 + resolution: "@changesets/git@npm:3.0.1" + dependencies: + "@changesets/errors": "npm:^0.2.0" + "@manypkg/get-packages": "npm:^1.1.3" + is-subdir: "npm:^1.1.1" + micromatch: "npm:^4.0.2" + spawndamnit: "npm:^2.0.0" + checksum: 19831196f5e3138dcbb037fd19d641fe1e428e3e4efac3cb25888e3cf8f3f269fab2b1ed270b173a0104b5d1a76d3599232836c75fbc60f4104f8f30141ed9ed + languageName: node + linkType: hard + "@changesets/logger@npm:^0.0.5": version: 0.0.5 resolution: "@changesets/logger@npm:0.0.5" @@ -2585,6 +2760,15 @@ __metadata: languageName: node linkType: hard +"@changesets/logger@npm:^0.1.1": + version: 0.1.1 + resolution: "@changesets/logger@npm:0.1.1" + dependencies: + picocolors: "npm:^1.1.0" + checksum: bbfc050ddd0afdaa95bb790e81894b7548a2def059deeaed1685e22c10ede245ec2264df42bb2200cc0c8bd040e427bcd68a7afcca2633dc263a28e923d7c175 + languageName: node + linkType: hard + "@changesets/parse@npm:^0.3.16": version: 0.3.16 resolution: "@changesets/parse@npm:0.3.16" @@ -2595,6 +2779,16 @@ __metadata: languageName: node linkType: hard +"@changesets/parse@npm:^0.4.0": + version: 0.4.0 + resolution: "@changesets/parse@npm:0.4.0" + dependencies: + "@changesets/types": "npm:^6.0.0" + js-yaml: "npm:^3.13.1" + checksum: 0a824582306b198cd775048876e62bd39193b921515608504777407d78f1dcc700ec15e1a6bccd8a3514c5acc6c3fb060238fbfeae94e698aa17dad1121c2d43 + languageName: node + linkType: hard + "@changesets/pre@npm:^1.0.14": version: 1.0.14 resolution: "@changesets/pre@npm:1.0.14" @@ -2608,6 +2802,18 @@ __metadata: languageName: node linkType: hard +"@changesets/pre@npm:^2.0.1": + version: 2.0.1 + resolution: "@changesets/pre@npm:2.0.1" + dependencies: + "@changesets/errors": "npm:^0.2.0" + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + fs-extra: "npm:^7.0.1" + checksum: e26ca45a1accc4c79890220acf4c85ff716bc09a8e534c91f08bf7d5272408bd76f54ddf6a01765a1aab2517b7447285ae0a9787a6f2135011ad37bcf3f70e48 + languageName: node + linkType: hard + "@changesets/read@npm:^0.5.9": version: 0.5.9 resolution: "@changesets/read@npm:0.5.9" @@ -2624,6 +2830,31 @@ __metadata: languageName: node linkType: hard +"@changesets/read@npm:^0.6.1": + version: 0.6.1 + resolution: "@changesets/read@npm:0.6.1" + dependencies: + "@changesets/git": "npm:^3.0.1" + "@changesets/logger": "npm:^0.1.1" + "@changesets/parse": "npm:^0.4.0" + "@changesets/types": "npm:^6.0.0" + fs-extra: "npm:^7.0.1" + p-filter: "npm:^2.1.0" + picocolors: "npm:^1.1.0" + checksum: 022e4162e3491144549d9e1e1c2dda92ba7b3bbe9ea5552359b75e52d93e6ad0750f9e5215681a18850178e46fe493bb024b84026ac10ede5c6cddd54aa4c9d0 + languageName: node + linkType: hard + +"@changesets/should-skip-package@npm:^0.1.1": + version: 0.1.1 + resolution: "@changesets/should-skip-package@npm:0.1.1" + dependencies: + "@changesets/types": "npm:^6.0.0" + "@manypkg/get-packages": "npm:^1.1.3" + checksum: d187ef22495deb63e678d0ff65e8627701e2b52c25bd59dde10ce8646be8d605c0ed0a6af020dd825b137c2fc748fdc6cef52e7774bad4c7a4f404bf182a85cf + languageName: node + linkType: hard + "@changesets/types@npm:^4.0.1": version: 4.1.0 resolution: "@changesets/types@npm:4.1.0" @@ -2658,6 +2889,18 @@ __metadata: languageName: node linkType: hard +"@changesets/write@npm:^0.3.2": + version: 0.3.2 + resolution: "@changesets/write@npm:0.3.2" + dependencies: + "@changesets/types": "npm:^6.0.0" + fs-extra: "npm:^7.0.1" + human-id: "npm:^1.0.2" + prettier: "npm:^2.7.1" + checksum: c16b0a731fa43ae0028fd1f956c7b080030c42ff763f8dac74da8b178a4ea65632831c30550b784286277bdc75a3c44dda46aad8db97f43bb1eb4d61922152aa + languageName: node + linkType: hard + "@colors/colors@npm:1.5.0": version: 1.5.0 resolution: "@colors/colors@npm:1.5.0" @@ -3954,17 +4197,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/cryptoassets@npm:^13.1.1": - version: 13.1.1 - resolution: "@ledgerhq/cryptoassets@npm:13.1.1" - dependencies: - axios: "npm:^1.6.0" - bs58check: "npm:^2.1.2" - invariant: "npm:2" - checksum: c0c8cf6181b3f4e39a3cb5f248615aeb068152c1104aca2d11c1faed027b708c4c81d757afca566fa78f93d6d52f231b62637d43e678708df449ce9e82bb6221 - languageName: node - linkType: hard - "@ledgerhq/devices@npm:^8.2.2": version: 8.2.2 resolution: "@ledgerhq/devices@npm:8.2.2" @@ -3989,18 +4221,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/devices@npm:^8.4.0": - version: 8.4.0 - resolution: "@ledgerhq/devices@npm:8.4.0" - dependencies: - "@ledgerhq/errors": "npm:^6.17.0" - "@ledgerhq/logs": "npm:^6.12.0" - rxjs: "npm:^7.8.1" - semver: "npm:^7.3.5" - checksum: 2e1f6a95b4a5fe74eb50bbc2451ba121fe43818c2f77a5cb8b9dd61f113938c423b37ed32b5c35af70f4880af7d3f78e1f24d397da28ab62efa28ad1cd3f0594 - languageName: node - linkType: hard - "@ledgerhq/devices@npm:^8.4.4": version: 8.4.4 resolution: "@ledgerhq/devices@npm:8.4.4" @@ -4013,21 +4233,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/domain-service@npm:^1.2.1": - version: 1.2.1 - resolution: "@ledgerhq/domain-service@npm:1.2.1" - dependencies: - "@ledgerhq/errors": "npm:^6.17.0" - "@ledgerhq/logs": "npm:^6.12.0" - "@ledgerhq/types-live": "npm:^6.48.1" - axios: "npm:^1.3.4" - eip55: "npm:^2.1.1" - react: "npm:^18.2.0" - react-dom: "npm:^18.2.0" - checksum: 91296ccd82ff69820139a8f3c8470b909535280dedd502230645e6d1186fa48006661f89fda41bba136eb042348598a8abacd634cbb40435d76ee175397190ed - languageName: node - linkType: hard - "@ledgerhq/domain-service@npm:^1.2.10": version: 1.2.10 resolution: "@ledgerhq/domain-service@npm:1.2.10" @@ -4057,13 +4262,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/errors@npm:^6.17.0": - version: 6.17.0 - resolution: "@ledgerhq/errors@npm:6.17.0" - checksum: 97f746a7a57144b93ce914b2dd89e5c430b2fe743fc4ce26ead498a5dca36096c7a1a39258c7ee1837e4a17c4eaf31047c606828e059b089275605da6bd8a6ec - languageName: node - linkType: hard - "@ledgerhq/errors@npm:^6.19.1": version: 6.19.1 resolution: "@ledgerhq/errors@npm:6.19.1" @@ -4071,19 +4269,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/evm-tools@npm:^1.1.1": - version: 1.1.1 - resolution: "@ledgerhq/evm-tools@npm:1.1.1" - dependencies: - "@ledgerhq/cryptoassets": "npm:^13.1.1" - "@ledgerhq/live-env": "npm:^2.1.0" - axios: "npm:^1.6.5" - crypto-js: "npm:4.2.0" - ethers: "npm:5.7.2" - checksum: 98bd3ca2e4ffb2ae3a16f53ed27443efe2988c2bc70b834c0f501afddc08e866f497d3b9861923356369b8f078ad2f749c9731362a583c7a93e01a3e90ce8cbd - languageName: node - linkType: hard - "@ledgerhq/evm-tools@npm:^1.2.4": version: 1.2.4 resolution: "@ledgerhq/evm-tools@npm:1.2.4" @@ -4097,60 +4282,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/hw-app-eth@git+https://github.com:celo-org/ledgerjs-hw-app-eth.git": - version: 6.37.1 - resolution: "@ledgerhq/hw-app-eth@https://github.com:celo-org/ledgerjs-hw-app-eth.git#commit=49bdd4f163f5ff73daa9f54f8e46aa2882b85f44" - dependencies: - "@ethersproject/abi": "npm:^5.5.0" - "@ethersproject/rlp": "npm:^5.5.0" - "@ledgerhq/cryptoassets": "npm:^13.1.1" - "@ledgerhq/domain-service": "npm:^1.2.1" - "@ledgerhq/errors": "npm:^6.17.0" - "@ledgerhq/evm-tools": "npm:^1.1.1" - "@ledgerhq/hw-transport": "npm:^6.31.0" - "@ledgerhq/hw-transport-mocker": "npm:^6.29.0" - "@ledgerhq/logs": "npm:^6.12.0" - "@ledgerhq/types-cryptoassets": "npm:^7.13.0" - "@ledgerhq/types-devices": "npm:^6.25.0" - "@ledgerhq/types-live": "npm:^6.48.1" - axios: "npm:^1.3.4" - bignumber.js: "npm:^9.1.2" - checksum: 0400c03ea713e671361f38bcae29345eace47e719b0ab17fedad9aded127bd572c7d8546b6ff320feb7859af50fbfc1227eb983038cbf24aa9fa432d3cc88a6b - languageName: node - linkType: hard - -"@ledgerhq/hw-app-eth@git+https://github.com:celo-org/ledgerjs-hw-app-eth.git#commit=67c6c3e10929c06e5afd169c16fb8e52f6fda4de": - version: 6.40.3 - resolution: "@ledgerhq/hw-app-eth@https://github.com:celo-org/ledgerjs-hw-app-eth.git#commit=67c6c3e10929c06e5afd169c16fb8e52f6fda4de" - dependencies: - "@ethersproject/abi": "npm:^5.5.0" - "@ethersproject/rlp": "npm:^5.5.0" - "@ledgerhq/cryptoassets-evm-signatures": "npm:^13.5.1" - "@ledgerhq/domain-service": "npm:^1.2.10" - "@ledgerhq/errors": "npm:^6.19.1" - "@ledgerhq/evm-tools": "npm:^1.2.4" - "@ledgerhq/hw-transport": "npm:^6.31.4" - "@ledgerhq/hw-transport-mocker": "npm:^6.29.4" - "@ledgerhq/logs": "npm:^6.12.0" - "@ledgerhq/types-live": "npm:^6.52.4" - axios: "npm:1.7.7" - bignumber.js: "npm:^9.1.2" - semver: "npm:^7.3.5" - checksum: f4385680d1fd003bb95eb8bf4baeabccd01a08d9ced3d28a2bf78b6ac7000b45f07cc829beab9e5bbaf423fd2d41befff3e3e6110ac5606e81cd5a1b5ae14f15 - languageName: node - linkType: hard - -"@ledgerhq/hw-transport-mocker@npm:^6.29.0": - version: 6.29.0 - resolution: "@ledgerhq/hw-transport-mocker@npm:6.29.0" - dependencies: - "@ledgerhq/hw-transport": "npm:^6.31.0" - "@ledgerhq/logs": "npm:^6.12.0" - rxjs: "npm:^7.8.1" - checksum: 794b8e6b1a3406d867eceb33b1b263540aca64a42959f198566889a824608e2b24a4f47921b2b5e5915accb234c48bcd49c36efbf1c67ef6aecdea3b983ce0c9 - languageName: node - linkType: hard - "@ledgerhq/hw-transport-mocker@npm:^6.29.4": version: 6.29.4 resolution: "@ledgerhq/hw-transport-mocker@npm:6.29.4" @@ -4244,18 +4375,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/hw-transport@npm:^6.31.0": - version: 6.31.0 - resolution: "@ledgerhq/hw-transport@npm:6.31.0" - dependencies: - "@ledgerhq/devices": "npm:^8.4.0" - "@ledgerhq/errors": "npm:^6.17.0" - "@ledgerhq/logs": "npm:^6.12.0" - events: "npm:^3.3.0" - checksum: aceae60c98515696d08007d9c54a5f85b04fe1d14362cd672997a7fcd24422bcbf19ef1bed1ac4cc2d0b164b2226d1b3420250389f9694f2e77c7395da97982b - languageName: node - linkType: hard - "@ledgerhq/hw-transport@npm:^6.31.4": version: 6.31.4 resolution: "@ledgerhq/hw-transport@npm:6.31.4" @@ -4268,16 +4387,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/live-env@npm:^2.1.0": - version: 2.1.0 - resolution: "@ledgerhq/live-env@npm:2.1.0" - dependencies: - rxjs: "npm:^7.8.1" - utility-types: "npm:^3.10.0" - checksum: 9f1cbc8e652ff8c9f3c0095e8765814d2a43046487f111502b03aae7a22f14e88e666e4ae45023407e627f0cc2f809a2f235798a9eb306c1cc42c3ee72893075 - languageName: node - linkType: hard - "@ledgerhq/live-env@npm:^2.4.0": version: 2.4.0 resolution: "@ledgerhq/live-env@npm:2.4.0" @@ -4295,30 +4404,6 @@ __metadata: languageName: node linkType: hard -"@ledgerhq/types-cryptoassets@npm:^7.13.0": - version: 7.13.0 - resolution: "@ledgerhq/types-cryptoassets@npm:7.13.0" - checksum: 8bf42d1d06518bb0c6abaca0119a821d0c819a46860fa2fcae3dd414f9bc0af3086ec3f71917b4012e855c98e8bad91ab79c250dffda4e8625b0e3464cfe603a - languageName: node - linkType: hard - -"@ledgerhq/types-devices@npm:^6.25.0": - version: 6.25.0 - resolution: "@ledgerhq/types-devices@npm:6.25.0" - checksum: ac8dbdf6f5b468528c261731732bb1d14026b7901e6a0b86ca4d347f8b2d2420f4625be826ce727238d0b1d4ebbdfb71a1b85c35a1833747fe179920ccb137e8 - languageName: node - linkType: hard - -"@ledgerhq/types-live@npm:^6.48.1": - version: 6.48.1 - resolution: "@ledgerhq/types-live@npm:6.48.1" - dependencies: - bignumber.js: "npm:^9.1.2" - rxjs: "npm:^7.8.1" - checksum: 79305d3718398ce82c61752b94dc0428553a60d0c74a006b878fea0863b1f40cd2de2b9730839d1a20c2929546a9680427d9d698bb4a2c32f79afe67250ec04b - languageName: node - linkType: hard - "@ledgerhq/types-live@npm:^6.52.4": version: 6.52.4 resolution: "@ledgerhq/types-live@npm:6.52.4" @@ -7656,17 +7741,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.3.4, axios@npm:^1.6.0, axios@npm:^1.6.5": - version: 1.6.8 - resolution: "axios@npm:1.6.8" - dependencies: - follow-redirects: "npm:^1.15.6" - form-data: "npm:^4.0.0" - proxy-from-env: "npm:^1.1.0" - checksum: 3f9a79eaf1d159544fca9576261ff867cbbff64ed30017848e4210e49f3b01e97cf416390150e6fdf6633f336cd43dc1151f890bbd09c3c01ad60bb0891eee63 - languageName: node - linkType: hard - "babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -8684,7 +8758,7 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:^3.1.0": +"ci-info@npm:^3.1.0, ci-info@npm:^3.7.0": version: 3.9.0 resolution: "ci-info@npm:3.9.0" checksum: 75bc67902b4d1c7b435497adeb91598f6d52a3389398e44294f6601b20cfef32cf2176f7be0eb961d9e085bb333a8a5cae121cb22f81cf238ae7f58eb80e9397 @@ -12520,15 +12594,6 @@ __metadata: languageName: node linkType: hard -"invariant@npm:2": - version: 2.2.4 - resolution: "invariant@npm:2.2.4" - dependencies: - loose-envify: "npm:^1.0.0" - checksum: cc3182d793aad82a8d1f0af697b462939cb46066ec48bbf1707c150ad5fad6406137e91a262022c269702e01621f35ef60269f6c0d7fd178487959809acdfb14 - languageName: node - linkType: hard - "invert-kv@npm:^1.0.0": version: 1.0.0 resolution: "invert-kv@npm:1.0.0" @@ -14375,7 +14440,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0": +"loose-envify@npm:^1.1.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -15032,7 +15097,7 @@ __metadata: languageName: node linkType: hard -"mri@npm:^1.1.4": +"mri@npm:^1.1.4, mri@npm:^1.2.0": version: 1.2.0 resolution: "mri@npm:1.2.0" checksum: 6775a1d2228bb9d191ead4efc220bd6be64f943ad3afd4dcb3b3ac8fc7b87034443f666e38805df38e8d047b29f910c3cc7810da0109af83e42c82c73bd3f6bc @@ -16136,6 +16201,13 @@ __metadata: languageName: node linkType: hard +"package-manager-detector@npm:^0.2.0": + version: 0.2.2 + resolution: "package-manager-detector@npm:0.2.2" + checksum: 2dc2914aeff0729c37c1cf9762f65c0a6f09d6c64f666cc187e34de95bca54f16b4ca2e3c1e9ced87ea0637cfdb3c98261a838de04d9f1b1b26b6ae72bd55b80 + languageName: node + linkType: hard + "pacote@npm:^17.0.0, pacote@npm:^17.0.4": version: 17.0.5 resolution: "pacote@npm:17.0.5"