From a55382f4b686ff3afe241ae1fadbbdcd55dc6b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Rodriguez?= Date: Thu, 3 Aug 2023 13:57:07 -0300 Subject: [PATCH] Dependency (Substrate/Polkadot/Frontier/Cumulus/...) update to v0.9.43 (#2377) * begin upgrade to v0.9.43 * make client/vrf compile * make pallet-author-mapping compile * make pallet-erc20-xcm-bridge compile * make primitives/session-keys compile * fix test in pallet-parachain-staking * make pallet-moonbeam-orbiters compile * make pallet-asset-manager compile * fix dependencies * make pallet-xcm-transactor compile * make pallet-migrations compile * make pallet-randomness compile * fix schnorrkel in randomness * enable insecure_zero_ed flag * update frontier fork * use moonbeam forks * impl TypeInfo for TxPoolResponse * use our evm fork * AssetId non-Copy * make moonbase runtime compile * moonbeam runtime compiles * moonriver runtime compiles * start fixing client & node * fix frontier sql * fix mocks * fix relay-encoder * fix pallet-ethereum dep * prepare moonbase mocks & tests * prepare moonbeam mocks & tests * prepare moonriver mocks & tests * fix integration tests (costs) * fix node service * fix xcm tests * update cumulus pin * Merge branch 'master' into upgrade-v0.9.43 * remove changes in settings.json * fix rpc-port in dev & para node * fix randomness benchmarks * enable newRpcBehaviour on Moonwall * fmt * update moonkit pin * make tests compile with runtime-benchmarks feature * Update node invocations to use rpc-port instead of ws-port (#2388) * Update node invocations to use rpc-port instead of ws-port * Prettier * Removed unneeded options from moonwall config * Removed unused arg * Cargo.toml files fmt * Update RelayEncoder to be 9430 compatible (#2376) * Update RelayEncoder stake calls to latest changes * fmt * Naming * fmt * Fix tests * Completely removed old calls * fmt * Update Solidity contract * Updated tests * Review * Updated tests * fmt * Prettier * Prettier * Updated encodeNominate param type --------- Co-authored-by: Francisco Gamundi * Updated encodeSetPayee selector * clippy fixes in moonkit * clippy fixes in moonbeam * fix some rust benchmark tests * fix genesis balance for TS tests * fix some TS tests * fix fees & gas cost in TS tests * fix rust tests * Upgrade polkadot-js and support weight v2 for fees * update substrate & frontier pin * WasmExecutor ignore onchain heap pages * Fix moonwall chopsticks test * Fix zombie * moonwall dev fixes * restored APIs * add provider to chospticks storage * update polkadot pin * remove wasm overrideP * update substrate pin to fix pov tests * fix test * eth test fix * prettier * chopsticks fixes * disabled test * fix reducible balance TS test * fix moonwall * changed base ext weight * fix eth-tx-types TS tests * fix precompile assets-erc20 TS tests * status.isFrozen fix in precompile TS tests * fix test-txpool-fairness * fix proxy-governance TS tests * prettier * adjusted fillBlock input param * update frontier pin * fix fee-multiplier TS test * fix test-filter-api-pending * ED of zero in more mocks * remove unnecessary clone * change test-staking-locks timeout * change timeout in test-precompile-referenda * timeout again * upgrade rust to 1.71 * fix rust warning: unused mut * update substrate pin * proposer: enable feature ensure_proof_size_limit_after_each_extrinsic * fix clippy warnings * fix rust tests compilation * timeout * migrate to moonkit (#2384) * migrate to moonkit * make it compile * fix rust tests & clippy --------- Co-authored-by: agus * minor changes --------- Co-authored-by: librelois Co-authored-by: Nisheeth Barthwal Co-authored-by: Francisco Gamundi <52399794+fgamundi@users.noreply.github.com> Co-authored-by: Crystalin Co-authored-by: Francisco Gamundi Co-authored-by: Francisco Gamundi Co-authored-by: timbrinded <79199034+timbrinded@users.noreply.github.com> Co-authored-by: girazoki --- .../workflow-templates/dev-tests/action.yml | 6 +- .github/workflows/build.yml | 4 +- test/helpers/common.ts | 5 +- test/moonwall.config.json | 13 +- test/package.json | 13 +- test/pnpm-lock.yaml | 444 ++++++++---------- .../test-author-unregistered-clear.ts | 2 +- .../dev/test-eth-pool/test-eth-pool-error.ts | 14 +- test/suites/para/test_moonbase.ts | 11 +- test/suites/para/test_moonbeam.ts | 4 +- 10 files changed, 235 insertions(+), 281 deletions(-) diff --git a/.github/workflow-templates/dev-tests/action.yml b/.github/workflow-templates/dev-tests/action.yml index ffd63ec9553..fd8c571fb90 100644 --- a/.github/workflow-templates/dev-tests/action.yml +++ b/.github/workflow-templates/dev-tests/action.yml @@ -45,9 +45,9 @@ runs: run: | chmod uog+x target/release/moonbeam cd test - pnpm install - bun compile-solidity - bun moonwall test ${{ inputs.moonwall_environment }} + # pnpm i + pnpm moonwall test ${{ inputs.moonwall_environment }} + - name: Upload HTML report if: always() uses: actions/upload-artifact@v3.1.2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c2db81c46a..fe1067cbb5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -513,8 +513,8 @@ jobs: - name: "Install and run upgrade test" run: | cd test - pnpm install - bun moonwall test upgrade_${{matrix.chain}} + pnpm i + pnpm moonwall test upgrade_${{matrix.chain}} zombie_upgrade_test: runs-on: diff --git a/test/helpers/common.ts b/test/helpers/common.ts index 84ad0934c07..1336015a1b3 100644 --- a/test/helpers/common.ts +++ b/test/helpers/common.ts @@ -47,7 +47,10 @@ export function sortObjectByKeys(unsortedObject: Record): Record { const mapping = await context.polkadotJs().query.authorMapping.mappingWithDeposit(authorId); if (mapping.isSome) { return { diff --git a/test/moonwall.config.json b/test/moonwall.config.json index 66ad5234991..c5f0d9b56b6 100644 --- a/test/moonwall.config.json +++ b/test/moonwall.config.json @@ -188,20 +188,15 @@ "binPath": "../target/release/moonbeam", "newRpcBehaviour": true, "options": [ - "--execution=Native", - "--wasm-execution=interpreted-i-know-what-i-do", - "--ethapi=txpool", + "--dev", "--no-hardware-benchmarks", "--no-telemetry", "--reserved-only", - "--no-grandpa", - "--no-prometheus", - "--force-authoring", "--rpc-cors=all", - "--alice", - "--chain=moonbase-dev", + "--no-grandpa", "--sealing=manual", - "--tmp" + "--force-authoring", + "--no-prometheus" ] } ] diff --git a/test/package.json b/test/package.json index bfd810087ec..d9165bd2423 100644 --- a/test/package.json +++ b/test/package.json @@ -15,8 +15,8 @@ "license": "ISC", "devDependencies": { "@moonbeam-network/api-augment": "^0.2400.0", - "@moonwall/cli": "^4.0.9", - "@moonwall/util": "^4.0.8", + "@moonwall/cli": "^3.0.11", + "@moonwall/util": "^3.0.11", "@polkadot/api": "^10.9.1", "@polkadot/api-augment": "^10.9.1", "@polkadot/types": "^10.9.1", @@ -37,7 +37,7 @@ }, "dependencies": { "@acala-network/chopsticks": "^0.7.3", - "@openzeppelin/contracts": "^4.9.3", + "@openzeppelin/contracts": "^4.9.2", "@polkadot/api-derive": "^10.9.1", "@polkadot/apps-config": "^0.132.1", "@polkadot/keyring": "^12.3.2", @@ -52,10 +52,9 @@ "eth-object": "github:aurora-is-near/eth-object#master", "json-bigint": "^1.0.0", "json-stable-stringify": "^1.0.2", - "merkle-patricia-tree": "^4.2.4", - "node-fetch": "^3.3.2", - "rlp": "^3.0.0", - "semver": "^7.5.4", + "node-fetch": "^3.3.1", + "rimraf": "^5.0.1", + "semver": "^7.5.2", "solc": "0.8.19", "viem": "^1.5.3", "vitest": "^0.31.4" diff --git a/test/pnpm-lock.yaml b/test/pnpm-lock.yaml index 92f7ba8ea16..6f23f4f310a 100644 --- a/test/pnpm-lock.yaml +++ b/test/pnpm-lock.yaml @@ -7,7 +7,7 @@ settings: dependencies: '@acala-network/chopsticks': specifier: ^0.7.3 - version: 0.7.3(debug@4.3.4) + version: 0.7.3(debug@4.3.4)(ts-node@10.9.1) '@openzeppelin/contracts': specifier: ^4.9.3 version: 4.9.3 @@ -57,11 +57,11 @@ dependencies: specifier: ^4.2.4 version: 4.2.4 node-fetch: - specifier: ^3.3.2 - version: 3.3.2 - rlp: - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^3.3.1 + version: 3.3.1 + rimraf: + specifier: ^5.0.1 + version: 5.0.1 semver: specifier: ^7.5.4 version: 7.5.4 @@ -80,11 +80,11 @@ devDependencies: specifier: ^0.2400.0 version: 0.2400.0 '@moonwall/cli': - specifier: ^4.0.9 - version: 4.0.9(@acala-network/chopsticks@0.7.3)(@moonbeam-network/api-augment@0.2400.0)(@moonwall/util@4.0.8)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.7.0)(typescript@5.1.6)(viem@1.5.3)(web3-providers-ws@4.0.3)(web3@4.0.3) + specifier: ^3.0.11 + version: 3.0.11(@acala-network/chopsticks@0.7.3)(@moonbeam-network/api-augment@0.2400.0)(@moonwall/util@3.0.11)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.6.0)(typescript@5.1.3)(viem@1.0.7)(web3-providers-ws@4.0.1)(web3@4.0.1) '@moonwall/util': - specifier: ^4.0.8 - version: 4.0.8(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.7.0)(typescript@5.1.6)(web3@4.0.3) + specifier: ^3.0.11 + version: 3.0.11(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.6.0)(typescript@5.1.3)(web3@4.0.1) '@polkadot/api': specifier: ^10.9.1 version: 10.9.1 @@ -142,7 +142,7 @@ packages: /@acala-network/chopsticks-executor@0.7.3: resolution: {integrity: sha512-sPAQst4/i8S5i3aGPz7YXgRHfoR71HxOdk30PXnuExkUpOKQH1BYD0wuQkoVstonTeBwis3BSW5CL9Xz/4ksjQ==} - /@acala-network/chopsticks@0.7.3(debug@4.3.4): + /@acala-network/chopsticks@0.7.3(debug@4.3.4)(ts-node@10.9.1): resolution: {integrity: sha512-RYGFI1UQgNwc+rUwjoZEucLYesiG62IJXT9ABfs/KKEkvMx6JiJWwO37tObdGkUm4S8zezdRumEnOPOl+B65FQ==} hasBin: true dependencies: @@ -154,11 +154,11 @@ packages: js-yaml: 4.1.0 jsondiffpatch: 0.4.1 lodash: 4.17.21 - pino: 8.14.2 - pino-pretty: 10.2.0 + pino: 8.14.1 + pino-pretty: 10.0.1 reflect-metadata: 0.1.13 sqlite3: 5.1.6 - typeorm: 0.3.17(sqlite3@5.1.6) + typeorm: 0.3.17(sqlite3@5.1.6)(ts-node@10.9.1) ws: 8.13.0 yargs: 17.7.2 zod: 3.21.4 @@ -1010,12 +1010,17 @@ packages: resolution: {integrity: sha512-ELJa2ftIbe8Ds2ejS7kO5HumN9EB5l2OBi3Qsy5iHJsHKq2HtXfFoKnW38HarM6hADrWG+e/yNGHSKJIJzEZuA==} dev: false - /@jest/schemas@29.6.0: - resolution: {integrity: sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} dependencies: - '@sinclair/typebox': 0.27.8 - dev: true + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: false /@jridgewell/gen-mapping@0.3.3: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} @@ -1110,14 +1115,14 @@ packages: engines: {node: '>=14.0.0'} dev: true - /@moonwall/cli@4.0.9(@acala-network/chopsticks@0.7.3)(@moonbeam-network/api-augment@0.2400.0)(@moonwall/util@4.0.8)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.7.0)(typescript@5.1.6)(viem@1.5.3)(web3-providers-ws@4.0.3)(web3@4.0.3): - resolution: {integrity: sha512-9Bk3XKcEViGGdoh3BDsdpjCYoholAuLmaSFFQbSeJQcqaZL2tBTxiB2B7gKuUPnrFQWDN+JV1lpLmhlAM3cQ1A==} + /@moonwall/cli@3.0.11(@acala-network/chopsticks@0.7.3)(@moonbeam-network/api-augment@0.2400.0)(@moonwall/util@3.0.11)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.6.0)(typescript@5.1.3)(viem@1.0.7)(web3-providers-ws@4.0.1)(web3@4.0.1): + resolution: {integrity: sha512-qZwKmXzAcpwlYv+/kcl3QbqdjuQ06rdEDLO7INNTCmlqRe9YjKGe//5FhBfC7T7ZwxxSvFeeTdwbL2hMqNQnrg==} engines: {node: '>=14.16.0', pnpm: '>=7'} hasBin: true peerDependencies: '@acala-network/chopsticks': ^0.7.3 '@moonbeam-network/api-augment': ^0.2400.0 - '@moonwall/util': 4.0.8 + '@moonwall/util': 3.0.11 '@polkadot/api': ^10.9.1 '@polkadot/api-augment': ^10.9.1 '@polkadot/api-derive': ^10.9.1 @@ -1130,10 +1135,10 @@ packages: web3: 4.0.3 web3-providers-ws: 4.0.3 dependencies: - '@acala-network/chopsticks': 0.7.3(debug@4.3.4) + '@acala-network/chopsticks': 0.7.3(debug@4.3.4)(ts-node@10.9.1) '@moonbeam-network/api-augment': 0.2400.0 - '@moonwall/types': 4.0.8 - '@moonwall/util': 4.0.8(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.7.0)(typescript@5.1.6)(web3@4.0.3) + '@moonwall/types': 3.0.11 + '@moonwall/util': 3.0.11(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.6.0)(typescript@5.1.3)(web3@4.0.1) '@polkadot/api': 10.9.1 '@polkadot/api-augment': 10.9.1 '@polkadot/api-derive': 10.9.1 @@ -1196,8 +1201,8 @@ packages: - webdriverio dev: true - /@moonwall/types@4.0.8: - resolution: {integrity: sha512-AVYzWk2YNmgnIiWRLyL/CqXVtkNeE4ObYiGhR7sil6P3scHZe1BxBIkAvFcyKdTxcYThdmXMGdvMLmwXA8a46g==} + /@moonwall/types@3.0.11: + resolution: {integrity: sha512-tcKOSuh1n+pJ7lzBI4gubRfD17/xaNpNJvHy8T5XxFnomoThcTaimN5SckMRxIRhCSKlWC0/NNrJnqxjXodpgQ==} engines: {node: '>=14.16.0', pnpm: '>=7'} dependencies: '@polkadot/api': 10.9.1 @@ -1211,8 +1216,8 @@ packages: - utf-8-validate dev: true - /@moonwall/util@4.0.8(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.7.0)(typescript@5.1.6)(web3@4.0.3): - resolution: {integrity: sha512-S1boxp1V2MEvEE4ZGIvaDy2Bg7vtsTLA/kqop4GZ0G7yEgzs1XMW7L/61JPe3ZFWyDB7wrW7sf8XyI6ZdfBiWA==} + /@moonwall/util@3.0.11(@moonbeam-network/api-augment@0.2400.0)(@polkadot/api-augment@10.9.1)(@polkadot/api-derive@10.9.1)(@polkadot/api@10.9.1)(@polkadot/keyring@12.3.2)(@polkadot/rpc-provider@10.9.1)(@polkadot/types-codec@10.9.1)(@polkadot/types@10.9.1)(@polkadot/util@12.3.2)(@vitest/ui@0.31.4)(ethers@6.6.0)(typescript@5.1.3)(web3@4.0.1): + resolution: {integrity: sha512-rVJeL0evPE9cMMlntwZsHwRPQogvsqcH5z72EBnJfJOEhXZuwEtxw4E7Oe/P6Cq0Zh4uSReOwEyroe3Izq/0Iw==} engines: {node: '>=14.16.0', pnpm: '>=7'} peerDependencies: '@moonbeam-network/api-augment': ^0.2400.0 @@ -1228,7 +1233,7 @@ packages: web3: 4.0.3 dependencies: '@moonbeam-network/api-augment': 0.2400.0 - '@moonwall/types': 4.0.8 + '@moonwall/types': 3.0.11 '@polkadot/api': 10.9.1 '@polkadot/api-augment': 10.9.1 '@polkadot/api-derive': 10.9.1 @@ -1400,6 +1405,13 @@ packages: resolution: {integrity: sha512-CaRzIGfU6CUIKLPswYtOw/xbtTttqmJZpr3fhkxLvkBQMXIH14iISD763OFXtWui7DrAMBKo/bHawvFNgWGKTg==} dev: false + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true + dev: false + optional: true + /@pnpm/config.env-replace@1.1.0: resolution: {integrity: sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==} engines: {node: '>=12.22.0'} @@ -2891,6 +2903,7 @@ packages: '@noble/hashes': 1.3.1 '@scure/base': 1.1.1 dev: true + optional: true /@scure/bip39@1.2.0: resolution: {integrity: sha512-SX/uKq52cuxm4YFXWFaVByaSHJh2w3BnokVSeUJVCv6K7WulT9u2BuNRBhuFl8vAuYnzx9bEu9WgpcNYTrYieg==} @@ -2904,15 +2917,7 @@ packages: '@noble/hashes': 1.3.1 '@scure/base': 1.1.1 dev: true - - /@sinclair/typebox@0.27.8: - resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - dev: true - - /@sindresorhus/is@4.6.0: - resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} - engines: {node: '>=10'} - dev: false + optional: true /@snowfork/snowbridge-types@0.2.7(@polkadot/util-crypto@12.3.2)(@polkadot/util@12.3.2): resolution: {integrity: sha512-Dz3OM8xvYhzL7XU/QOjgyPWZI4IgPKGByaJo6eZe3UMS6F7TLaFaZW1oYhQVTTahGWWAE6ZwwCuMkVh2FC/9bw==} @@ -3557,7 +3562,6 @@ packages: /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} engines: {node: '>=12'} - dev: true /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} @@ -3575,6 +3579,11 @@ packages: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} + /ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + dev: false + /any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -3755,46 +3764,6 @@ packages: /bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} - /body-parser@1.20.1: - resolution: {integrity: sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dependencies: - bytes: 3.1.2 - content-type: 1.0.5 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.1 - type-is: 1.6.18 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - dev: false - - /body-parser@1.20.2: - resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dependencies: - bytes: 3.1.2 - content-type: 1.0.5 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.11.0 - raw-body: 2.5.2 - type-is: 1.6.18 - unpipe: 1.0.0 - transitivePeerDependencies: - - supports-color - dev: false - /boolean@3.2.0: resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==} @@ -4323,7 +4292,6 @@ packages: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 - dev: true /css-color-keywords@1.0.0: resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==} @@ -4542,6 +4510,13 @@ packages: /detect-node@2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} + /dezalgo@1.0.4: + resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==} + dependencies: + asap: 2.0.6 + wrappy: 1.0.2 + dev: true + /diff-match-patch@1.0.5: resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==} @@ -4580,11 +4555,8 @@ packages: resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} engines: {node: '>=12'} - /ecc-jsbn@0.1.2: - resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==} - dependencies: - jsbn: 0.1.1 - safer-buffer: 2.1.2 + /eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: false /ed2curve@0.3.0: @@ -4611,19 +4583,8 @@ packages: /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - /encodeurl@1.0.2: - resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} - engines: {node: '>= 0.8'} - dev: false - - /encoding-down@6.3.0: - resolution: {integrity: sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==} - engines: {node: '>=6'} - dependencies: - abstract-leveldown: 6.3.0 - inherits: 2.0.4 - level-codec: 9.0.2 - level-errors: 2.0.1 + /emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} dev: false /encoding@0.1.13: @@ -4690,6 +4651,9 @@ packages: /es6-error@4.1.1: resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} + /es6-error@4.1.1: + resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} + /es6-iterator@2.0.3: resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} dependencies: @@ -4873,19 +4837,18 @@ packages: '@scure/bip39': 1.2.1 dev: true - /ethereumjs-util@7.1.5: - resolution: {integrity: sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg==} - engines: {node: '>=10.0.0'} + /ethereum-cryptography@2.1.0: + resolution: {integrity: sha512-QX4uRmoGJdxDPsncrOaeVCC7JOOvMzUXkvo9Xasv2EKV5RwZgZxQ9s5yEbWSB1MSeso362hWWRPV/FYKNLditw==} dependencies: - '@types/bn.js': 5.1.1 - bn.js: 5.2.1 - create-hash: 1.2.0 - ethereum-cryptography: 0.1.3 - rlp: 2.2.7 - dev: false + '@noble/curves': 1.1.0 + '@noble/hashes': 1.3.1 + '@scure/bip32': 1.3.1 + '@scure/bip39': 1.2.1 + dev: true + optional: true - /ethers@6.7.0: - resolution: {integrity: sha512-pxt5hK82RNwcTX2gOZP81t6qVPVspnkpeivwEgQuK9XUvbNtghBnT8GNIb/gPh+WnVSfi8cXC9XlfT8sqc6D6w==} + /ethers@6.6.0: + resolution: {integrity: sha512-7D2U+n8eZYmh592VZqap9vBu50jN7YUDHqAmwBYTMntmUKC9RVgcqcFbd+3DTCOQ1jMyK6QHv1usbcfgiGaHOA==} engines: {node: '>=14.0.0'} dependencies: '@adraffy/ens-normalize': 1.9.2 @@ -5143,6 +5106,14 @@ packages: mime-types: 2.1.35 dev: false + /foreground-child@3.1.1: + resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + engines: {node: '>=14'} + dependencies: + cross-spawn: 7.0.3 + signal-exit: 4.0.2 + dev: false + /form-data@3.0.1: resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} engines: {node: '>= 6'} @@ -5218,10 +5189,6 @@ packages: /function-bind@1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} - /functional-red-black-tree@1.0.1: - resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - dev: false - /functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true @@ -5281,13 +5248,6 @@ packages: has-proto: 1.0.1 has-symbols: 1.0.3 - /get-stream@5.2.0: - resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} - engines: {node: '>=8'} - dependencies: - pump: 3.0.0 - dev: false - /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -5310,6 +5270,18 @@ packages: dependencies: is-glob: 4.0.3 + /glob@10.3.3: + resolution: {integrity: sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + dependencies: + foreground-child: 3.1.1 + jackspeak: 2.2.1 + minimatch: 9.0.1 + minipass: 5.0.0 + path-scurry: 1.10.1 + dev: false + /glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} dependencies: @@ -5359,16 +5331,9 @@ packages: es6-error: 4.1.1 matcher: 3.0.0 roarr: 2.15.4 - semver: 7.5.4 + semver: 7.5.2 serialize-error: 7.0.1 - /global@4.4.0: - resolution: {integrity: sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==} - dependencies: - min-document: 2.19.0 - process: 0.11.10 - dev: false - /globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} @@ -5436,6 +5401,9 @@ packages: /graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + /graceful-fs@4.2.10: + resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} @@ -5687,7 +5655,7 @@ packages: /ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - /inquirer-press-to-continue@1.2.0(inquirer@8.2.6): + /inquirer-press-to-continue@1.2.0(inquirer@8.2.5): resolution: {integrity: sha512-HdKOgEAydYhI3OKLy5S4LMi7a/AHJjPzF06mHqbdVxlTmHOaytQVBaVbQcSytukD70K9FYLhYicNOPuNjFiWVQ==} peerDependencies: inquirer: '>=8.0.0 <10.0.0' @@ -5972,8 +5940,13 @@ packages: ws: 8.13.0 dev: true - /isstream@0.1.2: - resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} + /jackspeak@2.2.1: + resolution: {integrity: sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==} + engines: {node: '>=14'} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 dev: false /jdenticon@3.2.0: @@ -6093,7 +6066,6 @@ packages: dependencies: chalk: 2.4.2 diff-match-patch: 1.0.5 - bundledDependencies: [] /jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -6304,14 +6276,9 @@ packages: dependencies: get-func-name: 2.0.0 - /lowercase-keys@2.0.0: - resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} - engines: {node: '>=8'} - dev: false - - /lowercase-keys@3.0.0: - resolution: {integrity: sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + /lru-cache@10.0.0: + resolution: {integrity: sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==} + engines: {node: 14 || >=16.14} dev: false /lru-cache@6.0.0: @@ -6525,7 +6492,6 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 - dev: true /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -7129,7 +7095,14 @@ packages: /path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - dev: true + + /path-scurry@1.10.1: + resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + lru-cache: 10.0.0 + minipass: 5.0.0 + dev: false /path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} @@ -7185,8 +7158,8 @@ packages: readable-stream: 4.4.2 split2: 4.2.0 - /pino-pretty@10.2.0: - resolution: {integrity: sha512-tRvpyEmGtc2D+Lr3FulIZ+R1baggQ4S3xD2Ar93KixFEDx6SEAUP3W5aYuEw1C73d6ROrNcB2IXLteW8itlwhA==} + /pino-pretty@10.0.1: + resolution: {integrity: sha512-yrn00+jNpkvZX/NrPVCPIVHAfTDy3ahF0PND9tKqZk4j9s+loK8dpzrJj4dGb7i+WLuR50ussuTAiWoMWU+qeA==} hasBin: true dependencies: colorette: 2.0.20 @@ -7607,6 +7580,14 @@ packages: dependencies: glob: 7.2.3 + /rimraf@5.0.1: + resolution: {integrity: sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg==} + engines: {node: '>=14'} + hasBin: true + dependencies: + glob: 10.3.3 + dev: false + /ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} dependencies: @@ -7636,8 +7617,8 @@ packages: semver-compare: 1.0.0 sprintf-js: 1.1.2 - /rollup@3.27.1: - resolution: {integrity: sha512-tXNDFwOkN6C2w5Blj1g6ForKeFw6c1mDu5jxoeDO3/pmYjgt+8yvIFjKzH5FQUq70OKZBkOt0zzv0THXL7vwzQ==} + /rollup@3.25.1: + resolution: {integrity: sha512-tywOR+rwIt5m2ZAWSe5AIJcTat8vGlnPFAv15ycCrw33t6iFsXZ6mzHVFh2psSjxQPmI+xgzMZZizUAukBI4aQ==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -7711,16 +7692,11 @@ packages: /secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} - /semaphore-async-await@1.5.1: - resolution: {integrity: sha512-b/ptP11hETwYWpeilHXXQiV5UJNJl7ZWWooKRE5eBIYWoom6dZ0SluCIdCtKycsMtZgKWE01/qAw6jblw1YVhg==} - engines: {node: '>=4.1'} - dev: false - /semver-compare@1.0.0: resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==} - /semver@5.7.2: - resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + /semver@5.7.1: + resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true dev: false @@ -7735,27 +7711,6 @@ packages: dependencies: lru-cache: 6.0.0 - /send@0.18.0: - resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} - engines: {node: '>= 0.8.0'} - dependencies: - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - encodeurl: 1.0.2 - escape-html: 1.0.3 - etag: 1.8.1 - fresh: 0.5.2 - http-errors: 2.0.0 - mime: 1.6.0 - ms: 2.1.3 - on-finished: 2.4.1 - range-parser: 1.2.1 - statuses: 2.0.1 - transitivePeerDependencies: - - supports-color - dev: false - /serialize-error@7.0.1: resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==} engines: {node: '>=10'} @@ -7818,12 +7773,10 @@ packages: engines: {node: '>=8'} dependencies: shebang-regex: 3.0.0 - dev: true /shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - dev: true /side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} @@ -7838,16 +7791,9 @@ packages: /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - /simple-concat@1.0.1: - resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} - dev: false - - /simple-get@2.8.2: - resolution: {integrity: sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw==} - dependencies: - decompress-response: 3.3.0 - once: 1.4.0 - simple-concat: 1.0.1 + /signal-exit@4.0.2: + resolution: {integrity: sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==} + engines: {node: '>=14'} dev: false /sirv@2.0.3: @@ -8030,6 +7976,15 @@ packages: is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 + /string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + dev: false + /string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} dependencies: @@ -8046,7 +8001,6 @@ packages: engines: {node: '>=12'} dependencies: ansi-regex: 6.0.1 - dev: true /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} @@ -8449,7 +8403,7 @@ packages: is-typedarray: 1.0.0 dev: false - /typeorm@0.3.17(sqlite3@5.1.6): + /typeorm@0.3.17(sqlite3@5.1.6)(ts-node@10.9.1): resolution: {integrity: sha512-UDjUEwIQalO9tWw9O2A4GU+sT3oyoUXheHJy4ft+RFdnRdQctdQ34L9SqE2p7LdwzafHx1maxT+bqXON+Qnmig==} engines: {node: '>= 12.9.0'} hasBin: true @@ -9000,7 +8954,7 @@ packages: web3-utils: 4.0.3 web3-validator: 1.0.2 optionalDependencies: - web3-providers-ipc: 4.0.3 + web3-providers-ipc: 4.0.2 transitivePeerDependencies: - bufferutil - encoding @@ -9014,16 +8968,16 @@ packages: web3-types: 1.0.2 dev: true - /web3-eth-abi@1.10.0: - resolution: {integrity: sha512-cwS+qRBWpJ43aI9L3JS88QYPfFcSJJ3XapxOQ4j40v6mk7ATpA8CVK1vGTzpihNlOfMVRBkR95oAj7oL6aiDOg==} - engines: {node: '>=8.0.0'} + /web3-errors@1.0.1: + resolution: {integrity: sha512-ohSr2aZALaTLgdTY2E3//1a1xSvXpe+GsFRJpPgDFv2Ch5Hnva6/bJtieitPIstND0DHHVBwtR/qHGxX2rMY4A==} + engines: {node: '>=14', npm: '>=6.12.0'} dependencies: - '@ethersproject/abi': 5.7.0 - web3-utils: 1.10.0 - dev: false + web3-types: 1.0.1 + dev: true + optional: true - /web3-eth-abi@4.0.3: - resolution: {integrity: sha512-is1sKkTna5LQri25iRbxJ43kQ6qlFR/Syi6dnpwsFua0qAyKuDTxLZDoMaBfdH8NvxvjuGWFUWALwuSk8gk5Xg==} + /web3-eth-abi@4.0.1: + resolution: {integrity: sha512-l4vS3oxec8A5bO5ognCQQY+ZonPolw77roNVnFdqkmf3MQpUHHovxCn1kFD+eeiT3DpeSt6GbVT9Zt6koA/LHw==} engines: {node: '>=14', npm: '>=6.12.0'} dependencies: '@ethersproject/abi': 5.7.0 @@ -9297,22 +9251,14 @@ packages: - encoding dev: true - /web3-providers-ipc@1.10.0: - resolution: {integrity: sha512-OfXG1aWN8L1OUqppshzq8YISkWrYHaATW9H8eh0p89TlWMc1KZOL9vttBuaBEi96D/n0eYDn2trzt22bqHWfXA==} - engines: {node: '>=8.0.0'} - dependencies: - oboe: 2.1.5 - web3-core-helpers: 1.10.0 - dev: false - - /web3-providers-ipc@4.0.3: - resolution: {integrity: sha512-v+Ugp5XXUVcAQju/u4ThdjI3FM9lq674F6cJ7yz3R6uTel+wNPDiT47Se8hvm5grgHid7z3MbVYCQpDCiiAFHw==} + /web3-providers-ipc@4.0.2: + resolution: {integrity: sha512-rALRkeNYCB4/Un5sVgYeuC3Yox0sDYaRd/m/CigXC3yf3jl73zvvjTV5FdWPNOVQjxj8ikdvcBeCAcEVCkX/kg==} engines: {node: '>=14', npm: '>=6.12.0'} requiresBuild: true dependencies: - web3-errors: 1.0.2 - web3-types: 1.0.2 - web3-utils: 4.0.3 + web3-errors: 1.0.1 + web3-types: 1.0.1 + web3-utils: 4.0.2 dev: true optional: true @@ -9374,21 +9320,14 @@ packages: engines: {node: '>=14', npm: '>=6.12.0'} dev: true - /web3-utils@1.10.0: - resolution: {integrity: sha512-kSaCM0uMcZTNUSmn5vMEhlo02RObGNRRCkdX0V9UTAU0+lrvn0HSaudyCo6CQzuXUsnuY2ERJGCGPfeWmv19Rg==} - engines: {node: '>=8.0.0'} - dependencies: - bn.js: 5.2.1 - ethereum-bloom-filters: 1.0.10 - ethereumjs-util: 7.1.5 - ethjs-unit: 0.1.6 - number-to-bn: 1.7.0 - randombytes: 2.1.0 - utf8: 3.0.0 - dev: false + /web3-types@1.0.1: + resolution: {integrity: sha512-sFq4OPrpt9TBbxxQQuDiFBHjoMa5SADauB16IxoRl1FVLU41gCcNp+QYi8oo2AtYh32suKH+snm2feIDwgo8cw==} + engines: {node: '>=14', npm: '>=6.12.0'} + dev: true + optional: true - /web3-utils@4.0.3: - resolution: {integrity: sha512-clBvm/vWR2mAc9nPnsPYBZMikIhVG9RAsXdrxvXI4e2jAQ3DTtHKMhqy+Cl214dQaAdAEYyVb5ILW5lKKqk2vA==} + /web3-utils@4.0.1: + resolution: {integrity: sha512-q5Pys++MarxUtN/OWrtv7l2kpNBJdDbV13/doO7A2W8I+TqigakKEJQtKiyAIbfnifrIZqyT7+/zzCfPS/sLnw==} engines: {node: '>=14', npm: '>=6.12.0'} dependencies: ethereum-cryptography: 2.1.2 @@ -9397,8 +9336,19 @@ packages: web3-validator: 1.0.2 dev: true - /web3-validator@1.0.2: - resolution: {integrity: sha512-orx1CQAEnwJUnl/8iF2II2zSA4wiooNJvFmVE0Dbmt/kE370SugIDViQP76snhxtouG2AXzz4GyKbPCMlLGh/A==} + /web3-utils@4.0.2: + resolution: {integrity: sha512-AQjSDMUbetPzMAPQQO74Smt8LY2uDMUqJxywFUYUm6OJvUO+W8Ak/PTSeRhosIHOakS/Xc3fMZIsCQJmfJgNqw==} + engines: {node: '>=14', npm: '>=6.12.0'} + dependencies: + ethereum-cryptography: 2.1.0 + web3-errors: 1.0.1 + web3-types: 1.0.1 + web3-validator: 1.0.1 + dev: true + optional: true + + /web3-validator@1.0.0: + resolution: {integrity: sha512-WShojVeF7hcaPGzO9vgZukqxd6NWL5A9sIv5uhZzK0mGPvPvc0wqSdKeiwby0cFDH09AW2Q1Qz6knKhXDe7CzA==} engines: {node: '>=14', npm: '>=6.12.0'} dependencies: ethereum-cryptography: 2.1.2 @@ -9408,27 +9358,20 @@ packages: web3-types: 1.0.2 dev: true - /web3@1.10.0: - resolution: {integrity: sha512-YfKY9wSkGcM8seO+daR89oVTcbu18NsVfvOngzqMYGUU0pPSQmE57qQDvQzUeoIOHAnXEBNzrhjQJmm8ER0rng==} - engines: {node: '>=8.0.0'} - requiresBuild: true + /web3-validator@1.0.1: + resolution: {integrity: sha512-hsT8hFhYia5tlTIf08TDjBYjJ2sgUoh9WehpNrYB8UIaFA0QB7mv06fASXU3ukjiKF9V8MeDZnJPit6JRmQj6A==} + engines: {node: '>=14', npm: '>=6.12.0'} dependencies: - web3-bzz: 1.10.0 - web3-core: 1.10.0 - web3-eth: 1.10.0 - web3-eth-personal: 1.10.0 - web3-net: 1.10.0 - web3-shh: 1.10.0 - web3-utils: 1.10.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: false + ethereum-cryptography: 2.1.0 + is-my-json-valid: 2.20.6 + util: 0.12.5 + web3-errors: 1.0.1 + web3-types: 1.0.1 + dev: true + optional: true - /web3@4.0.3: - resolution: {integrity: sha512-rUMxui5f52yPWjiMRQV6xqIrTQSovYM2CNhl57y+xj/fGXNLbI1D5FsLPnUMZjMaFHJBTteaBxq/sTEaw/1jNA==} + /web3@4.0.1: + resolution: {integrity: sha512-IVxPbRy3A+RYB2+NYReNPLDXvE2iamTTvx1oNjM4UdbhNt/KQujQusOaRfSpGqfIKBCIYrim1c5LSCFcKlfQhA==} engines: {node: '>=14.0.0', npm: '>=6.12.0'} dependencies: web3-core: 4.0.3 @@ -9586,6 +9529,15 @@ packages: string-width: 4.2.3 strip-ansi: 6.0.1 + /wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + dev: false + /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} diff --git a/test/suites/dev/test-author/test-author-unregistered-clear.ts b/test/suites/dev/test-author/test-author-unregistered-clear.ts index 089ee48c480..1d57fae1e86 100644 --- a/test/suites/dev/test-author/test-author-unregistered-clear.ts +++ b/test/suites/dev/test-author/test-author-unregistered-clear.ts @@ -12,7 +12,7 @@ describeSuite({ id: "", title: "should not succeed in clearing an association for an unregistered author", test: async function () { - expect(await getMappingInfo(context, BALTATHAR_SESSION_ADDRESS)).toBeUndefined(); + expect(await getMappingInfo(context, BALTATHAR_SESSION_ADDRESS)).to.eq(null); const api = context.polkadotJs(); const { result } = await context.createBlock( api.tx.authorMapping.clearAssociation(BALTATHAR_SESSION_ADDRESS), diff --git a/test/suites/dev/test-eth-pool/test-eth-pool-error.ts b/test/suites/dev/test-eth-pool/test-eth-pool-error.ts index dde74dfccb0..2e01121242a 100644 --- a/test/suites/dev/test-eth-pool/test-eth-pool-error.ts +++ b/test/suites/dev/test-eth-pool/test-eth-pool-error.ts @@ -8,10 +8,13 @@ import { GOLIATH_ADDRESS, GOLIATH_PRIVATE_KEY, MIN_GAS_PRICE, - createEthersTransaction, + createEthersTxn, + createRawTransaction, createRawTransfer, sendRawTransaction, } from "@moonwall/util"; +import { ALITH_GENESIS_TRANSFERABLE_BALANCE } from "../../../helpers/constants.js"; +import { setTimeout } from "timers/promises"; import { parseGwei } from "viem"; import { ALITH_GENESIS_TRANSFERABLE_BALANCE } from "../../../helpers/constants.js"; @@ -75,16 +78,17 @@ describeSuite({ id: "T03", title: "nonce too low", test: async function () { - const nonce = await context.viem().getTransactionCount({ address: CHARLETH_ADDRESS }); - const tx1 = await context.createTxn!({ + const nonce = await context + .viem("public") + .getTransactionCount({ address: CHARLETH_ADDRESS }); + const tx1 = await createRawTransaction(context, { to: BALTATHAR_ADDRESS, value: 1n, nonce, privateKey: CHARLETH_PRIVATE_KEY, }); await context.createBlock(tx1); - - const tx2 = await context.createTxn!({ + const tx2 = await createRawTransaction(context, { to: DOROTHY_ADDRESS, value: 2n, nonce: Math.max(nonce - 1, 0), diff --git a/test/suites/para/test_moonbase.ts b/test/suites/para/test_moonbase.ts index 1057f279e97..1d56196764e 100644 --- a/test/suites/para/test_moonbase.ts +++ b/test/suites/para/test_moonbase.ts @@ -14,8 +14,9 @@ describeSuite({ let relayApi: ApiPromise; beforeAll(async () => { - paraApi = context.polkadotJs("parachain"); - relayApi = context.polkadotJs("relaychain"); + paraApi = context.polkadotJs({ apiName: "parachain", type: "moon" }); + relayApi = context.polkadotJs({ apiName: "relaychain", type: "polkadotJs" }); + ethersSigner = context.ethers(); const relayNetwork = relayApi.consts.system.version.specName.toString(); expect(relayNetwork, "Relay API incorrect").to.contain("rococo"); @@ -106,15 +107,15 @@ describeSuite({ title: "Tags are present on emulated Ethereum blocks", test: async function () { expect( - (await context.ethers().provider!.getBlock("safe"))!.number, + (await ethersSigner.provider!.getBlock("safe"))!.number, "Safe tag is not present" ).to.be.greaterThan(0); expect( - (await context.ethers().provider!.getBlock("finalized"))!.number, + (await ethersSigner.provider!.getBlock("finalized"))!.number, "Finalized tag is not present" ).to.be.greaterThan(0); expect( - (await context.ethers().provider!.getBlock("latest"))!.number, + (await ethersSigner.provider!.getBlock("latest"))!.number, "Latest tag is not present" ).to.be.greaterThan(0); // log(await ethersSigner.provider.getTransactionCount(ALITH_ADDRESS, "latest")); diff --git a/test/suites/para/test_moonbeam.ts b/test/suites/para/test_moonbeam.ts index 9d5c83f3163..93e44421a9f 100644 --- a/test/suites/para/test_moonbeam.ts +++ b/test/suites/para/test_moonbeam.ts @@ -15,8 +15,8 @@ describeSuite({ let ethersSigner: Signer; beforeAll(async () => { - paraApi = context.polkadotJs("parachain"); - relayApi = context.polkadotJs("relaychain"); + paraApi = context.polkadotJs({ apiName: "parachain", type: "moon" }); + relayApi = context.polkadotJs({ apiName: "relaychain", type: "polkadotJs" }); ethersSigner = context.ethers()!; const relayNetwork = relayApi.consts.system.version.specName.toString();