From cfe6d02e45363a937cd23ba9a06198871a7ee5a5 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Fri, 3 May 2024 15:00:25 +0100 Subject: [PATCH 01/19] test transient storage (eip-1153) --- .../contracts/src/dancun/TransientStorage.sol | 57 ++++ test/package.json | 2 +- test/pnpm-lock.yaml | 264 ++++++++++++------ .../moonbase/test-contract/test-eip1153.ts | 37 +++ 4 files changed, 270 insertions(+), 90 deletions(-) create mode 100644 test/contracts/src/dancun/TransientStorage.sol create mode 100644 test/suites/dev/moonbase/test-contract/test-eip1153.ts diff --git a/test/contracts/src/dancun/TransientStorage.sol b/test/contracts/src/dancun/TransientStorage.sol new file mode 100644 index 0000000000..d17238c0a2 --- /dev/null +++ b/test/contracts/src/dancun/TransientStorage.sol @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +contract ReentrancyProtected { + // A constant key for the reentrancy guard stored in Transient Storage. + // This acts as a unique identifier for the reentrancy lock. + bytes32 constant REENTRANCY_GUARD = keccak256("REENTRANCY_GUARD"); + + // Modifier to prevent reentrant calls. + // It checks if the reentrancy guard is set (indicating an ongoing execution) + // and sets the guard before proceeding with the function execution. + // After the function executes, it resets the guard to allow future calls. + modifier nonReentrant() { + // Ensure the guard is not set (i.e., no ongoing execution). + require(tload(REENTRANCY_GUARD) == 0, "Reentrant call detected."); + + // Set the guard to block reentrant calls. + tstore(REENTRANCY_GUARD, 1); + + _; // Execute the function body. + + // Reset the guard after execution to allow future calls. + tstore(REENTRANCY_GUARD, 0); + } + + // Uses inline assembly to access the Transient Storage's tstore operation. + function tstore(bytes32 location, uint value) private { + assembly { + tstore(location, value) + } + } + + // Uses inline assembly to access the Transient Storage's tload operation. + // Returns the value stored at the given location. + function tload(bytes32 location) private returns (uint value) { + assembly { + value := tload(location) + } + } + + function nonReentrantMethod() public nonReentrant { + (bool success, bytes memory result) = msg.sender.call(""); + if (!success) { + assembly { + revert(add(32, result), mload(result)) + } + } + } + + function test() external { + this.nonReentrantMethod(); + } + + receive() external payable { + this.nonReentrantMethod(); + } +} diff --git a/test/package.json b/test/package.json index f612fa6fd6..add8429e70 100644 --- a/test/package.json +++ b/test/package.json @@ -46,7 +46,7 @@ "randomness": "1.6.8", "rlp": "3.0.0", "semver": "7.6.0", - "solc": "0.8.21", + "solc": "0.8.25", "tsx": "4.7.2", "viem": "2.9.9", "vitest": "1.4.0", diff --git a/test/pnpm-lock.yaml b/test/pnpm-lock.yaml index cdf3273330..50ab4c077f 100644 --- a/test/pnpm-lock.yaml +++ b/test/pnpm-lock.yaml @@ -96,8 +96,8 @@ dependencies: specifier: 7.6.0 version: 7.6.0 solc: - specifier: 0.8.21 - version: 0.8.21(debug@4.3.4) + specifier: 0.8.25 + version: 0.8.25(debug@4.3.4) tsx: specifier: 4.7.2 version: 4.7.2 @@ -1563,18 +1563,39 @@ packages: dev: false optional: true + /@polkadot-api/json-rpc-provider-proxy@0.0.1: + resolution: {integrity: sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg==} + requiresBuild: true + dev: false + optional: true + /@polkadot-api/json-rpc-provider-proxy@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-0hZ8vtjcsyCX8AyqP2sqUHa1TFFfxGWmlXJkit0Nqp9b32MwZqn5eaUAiV2rNuEpoglKOdKnkGtUF8t5MoodKw==} requiresBuild: true dev: false optional: true + /@polkadot-api/json-rpc-provider@0.0.1: + resolution: {integrity: sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA==} + requiresBuild: true + dev: false + optional: true + /@polkadot-api/json-rpc-provider@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-EaUS9Fc3wsiUr6ZS43PQqaRScW7kM6DYbuM/ou0aYjm8N9MBqgDbGm2oL6RE1vAVmOfEuHcXZuZkhzWtyvQUtA==} requiresBuild: true dev: false optional: true + /@polkadot-api/metadata-builders@0.0.1: + resolution: {integrity: sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA==} + requiresBuild: true + dependencies: + '@polkadot-api/substrate-bindings': 0.0.1 + '@polkadot-api/utils': 0.0.1 + dev: false + optional: true + /@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg==} requiresBuild: true @@ -1584,6 +1605,31 @@ packages: dev: false optional: true + /@polkadot-api/observable-client@0.1.0(rxjs@7.8.1): + resolution: {integrity: sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A==} + requiresBuild: true + peerDependencies: + rxjs: '>=7.8.0' + dependencies: + '@polkadot-api/metadata-builders': 0.0.1 + '@polkadot-api/substrate-bindings': 0.0.1 + '@polkadot-api/substrate-client': 0.0.1 + '@polkadot-api/utils': 0.0.1 + rxjs: 7.8.1 + dev: false + optional: true + + /@polkadot-api/substrate-bindings@0.0.1: + resolution: {integrity: sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg==} + requiresBuild: true + dependencies: + '@noble/hashes': 1.4.0 + '@polkadot-api/utils': 0.0.1 + '@scure/base': 1.1.6 + scale-ts: 1.6.0 + dev: false + optional: true + /@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-N4vdrZopbsw8k57uG58ofO7nLXM4Ai7835XqakN27MkjXMp5H830A1KJE0L9sGQR7ukOCDEIHHcwXVrzmJ/PBg==} requiresBuild: true @@ -1595,12 +1641,24 @@ packages: dev: false optional: true + /@polkadot-api/substrate-client@0.0.1: + resolution: {integrity: sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg==} + requiresBuild: true + dev: false + optional: true + /@polkadot-api/substrate-client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-lcdvd2ssUmB1CPzF8s2dnNOqbrDa+nxaaGbuts+Vo8yjgSKwds2Lo7Oq+imZN4VKW7t9+uaVcKFLMF7PdH0RWw==} requiresBuild: true dev: false optional: true + /@polkadot-api/utils@0.0.1: + resolution: {integrity: sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw==} + requiresBuild: true + dev: false + optional: true + /@polkadot-api/utils@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0: resolution: {integrity: sha512-0CYaCjfLQJTCRCiYvZ81OncHXEKPzAexCMoVloR+v2nl/O2JRya/361MtPkeNLC6XBoaEgLAG9pWQpH3WePzsw==} requiresBuild: true @@ -1624,15 +1682,15 @@ packages: - utf-8-validate dev: false - /@polkadot/api-augment@10.13.1: - resolution: {integrity: sha512-IAKaCp19QxgOG4HKk9RAgUgC/VNVqymZ2GXfMNOZWImZhxRIbrK+raH5vN2MbWwtVHpjxyXvGsd1RRhnohI33A==} + /@polkadot/api-augment@11.0.2: + resolution: {integrity: sha512-Icrwk9DxcWlMxl0UFhIthYX+TzFGhxC2zwCaIgUbE5l1hoRFWl+K4BbLOtNdGTr6jkEkJizdnzbXvxWMYHZEOA==} engines: {node: '>=18'} dependencies: - '@polkadot/api-base': 10.13.1 - '@polkadot/rpc-augment': 10.13.1 - '@polkadot/types': 10.13.1 - '@polkadot/types-augment': 10.13.1 - '@polkadot/types-codec': 10.13.1 + '@polkadot/api-base': 11.0.2 + '@polkadot/rpc-augment': 11.0.2 + '@polkadot/types': 11.0.2 + '@polkadot/types-augment': 11.0.2 + '@polkadot/types-codec': 11.0.2 '@polkadot/util': 12.6.2 tslib: 2.6.2 transitivePeerDependencies: @@ -1689,12 +1747,12 @@ packages: - utf-8-validate dev: false - /@polkadot/api-base@10.13.1: - resolution: {integrity: sha512-Okrw5hjtEjqSMOG08J6qqEwlUQujTVClvY1/eZkzKwNzPelWrtV6vqfyJklB7zVhenlxfxqhZKKcY7zWSW/q5Q==} + /@polkadot/api-base@11.0.2: + resolution: {integrity: sha512-Sz1z6KHe+AyiQRxwSXU2KM0KSKZ97sc1WBEhqqkGuR3YdaV2Pt++ixSJe1FXt5/YyMI/KU0W8GSciK6Kydgxgw==} engines: {node: '>=18'} dependencies: - '@polkadot/rpc-core': 10.13.1 - '@polkadot/types': 10.13.1 + '@polkadot/rpc-core': 11.0.2 + '@polkadot/types': 11.0.2 '@polkadot/util': 12.6.2 rxjs: 7.8.1 tslib: 2.6.2 @@ -1753,16 +1811,16 @@ packages: - utf-8-validate dev: false - /@polkadot/api-derive@10.13.1: - resolution: {integrity: sha512-ef0H0GeCZ4q5Om+c61eLLLL29UxFC2/u/k8V1K2JOIU+2wD5LF7sjAoV09CBMKKHfkLenRckVk2ukm4rBqFRpg==} + /@polkadot/api-derive@11.0.2: + resolution: {integrity: sha512-1E3alBICLBbsNJ4HvJkyIuCznuOgksS6cQ+H57K0d9NCC4xZcCqreHm+VTlZh3HZjDgw4CPDRvhgCDvDOP8KpA==} engines: {node: '>=18'} dependencies: - '@polkadot/api': 10.13.1 - '@polkadot/api-augment': 10.13.1 - '@polkadot/api-base': 10.13.1 - '@polkadot/rpc-core': 10.13.1 - '@polkadot/types': 10.13.1 - '@polkadot/types-codec': 10.13.1 + '@polkadot/api': 11.0.2 + '@polkadot/api-augment': 11.0.2 + '@polkadot/api-base': 11.0.2 + '@polkadot/rpc-core': 11.0.2 + '@polkadot/types': 11.0.2 + '@polkadot/types-codec': 11.0.2 '@polkadot/util': 12.6.2 '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) rxjs: 7.8.1 @@ -1839,22 +1897,22 @@ packages: - utf-8-validate dev: false - /@polkadot/api@10.13.1: - resolution: {integrity: sha512-YrKWR4TQR5CDyGkF0mloEUo7OsUA+bdtENpJGOtNavzOQUDEbxFE0PVzokzZfVfHhHX2CojPVmtzmmLxztyJkg==} + /@polkadot/api@11.0.2: + resolution: {integrity: sha512-LG4gwlev+SC2WolWMX0CaUZJyZWxXbsCe5h58zFxXucQuiPAvkn0QrnSTC3hB3qywsxK6aeuQ9E2vrQYcN7EMg==} engines: {node: '>=18'} dependencies: - '@polkadot/api-augment': 10.13.1 - '@polkadot/api-base': 10.13.1 - '@polkadot/api-derive': 10.13.1 + '@polkadot/api-augment': 11.0.2 + '@polkadot/api-base': 11.0.2 + '@polkadot/api-derive': 11.0.2 '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2)(@polkadot/util@12.6.2) - '@polkadot/rpc-augment': 10.13.1 - '@polkadot/rpc-core': 10.13.1 - '@polkadot/rpc-provider': 10.13.1 - '@polkadot/types': 10.13.1 - '@polkadot/types-augment': 10.13.1 - '@polkadot/types-codec': 10.13.1 - '@polkadot/types-create': 10.13.1 - '@polkadot/types-known': 10.13.1 + '@polkadot/rpc-augment': 11.0.2 + '@polkadot/rpc-core': 11.0.2 + '@polkadot/rpc-provider': 11.0.2 + '@polkadot/types': 11.0.2 + '@polkadot/types-augment': 11.0.2 + '@polkadot/types-codec': 11.0.2 + '@polkadot/types-create': 11.0.2 + '@polkadot/types-known': 11.0.2 '@polkadot/util': 12.6.2 '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) eventemitter3: 5.0.1 @@ -2140,13 +2198,13 @@ packages: - utf-8-validate dev: false - /@polkadot/rpc-augment@10.13.1: - resolution: {integrity: sha512-iLsWUW4Jcx3DOdVrSHtN0biwxlHuTs4QN2hjJV0gd0jo7W08SXhWabZIf9mDmvUJIbR7Vk+9amzvegjRyIf5+A==} + /@polkadot/rpc-augment@11.0.2: + resolution: {integrity: sha512-QcT9U2hINcjynJhHC4AhoHNgZR5JymDkuhAIOVYsNb1BUcDzoud5lvfK+ISfw2kVPAyCdx3kHodFPhdNdPGHUg==} engines: {node: '>=18'} dependencies: - '@polkadot/rpc-core': 10.13.1 - '@polkadot/types': 10.13.1 - '@polkadot/types-codec': 10.13.1 + '@polkadot/rpc-core': 11.0.2 + '@polkadot/types': 11.0.2 + '@polkadot/types-codec': 11.0.2 '@polkadot/util': 12.6.2 tslib: 2.6.2 transitivePeerDependencies: @@ -2200,13 +2258,13 @@ packages: - utf-8-validate dev: false - /@polkadot/rpc-core@10.13.1: - resolution: {integrity: sha512-eoejSHa+/tzHm0vwic62/aptTGbph8vaBpbvLIK7gd00+rT813ROz5ckB1CqQBFB23nHRLuzzX/toY8ID3xrKw==} + /@polkadot/rpc-core@11.0.2: + resolution: {integrity: sha512-kC+85+WIc/uKColIGzrnRjM47N+AjbujRkTf0n9ldwtAIYJnq+B09R3Qjmk+kXrdW5fes85L/WigqwkohMfNkw==} engines: {node: '>=18'} dependencies: - '@polkadot/rpc-augment': 10.13.1 - '@polkadot/rpc-provider': 10.13.1 - '@polkadot/types': 10.13.1 + '@polkadot/rpc-augment': 11.0.2 + '@polkadot/rpc-provider': 11.0.2 + '@polkadot/types': 11.0.2 '@polkadot/util': 12.6.2 rxjs: 7.8.1 tslib: 2.6.2 @@ -2271,13 +2329,13 @@ packages: - utf-8-validate dev: false - /@polkadot/rpc-provider@10.13.1: - resolution: {integrity: sha512-oJ7tatVXYJ0L7NpNiGd69D558HG5y5ZDmH2Bp9Dd4kFTQIiV8A39SlWwWUPCjSsen9lqSvvprNLnG/VHTpenbw==} + /@polkadot/rpc-provider@11.0.2: + resolution: {integrity: sha512-EHoWs27r+V8NKexawcTkDzSJtYAXmkz8/zge+Ctm0PzdxtP740U9xvbK7uZ0INXeLIPdKKk7n9lGib3fhnXRvQ==} engines: {node: '>=18'} dependencies: '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2)(@polkadot/util@12.6.2) - '@polkadot/types': 10.13.1 - '@polkadot/types-support': 10.13.1 + '@polkadot/types': 11.0.2 + '@polkadot/types-support': 11.0.2 '@polkadot/util': 12.6.2 '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) '@polkadot/x-fetch': 12.6.2 @@ -2288,7 +2346,7 @@ packages: nock: 13.5.4 tslib: 2.6.2 optionalDependencies: - '@substrate/connect': 0.8.8 + '@substrate/connect': 0.8.10 transitivePeerDependencies: - bufferutil - supports-color @@ -2351,12 +2409,12 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types-augment@10.13.1: - resolution: {integrity: sha512-TcrLhf95FNFin61qmVgOgayzQB/RqVsSg9thAso1Fh6pX4HSbvI35aGPBAn3SkA6R+9/TmtECirpSNLtIGFn0g==} + /@polkadot/types-augment@11.0.2: + resolution: {integrity: sha512-36C1LNWrd/IJu4y4xJFsklw7qmyBMnH16WLkIoma7W7tCkPyuvKpl9btTcNpY9UE0FLb3AEhO0shrz3KUANk/g==} engines: {node: '>=18'} dependencies: - '@polkadot/types': 10.13.1 - '@polkadot/types-codec': 10.13.1 + '@polkadot/types': 11.0.2 + '@polkadot/types-codec': 11.0.2 '@polkadot/util': 12.6.2 tslib: 2.6.2 dev: false @@ -2390,8 +2448,8 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types-codec@10.13.1: - resolution: {integrity: sha512-AiQ2Vv2lbZVxEdRCN8XSERiWlOWa2cTDLnpAId78EnCtx4HLKYQSd+Jk9Y4BgO35R79mchK4iG+w6gZ+ukG2bg==} + /@polkadot/types-codec@11.0.2: + resolution: {integrity: sha512-OL7jM9JNzmRo+gLNIWllvyv3I4k+2dywKchC9gw/D5OCkFD+B5T3oHUw99zzER0C/r7/vTH9RM3w79yeW0UYKA==} engines: {node: '>=18'} dependencies: '@polkadot/util': 12.6.2 @@ -2425,11 +2483,11 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types-create@10.13.1: - resolution: {integrity: sha512-Usn1jqrz35SXgCDAqSXy7mnD6j4RvB4wyzTAZipFA6DGmhwyxxIgOzlWQWDb+1PtPKo9vtMzen5IJ+7w5chIeA==} + /@polkadot/types-create@11.0.2: + resolution: {integrity: sha512-yx5Gef3QkbJjzbEGoyOxv74XslGEK1Uo0IC8qSmwHsqO2+QoAEU7uJ9QpSNxHAcRrjx1W3+MdJAsfXtnwOiOeQ==} engines: {node: '>=18'} dependencies: - '@polkadot/types-codec': 10.13.1 + '@polkadot/types-codec': 11.0.2 '@polkadot/util': 12.6.2 tslib: 2.6.2 dev: false @@ -2464,14 +2522,14 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types-known@10.13.1: - resolution: {integrity: sha512-uHjDW05EavOT5JeU8RbiFWTgPilZ+odsCcuEYIJGmK+es3lk/Qsdns9Zb7U7NJl7eJ6OWmRtyrWsLs+bU+jjIQ==} + /@polkadot/types-known@11.0.2: + resolution: {integrity: sha512-c89H2y2mMCjuf5X9tTadwHpJtnQvfVxlJLTlrGElfImzWNgRetIjH65Zgy/uh/I9LqTxRlk5y3ZhBMZgL/ybbg==} engines: {node: '>=18'} dependencies: '@polkadot/networks': 12.6.2 - '@polkadot/types': 10.13.1 - '@polkadot/types-codec': 10.13.1 - '@polkadot/types-create': 10.13.1 + '@polkadot/types': 11.0.2 + '@polkadot/types-codec': 11.0.2 + '@polkadot/types-create': 11.0.2 '@polkadot/util': 12.6.2 tslib: 2.6.2 dev: false @@ -2528,8 +2586,8 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types-support@10.13.1: - resolution: {integrity: sha512-4gEPfz36XRQIY7inKq0HXNVVhR6HvXtm7yrEmuBuhM86LE0lQQBkISUSgR358bdn2OFSLMxMoRNoh3kcDvdGDQ==} + /@polkadot/types-support@11.0.2: + resolution: {integrity: sha512-p26QwtEniCyqUX9WoMtEp5LRdrmvvUf8s8Dx6P3W8/lU+hYeKQjeGCudWoudSXIYpsfTliLEowoxmjx4Wn4GIw==} engines: {node: '>=18'} dependencies: '@polkadot/util': 12.6.2 @@ -2566,14 +2624,14 @@ packages: tslib: 2.6.2 dev: false - /@polkadot/types@10.13.1: - resolution: {integrity: sha512-Hfvg1ZgJlYyzGSAVrDIpp3vullgxrjOlh/CSThd/PI4TTN1qHoPSFm2hs77k3mKkOzg+LrWsLE0P/LP2XddYcw==} + /@polkadot/types@11.0.2: + resolution: {integrity: sha512-jYORxnbR9cOoLW2KI7OAbHlC8bQr+Anj34CqgtlEikRSZBlmmx1CLD08hZSnSHkVAQgqHB6SLfFIW5VTI2YaqA==} engines: {node: '>=18'} dependencies: '@polkadot/keyring': 12.6.2(@polkadot/util-crypto@12.6.2)(@polkadot/util@12.6.2) - '@polkadot/types-augment': 10.13.1 - '@polkadot/types-codec': 10.13.1 - '@polkadot/types-create': 10.13.1 + '@polkadot/types-augment': 11.0.2 + '@polkadot/types-codec': 11.0.2 + '@polkadot/types-create': 11.0.2 '@polkadot/util': 12.6.2 '@polkadot/util-crypto': 12.6.2(@polkadot/util@12.6.2) rxjs: 7.8.1 @@ -3470,7 +3528,7 @@ packages: /@subsocial/definitions@0.8.14: resolution: {integrity: sha512-K/8ZYGMyy15QI16bxgi0GfxP3JsnKeNAyPlwom1kDE89RGGs5O++PuWbXxVMMSVYfh9zn9qJYKiThBYIj/Vohg==} dependencies: - '@polkadot/api': 10.13.1 + '@polkadot/api': 11.0.2 lodash.camelcase: 4.3.0 transitivePeerDependencies: - bufferutil @@ -3494,6 +3552,12 @@ packages: dev: false optional: true + /@substrate/connect-known-chains@1.1.4: + resolution: {integrity: sha512-iT+BdKqvKl/uBLd8BAJysFM1BaMZXRkaXBP2B7V7ob/EyNs5h0EMhTVbO6MJxV/IEOg5OKsyl6FUqQK7pKnqyw==} + requiresBuild: true + dev: false + optional: true + /@substrate/connect@0.7.0-alpha.0: resolution: {integrity: sha512-fvO7w++M8R95R/pGJFW9+cWOt8OYnnTfgswxtlPqSgzqX4tta8xcNQ51crC72FcL5agwSGkA1gc2/+eyTj7O8A==} dependencies: @@ -3517,6 +3581,20 @@ packages: dev: false optional: true + /@substrate/connect@0.8.10: + resolution: {integrity: sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w==} + requiresBuild: true + dependencies: + '@substrate/connect-extension-protocol': 2.0.0 + '@substrate/connect-known-chains': 1.1.4 + '@substrate/light-client-extension-helpers': 0.0.6(smoldot@2.0.22) + smoldot: 2.0.22 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + optional: true + /@substrate/connect@0.8.8: resolution: {integrity: sha512-zwaxuNEVI9bGt0rT8PEJiXOyebLIo6QN1SyiAHRPBOl6g3Sy0KKdSN8Jmyn++oXhVRD8aIe75/V8ZkS81T+BPQ==} requiresBuild: true @@ -3548,6 +3626,23 @@ packages: dev: false optional: true + /@substrate/light-client-extension-helpers@0.0.6(smoldot@2.0.22): + resolution: {integrity: sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA==} + requiresBuild: true + peerDependencies: + smoldot: 2.x + dependencies: + '@polkadot-api/json-rpc-provider': 0.0.1 + '@polkadot-api/json-rpc-provider-proxy': 0.0.1 + '@polkadot-api/observable-client': 0.1.0(rxjs@7.8.1) + '@polkadot-api/substrate-client': 0.0.1 + '@substrate/connect-extension-protocol': 2.0.0 + '@substrate/connect-known-chains': 1.1.4 + rxjs: 7.8.1 + smoldot: 2.0.22 + dev: false + optional: true + /@substrate/smoldot-light@0.6.8: resolution: {integrity: sha512-9lVwbG6wrtss0sd6013BJGe4WN4taujsGG49pwyt1Lj36USeL2Sb164TTUxmZF/g2NQEqDPwPROBdekQ2gFmgg==} dependencies: @@ -6110,18 +6205,6 @@ packages: /flatted@3.3.1: resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} - /follow-redirects@1.15.4(debug@4.3.4): - resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} - engines: {node: '>=4.0'} - peerDependencies: - debug: '*' - peerDependenciesMeta: - debug: - optional: true - dependencies: - debug: 4.3.4(supports-color@8.1.1) - dev: false - /follow-redirects@1.15.6(debug@4.3.4): resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} engines: {node: '>=4.0'} @@ -9405,14 +9488,14 @@ packages: dev: false optional: true - /solc@0.8.21(debug@4.3.4): - resolution: {integrity: sha512-N55ogy2dkTRwiONbj4e6wMZqUNaLZkiRcjGyeafjLYzo/tf/IvhHY5P5wpe+H3Fubh9idu071i8eOGO31s1ylg==} + /solc@0.8.25(debug@4.3.4): + resolution: {integrity: sha512-7P0TF8gPeudl1Ko3RGkyY6XVCxe2SdD/qQhtns1vl3yAbK/PDifKDLHGtx1t7mX3LgR7ojV7Fg/Kc6Q9D2T8UQ==} engines: {node: '>=10.0.0'} hasBin: true dependencies: command-exists: 1.2.9 commander: 8.3.0 - follow-redirects: 1.15.4(debug@4.3.4) + follow-redirects: 1.15.6(debug@4.3.4) js-sha3: 0.8.0 memorystream: 0.3.1 semver: 5.7.2 @@ -9449,6 +9532,9 @@ packages: /sqlite3@5.1.7: resolution: {integrity: sha512-GGIyOiFaG+TUra3JIfkI/zGP8yZYLPQ0pl1bH+ODjiX57sPhrLU5sQJn1y9bDKZUFYkX1crlrPfSYt0BKKdkog==} requiresBuild: true + peerDependenciesMeta: + node-gyp: + optional: true dependencies: bindings: 1.5.0 node-addon-api: 7.1.0 @@ -11231,7 +11317,7 @@ packages: name: eth-object version: 1.0.3 dependencies: - eth-util-lite: github.com/near/eth-util-lite/ae0210cbe127b4d43ba01fd7cd4898d1a3f6c96a + eth-util-lite: github.com/near/eth-util-lite/427b7634a123d171432f3b38c6542913a3897ac7 ethereumjs-util: 7.1.5 web3: 1.10.4 transitivePeerDependencies: @@ -11241,8 +11327,8 @@ packages: - utf-8-validate dev: false - github.com/near/eth-util-lite/ae0210cbe127b4d43ba01fd7cd4898d1a3f6c96a: - resolution: {tarball: https://codeload.github.com/near/eth-util-lite/tar.gz/ae0210cbe127b4d43ba01fd7cd4898d1a3f6c96a} + github.com/near/eth-util-lite/427b7634a123d171432f3b38c6542913a3897ac7: + resolution: {tarball: https://codeload.github.com/near/eth-util-lite/tar.gz/427b7634a123d171432f3b38c6542913a3897ac7} name: eth-util-lite version: 1.0.1 dependencies: diff --git a/test/suites/dev/moonbase/test-contract/test-eip1153.ts b/test/suites/dev/moonbase/test-contract/test-eip1153.ts new file mode 100644 index 0000000000..d3167efb95 --- /dev/null +++ b/test/suites/dev/moonbase/test-contract/test-eip1153.ts @@ -0,0 +1,37 @@ +import { beforeAll, describeSuite, expect } from "@moonwall/cli"; +import exp from "constants"; + +describeSuite({ + id: "D010611", + title: "EIP-1153 - Transient storage", + foundationMethods: "dev", + testCases: ({ context, it, log }) => { + let contract: `0x${string}`; + + beforeAll(async function () { + const { contractAddress } = await context.deployContract!("ReentrancyProtected", { + gas: 1000000n, + }); + contract = contractAddress; + }); + + it({ + id: "T01", + title: "should detect reentrant call and revert", + test: async function () { + try { + await context.writeContract!({ + contractName: "ReentrancyProtected", + contractAddress: contract, + functionName: "test", + }) + } catch (error) { + return expect(error.details).to.be.eq( + "VM Exception while processing transaction: revert Reentrant call detected." + ); + } + expect.fail("Expected the contract call to fail"); + }, + }); + } +}); From 6257d199a19faca8d4874ed16171616b8cb50d0b Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Fri, 3 May 2024 15:21:33 +0100 Subject: [PATCH 02/19] fix file format --- test/suites/dev/moonbase/test-contract/test-eip1153.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/suites/dev/moonbase/test-contract/test-eip1153.ts b/test/suites/dev/moonbase/test-contract/test-eip1153.ts index d3167efb95..edd54f8ab9 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip1153.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip1153.ts @@ -1,5 +1,4 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import exp from "constants"; describeSuite({ id: "D010611", @@ -24,7 +23,7 @@ describeSuite({ contractName: "ReentrancyProtected", contractAddress: contract, functionName: "test", - }) + }); } catch (error) { return expect(error.details).to.be.eq( "VM Exception while processing transaction: revert Reentrant call detected." @@ -33,5 +32,5 @@ describeSuite({ expect.fail("Expected the contract call to fail"); }, }); - } + }, }); From 99f1aec466ec71b5149b06855999401eb4a1fb21 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Mon, 6 May 2024 08:56:30 +0100 Subject: [PATCH 03/19] temp: update frontier and evm branches --- Cargo.lock | 244 ++++++++++++++++++++++++++--------------------------- Cargo.toml | 52 ++++++------ 2 files changed, 148 insertions(+), 148 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b039f1d186..fb551aa7ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1007,8 +1007,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", + "rand 0.7.3", + "rand_core 0.5.1", "serde", "unicode-normalization", ] @@ -3143,7 +3143,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" dependencies = [ "auto_impl", "environmental", @@ -3163,7 +3163,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" dependencies = [ "environmental", "evm-core", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" dependencies = [ "auto_impl", "environmental", @@ -3297,7 +3297,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "async-trait", "fp-storage", @@ -3309,7 +3309,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "async-trait", "fp-consensus", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "async-trait", "ethereum", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fc-db", "fc-storage", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "ethereum-types", @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "ethereum-types", @@ -3449,7 +3449,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "ethereum-types", @@ -3627,7 +3627,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", ] @@ -3644,7 +3644,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "hex", "impl-serde 0.4.0", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "parity-scale-codec", @@ -3675,7 +3675,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "ethereum-types", @@ -3688,7 +3688,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "evm", "frame-support", @@ -3704,7 +3704,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "ethereum", "ethereum-types", @@ -3721,7 +3721,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "frame-support", "parity-scale-codec", @@ -3733,7 +3733,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "parity-scale-codec", "serde", @@ -3748,7 +3748,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "frame-support", "frame-support-procedural", @@ -3901,7 +3901,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "aquamarine", "array-bytes 6.2.2", @@ -3942,7 +3942,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "Inflector", "cfg-expr", @@ -3961,7 +3961,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3973,7 +3973,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "proc-macro2", "quote", @@ -3983,7 +3983,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "cfg-if", "docify", @@ -8483,7 +8483,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "environmental", "ethereum", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "environmental", "evm", @@ -8565,7 +8565,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "frame-support", "frame-system", @@ -8659,7 +8659,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", ] @@ -8667,7 +8667,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "sp-core", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "frame-support", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "num", @@ -9107,7 +9107,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "tiny-keccak", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "ripemd", @@ -9126,7 +9126,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "fp-evm", "frame-support", @@ -11677,7 +11677,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "environmental", "evm", @@ -11734,7 +11734,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#2c05f9d4d951efacf504d610286da6ac908b1302" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" dependencies = [ "case", "num_enum 0.7.2", @@ -12051,7 +12051,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.58", @@ -12840,7 +12840,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "log", "sp-core", @@ -12902,7 +12902,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "sp-api", @@ -12917,7 +12917,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "docify", @@ -12943,7 +12943,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -12998,7 +12998,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "fnv", "futures 0.3.30", @@ -13025,7 +13025,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -13051,7 +13051,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -13076,7 +13076,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -13329,7 +13329,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -13352,7 +13352,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "log", "parity-scale-codec", @@ -13375,7 +13375,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "sc-allocator", @@ -13388,7 +13388,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "anyhow", "cfg-if", @@ -13408,7 +13408,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "ansi_term", "futures 0.3.30", @@ -13425,7 +13425,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", @@ -13439,7 +13439,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -13468,7 +13468,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13511,7 +13511,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-channel 1.9.0", "cid", @@ -13531,7 +13531,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -13567,7 +13567,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13588,7 +13588,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13624,7 +13624,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -13686,7 +13686,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -13718,7 +13718,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13738,7 +13738,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "http", "jsonrpsee", @@ -13753,7 +13753,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "futures 0.3.30", @@ -13783,7 +13783,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "directories", @@ -13846,7 +13846,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "log", "parity-scale-codec", @@ -13889,7 +13889,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "derive_more", "futures 0.3.30", @@ -13910,7 +13910,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "chrono", "futures 0.3.30", @@ -13929,7 +13929,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "ansi_term", "chrono", @@ -13959,7 +13959,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -13970,7 +13970,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -13997,7 +13997,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -14013,7 +14013,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-channel 1.9.0", "futures 0.3.30", @@ -14654,7 +14654,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "hash-db 0.16.0", "log", @@ -14675,7 +14675,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "Inflector", "blake2 0.10.6", @@ -14689,7 +14689,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "scale-info", @@ -14702,7 +14702,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "integer-sqrt", "num-traits", @@ -14747,7 +14747,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "sp-api", "sp-inherents", @@ -14758,7 +14758,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "futures 0.3.30", "log", @@ -14776,7 +14776,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "futures 0.3.30", @@ -14791,7 +14791,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "parity-scale-codec", @@ -14847,7 +14847,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "finality-grandpa", "log", @@ -14865,7 +14865,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "scale-info", @@ -14877,7 +14877,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -14923,7 +14923,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "sp-crypto-hashing", ] @@ -14952,7 +14952,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "blake2b_simd", "byteorder", @@ -14965,7 +14965,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "quote", "sp-crypto-hashing", @@ -14975,7 +14975,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -14984,7 +14984,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "proc-macro2", "quote", @@ -14994,7 +14994,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "environmental", "parity-scale-codec", @@ -15005,7 +15005,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "serde_json", "sp-api", @@ -15016,7 +15016,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -15030,7 +15030,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "bytes", "ed25519-dalek", @@ -15065,7 +15065,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -15077,7 +15077,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "thiserror", "zstd 0.12.4", @@ -15086,7 +15086,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -15097,7 +15097,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "scale-info", @@ -15141,7 +15141,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "sp-api", "sp-core", @@ -15151,7 +15151,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "backtrace", "lazy_static", @@ -15161,7 +15161,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "rustc-hash", "serde", @@ -15171,7 +15171,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "docify", "either", @@ -15195,7 +15195,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -15213,7 +15213,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "Inflector", "expander 2.0.0", @@ -15226,7 +15226,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "scale-info", @@ -15241,7 +15241,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15255,7 +15255,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "hash-db 0.16.0", "log", @@ -15276,7 +15276,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.2", @@ -15301,12 +15301,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -15319,7 +15319,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "parity-scale-codec", @@ -15332,7 +15332,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "sp-std", @@ -15344,7 +15344,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "sp-api", "sp-runtime", @@ -15353,7 +15353,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "async-trait", "parity-scale-codec", @@ -15368,7 +15368,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "ahash 0.8.11", "hash-db 0.16.0", @@ -15392,7 +15392,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -15409,7 +15409,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -15420,7 +15420,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -15433,7 +15433,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -15640,7 +15640,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "array-bytes 6.2.2", "bounded-collections", @@ -15870,7 +15870,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "hyper", "log", @@ -17940,7 +17940,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index a113caf64b..54f9d9e67f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -235,40 +235,40 @@ ethereum = { version = "0.15.0", default-features = false, features = [ "with-codec", ] } ethereum-types = { version = "0.14", default-features = false } -evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false, features = [ +evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "v0.4.1-cancun", default-features = false } +evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "v0.4.1-cancun", default-features = false } +evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "v0.4.1-cancun", default-features = false } +fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false, features = [ +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } -pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } +pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", default-features = false } # Frontier (client) -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2", features = [ +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-v1.7.2" } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "cancun" } # Cumulus (wasm) cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.7.2", default-features = false } From 9bacce39e58ae8c038618090693a47fe742f715f Mon Sep 17 00:00:00 2001 From: Agusrodri Date: Mon, 6 May 2024 08:50:04 -0700 Subject: [PATCH 04/19] update evm and frontier deps --- Cargo.lock | 60 +++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb551aa7ab..ae384a3c46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3143,7 +3143,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" dependencies = [ "auto_impl", "environmental", @@ -3163,7 +3163,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" dependencies = [ "environmental", "evm-core", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#3a5847de924dee90179cd4cb540fd06995204fcd" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" dependencies = [ "auto_impl", "environmental", @@ -3297,7 +3297,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "async-trait", "fp-storage", @@ -3309,7 +3309,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "async-trait", "fp-consensus", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "async-trait", "ethereum", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fc-db", "fc-storage", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "ethereum-types", @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "ethereum-types", @@ -3449,7 +3449,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "ethereum-types", @@ -3644,7 +3644,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "hex", "impl-serde 0.4.0", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "parity-scale-codec", @@ -3675,7 +3675,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "ethereum-types", @@ -3688,7 +3688,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "evm", "frame-support", @@ -3704,7 +3704,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "ethereum", "ethereum-types", @@ -3721,7 +3721,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "frame-support", "parity-scale-codec", @@ -3733,7 +3733,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "parity-scale-codec", "serde", @@ -8483,7 +8483,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "environmental", "ethereum", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "environmental", "evm", @@ -8565,7 +8565,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "frame-support", "frame-system", @@ -8659,7 +8659,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", ] @@ -8667,7 +8667,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "sp-core", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "frame-support", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "num", @@ -9107,7 +9107,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "tiny-keccak", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "ripemd", @@ -9126,7 +9126,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "fp-evm", "frame-support", @@ -11677,7 +11677,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "environmental", "evm", @@ -11734,7 +11734,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#ed47222e85ccaaaab0ae96b669cba3a6c2b60d74" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" dependencies = [ "case", "num_enum 0.7.2", From d27cff308a3cf964d0e307183352efd07a42f712 Mon Sep 17 00:00:00 2001 From: Agusrodri Date: Mon, 6 May 2024 12:14:00 -0700 Subject: [PATCH 05/19] fix ts tests --- test/contracts/src/ERC20ExcessGas.sol | 2 +- .../dev/moonbase/test-fees/test-fee-multiplier-max.ts | 6 +++--- .../test-storage-growth/test-evm-create-storage-growth.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/contracts/src/ERC20ExcessGas.sol b/test/contracts/src/ERC20ExcessGas.sol index 73a5d0e8bb..6b86c61fb1 100644 --- a/test/contracts/src/ERC20ExcessGas.sol +++ b/test/contracts/src/ERC20ExcessGas.sol @@ -18,7 +18,7 @@ contract ERC20ExcessGas is ERC20WithInitialSupply { uint256 amount ) public override returns (bool) { // Consume gas to over Erc20XcmBridgeTransferGasLimit - for (uint i = 0; i < 2000; i++) { + for (uint i = 0; i < 2200; i++) { _gasHog += i; } diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index 437c8d173b..735a888cb1 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -139,7 +139,7 @@ describeSuite({ blockNumber = (await context.polkadotJs().rpc.chain.getHeader()).number.toBigInt(); baseFeePerGas = (await context.viem().getBlock({ blockNumber: blockNumber })) .baseFeePerGas!; - expect(baseFeePerGas).to.equal(124_752_265_078_107n); + expect(baseFeePerGas).to.equal(124_752_134_188_357n); const rawSigned = await createEthersTransaction(context, { to: contractAddress, @@ -163,7 +163,7 @@ describeSuite({ ({ event }) => event.method == "ExtrinsicSuccess" )[0]; const weight = successEvent.event.data.dispatchInfo.weight.refTime.toBigInt(); - expect(weight).to.equal(2_378_300_000n); + expect(weight).to.equal(1_734_300_000n); const withdrawEvents = interactionResult?.events.filter( ({ event }) => event.method == "Withdraw" @@ -171,7 +171,7 @@ describeSuite({ expect(withdrawEvents?.length).to.equal(1); const withdrawEvent = withdrawEvents![0]; const amount = withdrawEvent.event.data.amount.toBigInt(); - expect(amount).to.equal(11_867_932_481_410_475_124n); + expect(amount).to.equal(11_867_920_029_606_778_124n); }, }); }, diff --git a/test/suites/dev/moonbase/test-storage-growth/test-evm-create-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-evm-create-storage-growth.ts index 9adc303070..d2860e3e9a 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-evm-create-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-evm-create-storage-growth.ts @@ -12,7 +12,7 @@ describeSuite({ // (Account Code Size (112) + Length of the bytecode (550)) * Storage Growth Gas Ratio (366) // The length of the bytecode is in the generate Fibonacci.json // file at 'contract.evm.deployedBytecode.object' - const EXPECTED_STORAGE_GROWTH_GAS = 242_292; + const EXPECTED_STORAGE_GROWTH_GAS = 222_292; for (const txnType of TransactionTypes) { it({ id: `T0${TransactionTypes.indexOf(txnType) + 1}`, @@ -42,7 +42,7 @@ describeSuite({ }); expect(estimatedGas).toBeGreaterThanOrEqual(EXPECTED_STORAGE_GROWTH_GAS); - expect(estimatedGas).toBe(263644n); + expect(estimatedGas).toBe(226670n); }, }); From 87a37ac7bc9660db317920258f5c8741de2d7252 Mon Sep 17 00:00:00 2001 From: Agusrodri Date: Mon, 6 May 2024 17:09:37 -0700 Subject: [PATCH 06/19] fix test-block-storage-growth --- .../moonbase/test-storage-growth/test-block-storage-growth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/suites/dev/moonbase/test-storage-growth/test-block-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-block-storage-growth.ts index 5ef97e1e7f..a309a8bc55 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-block-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-block-storage-growth.ts @@ -28,7 +28,7 @@ describeSuite({ } await context.createBlock(); - expect((await context.viem().getBlock()).transactions.length).toBe(246); + expect((await context.viem().getBlock()).transactions.length).toBe(264); }, }); }, From c69ba8c4535340e4df8ffcaf7046a3125992b1e8 Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk Date: Wed, 22 May 2024 10:25:43 +0200 Subject: [PATCH 07/19] feat: support for cancun selfdestruct changes (EIP-6780) --- Cargo.lock | 68 +++--- runtime/moonbase/tests/xcm_tests.rs | 12 +- runtime/moonbeam/tests/xcm_tests.rs | 12 +- runtime/moonriver/tests/xcm_tests.rs | 12 +- test/contracts/src/dancun/ProxySuicide.sol | 26 +++ .../moonbase/test-contract/test-eip-6780.ts | 147 ++++++++++++ .../test-clear-suicided-contracts.ts | 178 +++++++-------- .../test-precompile-clear-suicided-storage.ts | 214 +++++++++--------- 8 files changed, 410 insertions(+), 259 deletions(-) create mode 100644 test/contracts/src/dancun/ProxySuicide.sol create mode 100644 test/suites/dev/moonbase/test-contract/test-eip-6780.ts diff --git a/Cargo.lock b/Cargo.lock index ae384a3c46..cd4efad631 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1007,8 +1007,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", - "rand 0.7.3", - "rand_core 0.5.1", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -3143,7 +3143,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#8ee491bde0378d154e95ab13b80b8b1b205c3f10" dependencies = [ "auto_impl", "environmental", @@ -3163,7 +3163,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#8ee491bde0378d154e95ab13b80b8b1b205c3f10" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#8ee491bde0378d154e95ab13b80b8b1b205c3f10" dependencies = [ "environmental", "evm-core", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#cfcc81a1e13f8d6c96b6c0c10015ebf5c85b253a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=v0.4.1-cancun#8ee491bde0378d154e95ab13b80b8b1b205c3f10" dependencies = [ "auto_impl", "environmental", @@ -3297,7 +3297,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "async-trait", "fp-storage", @@ -3309,7 +3309,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "async-trait", "fp-consensus", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "async-trait", "ethereum", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fc-db", "fc-storage", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "ethereum-types", @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "ethereum-types", @@ -3449,7 +3449,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "ethereum-types", @@ -3644,7 +3644,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "hex", "impl-serde 0.4.0", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "parity-scale-codec", @@ -3675,7 +3675,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "ethereum-types", @@ -3688,7 +3688,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "evm", "frame-support", @@ -3704,7 +3704,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "ethereum", "ethereum-types", @@ -3721,7 +3721,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "frame-support", "parity-scale-codec", @@ -3733,7 +3733,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "parity-scale-codec", "serde", @@ -8483,7 +8483,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "environmental", "ethereum", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "environmental", "evm", @@ -8565,7 +8565,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "frame-support", "frame-system", @@ -8659,7 +8659,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", ] @@ -8667,7 +8667,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "sp-core", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "frame-support", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "num", @@ -9107,7 +9107,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "tiny-keccak", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "ripemd", @@ -9126,7 +9126,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "fp-evm", "frame-support", @@ -11677,7 +11677,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "environmental", "evm", @@ -11734,7 +11734,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#7dfd999d9e084c6e7b153bb0dd9bc567c8849d70" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=cancun#982dab02b0e70e04567f91cb41a7bda8830dc24a" dependencies = [ "case", "num_enum 0.7.2", @@ -12051,7 +12051,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", "syn 2.0.58", @@ -16788,7 +16788,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.7.3", + "rand 0.8.5", "static_assertions", ] diff --git a/runtime/moonbase/tests/xcm_tests.rs b/runtime/moonbase/tests/xcm_tests.rs index f11ebf2c9c..bd2e990041 100644 --- a/runtime/moonbase/tests/xcm_tests.rs +++ b/runtime/moonbase/tests/xcm_tests.rs @@ -2586,17 +2586,11 @@ fn empty_account_should_not_be_reset() { parachain::EVM::remove_account(&evm_account()); // Verify reference count. let account = parachain::System::account(evm_account_id); - // TODO: after introducing the suicided fix the value for account.sufficients will remain 1 - // until the storage is not completely removed, it will have to be decreased to 0 once the - // storage can be fully removed - assert_eq!(account.sufficients, 1); + assert_eq!(account.sufficients, 0); assert_eq!(account.consumers, 0); assert_eq!(account.providers, 1); // We expect the account to be alive in a Zero ED context. - // TODO: after introducing the suicided fix the nonce is increased by 1 - // until the storage is not completely removed, it will have to be decreased to 1 once the - // storage can be fully removed - assert_eq!(parachain::System::account_nonce(evm_account_id), 2); + assert_eq!(parachain::System::account_nonce(evm_account_id), 1); }); } @@ -2606,7 +2600,7 @@ fn test_statemint_like() { let dest_para = Location::new(1, [Parachain(1)]); - let sov = xcm_builder::SiblingParachainConvertsVia::< +let sov = xcm_builder::SiblingParachainConvertsVia::< polkadot_parachain::primitives::Sibling, statemint_like::AccountId, >::convert_location(&dest_para) diff --git a/runtime/moonbeam/tests/xcm_tests.rs b/runtime/moonbeam/tests/xcm_tests.rs index 20e551468c..337255129f 100644 --- a/runtime/moonbeam/tests/xcm_tests.rs +++ b/runtime/moonbeam/tests/xcm_tests.rs @@ -2310,19 +2310,11 @@ fn empty_account_should_not_be_reset() { parachain::EVM::remove_account(&evm_account()); // Verify reference count. let account = parachain::System::account(evm_account_id); - // TODO: since the suicided logic was introduced an smart contract account - // is not deleted completely until it's data is deleted. Data deletion - // will be implemented in a future release - // account.sufficients shall be 0 - assert_eq!(account.sufficients, 1); + assert_eq!(account.sufficients, 0); assert_eq!(account.consumers, 0); assert_eq!(account.providers, 1); // We expect the account to be alive in a Zero ED context. - // TODO: since the suicided logic was introduced an smart contract account - // is not deleted completely until it's data is deleted. Data deletion - // will be implemented in a future release - // this shall be changed to 1 - assert_eq!(parachain::System::account_nonce(evm_account_id), 2); + assert_eq!(parachain::System::account_nonce(evm_account_id), 1); }); } diff --git a/runtime/moonriver/tests/xcm_tests.rs b/runtime/moonriver/tests/xcm_tests.rs index 0eab574ba0..9788c99468 100644 --- a/runtime/moonriver/tests/xcm_tests.rs +++ b/runtime/moonriver/tests/xcm_tests.rs @@ -2620,19 +2620,11 @@ fn empty_account_should_not_be_reset() { parachain::EVM::remove_account(&evm_account()); // Verify reference count. let account = parachain::System::account(evm_account_id); - // TODO: since the suicided logic was introduced an smart contract account - // is not deleted completely until it's data is deleted. Data deletion - // will be implemented in a future release - // revert account.sufficients to 0 - assert_eq!(account.sufficients, 1); + assert_eq!(account.sufficients, 0); assert_eq!(account.consumers, 0); assert_eq!(account.providers, 1); // We expect the account to be alive in a Zero ED context. - // TODO: since the suicided logic was introduced an smart contract account - // is not deleted completely until it's data is deleted. Data deletion - // will be implemented in a future release - // the following needs to be 1 - assert_eq!(parachain::System::account_nonce(evm_account_id), 2); + assert_eq!(parachain::System::account_nonce(evm_account_id), 1); }); } diff --git a/test/contracts/src/dancun/ProxySuicide.sol b/test/contracts/src/dancun/ProxySuicide.sol new file mode 100644 index 0000000000..0b4954d797 --- /dev/null +++ b/test/contracts/src/dancun/ProxySuicide.sol @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-3.0-only +pragma solidity ^0.8.24; + +contract ProxyDeployer { + event ContractDestroyed(address destroyedAddress); + + // Function to deploy a new Suicide contract + function deployAndDestroy(address target) public { + Suicide newContract = new Suicide(); + newContract.destroy(target); + emit ContractDestroyed(address(newContract)); + } + +} + +contract Suicide { + address public owner; + + constructor() payable { + owner = msg.sender; + } + + function destroy(address target) public { + selfdestruct(payable(target)); + } +} \ No newline at end of file diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts new file mode 100644 index 0000000000..01751638a7 --- /dev/null +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -0,0 +1,147 @@ +import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; +import { expectEVMResult, expectSubstrateEvent } from "../../../../helpers"; +import { GLMR, BALTATHAR_ADDRESS } from "@moonwall/util"; +import { decodeEventLog } from "viem"; + +describeSuite({ + id: "D010612", + title: "EIP-6780 - Self Destruct", + foundationMethods: "dev", + testCases: ({ context, it }) => { + let contract: `0x${string}`; + + beforeAll(async function () { + const { contractAddress } = await context.deployContract!("Suicide", { + gas: 1000000n, + }); + contract = contractAddress; + }); + + it({ + id: "T01", + title: + "Should not delete contract when self-destruct is not called in the same transaction that created the contract", + test: async function () { + // Get Code + const code = await context.polkadotJs().query.evm.accountCodes(contract); + + // transfer some tokens to the contract + await context.createBlock( + context.polkadotJs().tx.balances.transferAllowDeath(contract, 10n * GLMR) + ); + + const balanceBaltatharBefore = ( + await context.polkadotJs().query.system.account(BALTATHAR_ADDRESS) + ).data.free.toBigInt(); + + const rawTx = await context.writeContract!({ + contractName: "Suicide", + contractAddress: contract, + functionName: "destroy", + args: [BALTATHAR_ADDRESS], + rawTxOnly: true, + }); + + const { result } = await context.createBlock(rawTx); + expectEVMResult(result!.events, "Succeed", "Suicided"); + + // Code should not be deleted + const postSuicideCode = await context.polkadotJs().query.evm.accountCodes(contract); + expect(postSuicideCode).toEqual(code); + + // Nonce should be one + expect((await context.polkadotJs().query.system.account(contract)).nonce.toBigInt()).to.eq( + 1n + ); + + // Balance should be zero + expect( + (await context.polkadotJs().query.system.account(contract)).data.free.toBigInt() + ).to.eq(0n); + + // Check funds are transmitted to Baltathar + const balanceBaltatharAfter = ( + await context.polkadotJs().query.system.account(BALTATHAR_ADDRESS) + ).data.free.toBigInt(); + + expect(balanceBaltatharAfter).to.be.eq(balanceBaltatharBefore + 10n * GLMR); + }, + }); + + it({ + id: "T02", + title: + "Should not burn funds if contract is not deleted in the same create tx and funds are sent to deleted contract", + test: async function () { + // transfer some tokens to the contract + await context.createBlock( + context.polkadotJs().tx.balances.transferAllowDeath(contract, 10n * GLMR) + ); + + const rawTx = await context.writeContract!({ + contractName: "Suicide", + contractAddress: contract, + functionName: "destroy", + args: [contract], + rawTxOnly: true, + }); + + const { result } = await context.createBlock(rawTx); + expectEVMResult(result!.events, "Succeed", "Suicided"); + + expect( + (await context.polkadotJs().query.system.account(contract)).data.free.toBigInt() + ).to.eq(10n * GLMR); + }, + }); + + it({ + id: "T03", + title: + "Should delete contract when self-destruct is called in the same transaction that created the contract", + test: async function () { + const { contractAddress } = await context.deployContract!("ProxyDeployer", { + gas: 1000000n, + }); + + const block = await context.createBlock( + await context.writeContract!({ + contractName: "ProxyDeployer", + contractAddress, + functionName: "deployAndDestroy", + rawTxOnly: true, + args: [BALTATHAR_ADDRESS], + }) + ); + + const { data } = expectSubstrateEvent(block, "evm", "Log"); + const evmLog = decodeEventLog({ + abi: fetchCompiledContract("ProxyDeployer").abi, + topics: data[0].topics.map((t) => t.toHex()) as any, + data: data[0].data.toHex(), + }) as any; + const suicideAddress: `0x${string}` = evmLog.args.destroyedAddress.toLowerCase(); + + // Code should be deleted + expect((await context.polkadotJs().query.evm.accountCodes(suicideAddress)).toHex()).to.eq( + "0x" + ); + + // Balance should be zero + expect( + (await context.polkadotJs().query.system.account(suicideAddress)).data.free.toBigInt() + ).to.eq(0n); + + // Sufficients should be zero + expect( + (await context.polkadotJs().query.system.account(suicideAddress)).sufficients.toBigInt() + ).to.eq(0n); + + // Nonce should be zero + expect( + (await context.polkadotJs().query.system.account(suicideAddress)).nonce.toBigInt() + ).to.eq(0n); + }, + }); + }, +}); diff --git a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts index 11a087109f..de487d011e 100644 --- a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts +++ b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts @@ -1,89 +1,89 @@ -import { - describeSuite, - expect, - deployCreateCompiledContract, - fetchCompiledContract, - beforeAll, -} from "@moonwall/cli"; -import { createEthersTransaction } from "@moonwall/util"; -import { encodeFunctionData } from "viem"; -import { expectOk } from "../../../../helpers"; -import { ApiPromise } from "@polkadot/api"; - -describeSuite({ - id: "D012201", - title: "Lazy Migrations Pallet - Clear Suicided Storage", - foundationMethods: "dev", - testCases: ({ context, it }) => { - let api: ApiPromise; - - beforeAll(async () => { - api = context.polkadotJs(); - }); - - it({ - id: "T01", - title: - "Should clear storage entries of multiple suicided contracts within the deletion limit.", - test: async function () { - const { abi } = fetchCompiledContract("Storage"); - - for (let i = 0; i < 3; i++) { - const { contractAddress } = await deployCreateCompiledContract(context, "Storage"); - - // Create storage entries for the contract - const rawSigned = await createEthersTransaction(context, { - to: contractAddress, - data: encodeFunctionData({ - abi, - args: [0, 200], - functionName: "store", - }), - gasLimit: 13_000_000, - }); - await expectOk(context.createBlock(rawSigned)); - - await context.createBlock(); - - // Delete the contract to make it a suicided contract - const rawTx = await createEthersTransaction(context, { - to: contractAddress, - data: encodeFunctionData({ - abi, - functionName: "destroy", - }), - gasLimit: 2_000_000, - }); - const { result } = await context.createBlock(rawTx); - const receipt = await context - .viem("public") - .getTransactionReceipt({ hash: result?.hash as `0x${string}` }); - - expect(receipt.status).toBe("success"); - - // Call the extrinsic to delete the storage entries - const tx = await context.createBlock( - api.tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) - ); - await expect(!tx.result?.successful, "The contract storage cannot be removed"); - - // Remove "Suicided" flag - await context.createBlock( - api.tx.sudo.sudo( - api.tx.system.killStorage([api.query.evm.suicided.key(contractAddress)]) - ) - ); - - // Now, the storage can be removed - await expectOk( - context.createBlock( - context - .polkadotJs() - .tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) - ) - ); - } - }, - }); - }, -}); +// import { +// describeSuite, +// expect, +// deployCreateCompiledContract, +// fetchCompiledContract, +// beforeAll, +// } from "@moonwall/cli"; +// import { createEthersTransaction } from "@moonwall/util"; +// import { encodeFunctionData } from "viem"; +// import { expectOk } from "../../../../helpers"; +// import { ApiPromise } from "@polkadot/api"; +// +// describeSuite({ +// id: "D012201", +// title: "Lazy Migrations Pallet - Clear Suicided Storage", +// foundationMethods: "dev", +// testCases: ({ context, it }) => { +// let api: ApiPromise; +// +// beforeAll(async () => { +// api = context.polkadotJs(); +// }); +// +// it({ +// id: "T01", +// title: +// "Should clear storage entries of multiple suicided contracts within the deletion limit.", +// test: async function () { +// const { abi } = fetchCompiledContract("Storage"); +// +// for (let i = 0; i < 3; i++) { +// const { contractAddress } = await deployCreateCompiledContract(context, "Storage"); +// +// // Create storage entries for the contract +// const rawSigned = await createEthersTransaction(context, { +// to: contractAddress, +// data: encodeFunctionData({ +// abi, +// args: [0, 200], +// functionName: "store", +// }), +// gasLimit: 13_000_000, +// }); +// await expectOk(context.createBlock(rawSigned)); +// +// await context.createBlock(); +// +// // Delete the contract to make it a suicided contract +// const rawTx = await createEthersTransaction(context, { +// to: contractAddress, +// data: encodeFunctionData({ +// abi, +// functionName: "destroy", +// }), +// gasLimit: 2_000_000, +// }); +// const { result } = await context.createBlock(rawTx); +// const receipt = await context +// .viem("public") +// .getTransactionReceipt({ hash: result?.hash as `0x${string}` }); +// +// expect(receipt.status).toBe("success"); +// +// // Call the extrinsic to delete the storage entries +// const tx = await context.createBlock( +// api.tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) +// ); +// await expect(!tx.result?.successful, "The contract storage cannot be removed"); +// +// // Remove "Suicided" flag +// await context.createBlock( +// api.tx.sudo.sudo( +// api.tx.system.killStorage([api.query.evm.suicided.key(contractAddress)]) +// ) +// ); +// +// // Now, the storage can be removed +// await expectOk( +// context.createBlock( +// context +// .polkadotJs() +// .tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) +// ) +// ); +// } +// }, +// }); +// }, +// }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts index c28e796b6e..bf51098823 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts @@ -1,107 +1,107 @@ -import { - describeSuite, - expect, - deployCreateCompiledContract, - fetchCompiledContract, - beforeEach, -} from "@moonwall/cli"; -import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; -import { ApiPromise } from "@polkadot/api"; - -describeSuite({ - id: "D012929", - title: "Precompile - Clear Suicided Storage", - foundationMethods: "dev", - testCases: ({ context, it }) => { - let api: ApiPromise; - let abi: Abi; - let precompile_abi: Abi; - let contractAddress: `0x${string}`; - // StorageCleaner precompile address - const precompileAddress: `0x${string}` = "0x0000000000000000000000000000000000000403"; - - beforeEach(async () => { - api = context.polkadotJs(); - const storageContract = fetchCompiledContract("Storage"); - abi = storageContract.abi; - const storageCleanerPrecompile = fetchCompiledContract("StorageCleaner"); - precompile_abi = storageCleanerPrecompile.abi; - const deployResult = await deployCreateCompiledContract(context, "Storage"); - contractAddress = deployResult.contractAddress; - - // Create storage entries for the contract - const rawSigned = await createEthersTransaction(context, { - to: contractAddress, - data: encodeFunctionData({ - abi, - args: [0, 200], - functionName: "store", - }), - gasLimit: 13_000_000, - }); - await expectOk(context.createBlock(rawSigned)); - - await context.createBlock(); - }); - - it({ - id: "T01", - title: "Should not be able to clear storage entries of a contract that is not suicided.", - test: async function () { - const rawTxn = await createEthersTransaction(context, { - to: precompileAddress, - data: encodeFunctionData({ - abi: precompile_abi, - args: [[contractAddress], 201], - functionName: "clearSuicidedStorage", - }), - gasLimit: 13_000_000, - }); - const result = await context.createBlock(rawTxn); - - expectEVMResult(result.result!.events, "Revert", "Reverted"); - const revertReason = await extractRevertReason(context, result.result!.hash); - expect(revertReason).to.contain(`NotSuicided:`); - }, - }); - - it({ - id: "T02", - title: "Should clear storage entries of a suicided contract.", - test: async function () { - // Delete the contract to make it a suicided contract - const rawTx = await createEthersTransaction(context, { - to: contractAddress, - data: encodeFunctionData({ - abi, - functionName: "destroy", - }), - gasLimit: 2_000_000, - }); - - await expectOk(context.createBlock(rawTx)); - - const suicidedContracts = await context.polkadotJs().query.evm.suicided(contractAddress); - expect(suicidedContracts.isSome).to.be.true; - // Call the precompile to delete the storage entries - const rawTxn = await createEthersTransaction(context, { - to: precompileAddress, - data: encodeFunctionData({ - abi: precompile_abi, - args: [[contractAddress], 201], - functionName: "clearSuicidedStorage", - }), - gasLimit: 13_000_000, - }); - - await expectOk(context.createBlock(rawTxn)); - const postClearSuicidedContracts = await context - .polkadotJs() - .query.evm.suicided(contractAddress); - expect(postClearSuicidedContracts.isNone).to.be.true; - }, - }); - }, -}); +// import { +// describeSuite, +// expect, +// deployCreateCompiledContract, +// fetchCompiledContract, +// beforeEach, +// } from "@moonwall/cli"; +// import { createEthersTransaction } from "@moonwall/util"; +// import { Abi, encodeFunctionData } from "viem"; +// import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; +// import { ApiPromise } from "@polkadot/api"; +// +// describeSuite({ +// id: "D012929", +// title: "Precompile - Clear Suicided Storage", +// foundationMethods: "dev", +// testCases: ({ context, it }) => { +// let api: ApiPromise; +// let abi: Abi; +// let precompile_abi: Abi; +// let contractAddress: `0x${string}`; +// // StorageCleaner precompile address +// const precompileAddress: `0x${string}` = "0x0000000000000000000000000000000000000403"; +// +// beforeEach(async () => { +// api = context.polkadotJs(); +// const storageContract = fetchCompiledContract("Storage"); +// abi = storageContract.abi; +// const storageCleanerPrecompile = fetchCompiledContract("StorageCleaner"); +// precompile_abi = storageCleanerPrecompile.abi; +// const deployResult = await deployCreateCompiledContract(context, "Storage"); +// contractAddress = deployResult.contractAddress; +// +// // Create storage entries for the contract +// const rawSigned = await createEthersTransaction(context, { +// to: contractAddress, +// data: encodeFunctionData({ +// abi, +// args: [0, 200], +// functionName: "store", +// }), +// gasLimit: 13_000_000, +// }); +// await expectOk(context.createBlock(rawSigned)); +// +// await context.createBlock(); +// }); +// +// it({ +// id: "T01", +// title: "Should not be able to clear storage entries of a contract that is not suicided.", +// test: async function () { +// const rawTxn = await createEthersTransaction(context, { +// to: precompileAddress, +// data: encodeFunctionData({ +// abi: precompile_abi, +// args: [[contractAddress], 201], +// functionName: "clearSuicidedStorage", +// }), +// gasLimit: 13_000_000, +// }); +// const result = await context.createBlock(rawTxn); +// +// expectEVMResult(result.result!.events, "Revert", "Reverted"); +// const revertReason = await extractRevertReason(context, result.result!.hash); +// expect(revertReason).to.contain(`NotSuicided:`); +// }, +// }); +// +// it({ +// id: "T02", +// title: "Should clear storage entries of a suicided contract.", +// test: async function () { +// // Delete the contract to make it a suicided contract +// const rawTx = await createEthersTransaction(context, { +// to: contractAddress, +// data: encodeFunctionData({ +// abi, +// functionName: "destroy", +// }), +// gasLimit: 2_000_000, +// }); +// +// await expectOk(context.createBlock(rawTx)); +// +// const suicidedContracts = await context.polkadotJs().query.evm.suicided(contractAddress); +// expect(suicidedContracts.isSome).to.be.true; +// // Call the precompile to delete the storage entries +// const rawTxn = await createEthersTransaction(context, { +// to: precompileAddress, +// data: encodeFunctionData({ +// abi: precompile_abi, +// args: [[contractAddress], 201], +// functionName: "clearSuicidedStorage", +// }), +// gasLimit: 13_000_000, +// }); +// +// await expectOk(context.createBlock(rawTxn)); +// const postClearSuicidedContracts = await context +// .polkadotJs() +// .query.evm.suicided(contractAddress); +// expect(postClearSuicidedContracts.isNone).to.be.true; +// }, +// }); +// }, +// }); From 0b71c96d7d8d2964b6ab410d09e97d591f200447 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Thu, 23 May 2024 08:58:31 +0100 Subject: [PATCH 08/19] fix file formatting --- runtime/moonbase/tests/xcm_tests.rs | 2 +- test/suites/dev/moonbase/test-contract/test-eip-6780.ts | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/runtime/moonbase/tests/xcm_tests.rs b/runtime/moonbase/tests/xcm_tests.rs index bd2e990041..c7e68510dd 100644 --- a/runtime/moonbase/tests/xcm_tests.rs +++ b/runtime/moonbase/tests/xcm_tests.rs @@ -2600,7 +2600,7 @@ fn test_statemint_like() { let dest_para = Location::new(1, [Parachain(1)]); -let sov = xcm_builder::SiblingParachainConvertsVia::< + let sov = xcm_builder::SiblingParachainConvertsVia::< polkadot_parachain::primitives::Sibling, statemint_like::AccountId, >::convert_location(&dest_para) diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts index 01751638a7..d024780a09 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -20,7 +20,8 @@ describeSuite({ it({ id: "T01", title: - "Should not delete contract when self-destruct is not called in the same transaction that created the contract", + "Should not delete contract when self-destruct is not called in the same " + + "transaction that created the contract", test: async function () { // Get Code const code = await context.polkadotJs().query.evm.accountCodes(contract); @@ -71,7 +72,8 @@ describeSuite({ it({ id: "T02", title: - "Should not burn funds if contract is not deleted in the same create tx and funds are sent to deleted contract", + "Should not burn funds if contract is not deleted in the same create tx and" + + "funds are sent to deleted contract", test: async function () { // transfer some tokens to the contract await context.createBlock( @@ -98,7 +100,8 @@ describeSuite({ it({ id: "T03", title: - "Should delete contract when self-destruct is called in the same transaction that created the contract", + "Should delete contract when self-destruct is called in the same transaction" + + "that created the contract", test: async function () { const { contractAddress } = await context.deployContract!("ProxyDeployer", { gas: 1000000n, From c2bb3024b30b1d0b32ab28f80604e5077b95617a Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Thu, 23 May 2024 09:00:31 +0100 Subject: [PATCH 09/19] remove outdated tests related to self-destructed contracts --- .../test-clear-suicided-contracts.ts | 89 --------------- .../test-precompile-clear-suicided-storage.ts | 107 ------------------ 2 files changed, 196 deletions(-) delete mode 100644 test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts delete mode 100644 test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts diff --git a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts deleted file mode 100644 index de487d011e..0000000000 --- a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts +++ /dev/null @@ -1,89 +0,0 @@ -// import { -// describeSuite, -// expect, -// deployCreateCompiledContract, -// fetchCompiledContract, -// beforeAll, -// } from "@moonwall/cli"; -// import { createEthersTransaction } from "@moonwall/util"; -// import { encodeFunctionData } from "viem"; -// import { expectOk } from "../../../../helpers"; -// import { ApiPromise } from "@polkadot/api"; -// -// describeSuite({ -// id: "D012201", -// title: "Lazy Migrations Pallet - Clear Suicided Storage", -// foundationMethods: "dev", -// testCases: ({ context, it }) => { -// let api: ApiPromise; -// -// beforeAll(async () => { -// api = context.polkadotJs(); -// }); -// -// it({ -// id: "T01", -// title: -// "Should clear storage entries of multiple suicided contracts within the deletion limit.", -// test: async function () { -// const { abi } = fetchCompiledContract("Storage"); -// -// for (let i = 0; i < 3; i++) { -// const { contractAddress } = await deployCreateCompiledContract(context, "Storage"); -// -// // Create storage entries for the contract -// const rawSigned = await createEthersTransaction(context, { -// to: contractAddress, -// data: encodeFunctionData({ -// abi, -// args: [0, 200], -// functionName: "store", -// }), -// gasLimit: 13_000_000, -// }); -// await expectOk(context.createBlock(rawSigned)); -// -// await context.createBlock(); -// -// // Delete the contract to make it a suicided contract -// const rawTx = await createEthersTransaction(context, { -// to: contractAddress, -// data: encodeFunctionData({ -// abi, -// functionName: "destroy", -// }), -// gasLimit: 2_000_000, -// }); -// const { result } = await context.createBlock(rawTx); -// const receipt = await context -// .viem("public") -// .getTransactionReceipt({ hash: result?.hash as `0x${string}` }); -// -// expect(receipt.status).toBe("success"); -// -// // Call the extrinsic to delete the storage entries -// const tx = await context.createBlock( -// api.tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) -// ); -// await expect(!tx.result?.successful, "The contract storage cannot be removed"); -// -// // Remove "Suicided" flag -// await context.createBlock( -// api.tx.sudo.sudo( -// api.tx.system.killStorage([api.query.evm.suicided.key(contractAddress)]) -// ) -// ); -// -// // Now, the storage can be removed -// await expectOk( -// context.createBlock( -// context -// .polkadotJs() -// .tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) -// ) -// ); -// } -// }, -// }); -// }, -// }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts deleted file mode 100644 index bf51098823..0000000000 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts +++ /dev/null @@ -1,107 +0,0 @@ -// import { -// describeSuite, -// expect, -// deployCreateCompiledContract, -// fetchCompiledContract, -// beforeEach, -// } from "@moonwall/cli"; -// import { createEthersTransaction } from "@moonwall/util"; -// import { Abi, encodeFunctionData } from "viem"; -// import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; -// import { ApiPromise } from "@polkadot/api"; -// -// describeSuite({ -// id: "D012929", -// title: "Precompile - Clear Suicided Storage", -// foundationMethods: "dev", -// testCases: ({ context, it }) => { -// let api: ApiPromise; -// let abi: Abi; -// let precompile_abi: Abi; -// let contractAddress: `0x${string}`; -// // StorageCleaner precompile address -// const precompileAddress: `0x${string}` = "0x0000000000000000000000000000000000000403"; -// -// beforeEach(async () => { -// api = context.polkadotJs(); -// const storageContract = fetchCompiledContract("Storage"); -// abi = storageContract.abi; -// const storageCleanerPrecompile = fetchCompiledContract("StorageCleaner"); -// precompile_abi = storageCleanerPrecompile.abi; -// const deployResult = await deployCreateCompiledContract(context, "Storage"); -// contractAddress = deployResult.contractAddress; -// -// // Create storage entries for the contract -// const rawSigned = await createEthersTransaction(context, { -// to: contractAddress, -// data: encodeFunctionData({ -// abi, -// args: [0, 200], -// functionName: "store", -// }), -// gasLimit: 13_000_000, -// }); -// await expectOk(context.createBlock(rawSigned)); -// -// await context.createBlock(); -// }); -// -// it({ -// id: "T01", -// title: "Should not be able to clear storage entries of a contract that is not suicided.", -// test: async function () { -// const rawTxn = await createEthersTransaction(context, { -// to: precompileAddress, -// data: encodeFunctionData({ -// abi: precompile_abi, -// args: [[contractAddress], 201], -// functionName: "clearSuicidedStorage", -// }), -// gasLimit: 13_000_000, -// }); -// const result = await context.createBlock(rawTxn); -// -// expectEVMResult(result.result!.events, "Revert", "Reverted"); -// const revertReason = await extractRevertReason(context, result.result!.hash); -// expect(revertReason).to.contain(`NotSuicided:`); -// }, -// }); -// -// it({ -// id: "T02", -// title: "Should clear storage entries of a suicided contract.", -// test: async function () { -// // Delete the contract to make it a suicided contract -// const rawTx = await createEthersTransaction(context, { -// to: contractAddress, -// data: encodeFunctionData({ -// abi, -// functionName: "destroy", -// }), -// gasLimit: 2_000_000, -// }); -// -// await expectOk(context.createBlock(rawTx)); -// -// const suicidedContracts = await context.polkadotJs().query.evm.suicided(contractAddress); -// expect(suicidedContracts.isSome).to.be.true; -// // Call the precompile to delete the storage entries -// const rawTxn = await createEthersTransaction(context, { -// to: precompileAddress, -// data: encodeFunctionData({ -// abi: precompile_abi, -// args: [[contractAddress], 201], -// functionName: "clearSuicidedStorage", -// }), -// gasLimit: 13_000_000, -// }); -// -// await expectOk(context.createBlock(rawTxn)); -// const postClearSuicidedContracts = await context -// .polkadotJs() -// .query.evm.suicided(contractAddress); -// expect(postClearSuicidedContracts.isNone).to.be.true; -// }, -// }); -// }, -// }); From bd93558bafb76c20e70b150e69e4de3fa6352fa4 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Thu, 23 May 2024 09:03:36 +0100 Subject: [PATCH 10/19] fix linting --- test/suites/dev/moonbase/test-contract/test-eip-6780.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts index d024780a09..3498e2f28f 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -20,7 +20,7 @@ describeSuite({ it({ id: "T01", title: - "Should not delete contract when self-destruct is not called in the same " + + "Should not delete contract when self-destruct is not called in the same " + "transaction that created the contract", test: async function () { // Get Code @@ -72,7 +72,7 @@ describeSuite({ it({ id: "T02", title: - "Should not burn funds if contract is not deleted in the same create tx and" + + "Should not burn funds if contract is not deleted in the same create tx and" + "funds are sent to deleted contract", test: async function () { // transfer some tokens to the contract @@ -100,7 +100,7 @@ describeSuite({ it({ id: "T03", title: - "Should delete contract when self-destruct is called in the same transaction" + + "Should delete contract when self-destruct is called in the same transaction" + "that created the contract", test: async function () { const { contractAddress } = await context.deployContract!("ProxyDeployer", { From 954824a8bdbf1ec61cf8f378a91ec964c10542b7 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Thu, 23 May 2024 09:53:18 +0100 Subject: [PATCH 11/19] revert Cargo.lock changes --- Cargo.lock | 1213 ++++++++++++++++++++++++++-------------------------- 1 file changed, 604 insertions(+), 609 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef46c088dd..1cfb761c4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,7 +106,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.14", "once_cell", "version_check", ] @@ -118,7 +118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.14", "once_cell", "version_check", "zerocopy", @@ -135,9 +135,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "always-assert" @@ -171,48 +171,47 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -220,9 +219,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" [[package]] name = "approx" @@ -244,7 +243,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -542,9 +541,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.3" +version = "6.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" [[package]] name = "arrayref" @@ -649,25 +648,27 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.3.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" +checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" dependencies = [ "concurrent-queue", - "event-listener-strategy 0.5.2", + "event-listener 5.3.0", + "event-listener-strategy 0.5.1", "futures-core", "pin-project-lite 0.2.14", ] [[package]] name = "async-executor" -version = "1.11.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" +checksum = "5f98c37cf288e302c16ef6c8472aad1e034c6c84ce5ea7b8101c98eb4a802fee" dependencies = [ + "async-lock 3.3.0", "async-task", "concurrent-queue", - "fastrand 2.1.0", + "fastrand 2.0.2", "futures-lite 2.3.0", "slab", ] @@ -716,8 +717,8 @@ dependencies = [ "futures-io", "futures-lite 2.3.0", "parking", - "polling 3.7.0", - "rustix 0.38.34", + "polling 3.6.0", + "rustix 0.38.32", "slab", "tracing", "windows-sys 0.52.0", @@ -767,43 +768,43 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.34", + "rustix 0.38.32", "windows-sys 0.48.0", ] [[package]] name = "async-signal" -version = "0.2.6" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ "async-io 2.3.2", - "async-lock 3.3.0", + "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.34", + "rustix 0.38.32", "signal-hook-registry", "slab", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] name = "async-task" -version = "4.7.1" +version = "4.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.80" +version = "0.1.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -848,14 +849,14 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "autocfg" -version = "1.3.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" [[package]] name = "backtrace" @@ -946,7 +947,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "hash-db 0.16.0", "log", @@ -973,13 +974,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.20", + "prettyplease 0.2.17", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -1129,16 +1130,18 @@ dependencies = [ [[package]] name = "blocking" -version = "1.6.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" +checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ - "async-channel 2.3.1", + "async-channel 2.2.0", "async-lock 3.3.0", "async-task", + "fastrand 2.0.2", "futures-io", "futures-lite 2.3.0", "piper", + "tracing", ] [[package]] @@ -1165,7 +1168,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -1240,9 +1243,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" [[package]] name = "byteorder" @@ -1279,9 +1282,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.7" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] @@ -1303,7 +1306,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.23", + "semver 1.0.22", "serde", "serde_json", "thiserror", @@ -1317,13 +1320,12 @@ checksum = "fd6c0e7b807d60291f42f33f58480c0bfafe28ed08286446f45e463728cf9c1c" [[package]] name = "cc" -version = "1.0.98" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" dependencies = [ "jobserver", "libc", - "once_cell", ] [[package]] @@ -1337,9 +1339,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.8" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d" dependencies = [ "smallvec", ] @@ -1392,16 +1394,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.5", + "windows-targets 0.52.4", ] [[package]] @@ -1498,7 +1500,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -1530,9 +1532,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "comfy-table" @@ -1569,9 +1571,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" dependencies = [ "crossbeam-utils", ] @@ -1610,7 +1612,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.14", "once_cell", "tiny-keccak", ] @@ -1813,9 +1815,9 @@ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] @@ -1850,9 +1852,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.20" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] name = "crunchy" @@ -1925,7 +1927,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "clap", "parity-scale-codec", @@ -1949,7 +1951,7 @@ dependencies = [ "cumulus-primitives-core", "futures 0.3.30", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -2009,14 +2011,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.30", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-consensus", "sp-api", "sp-block-builder", @@ -2039,7 +2041,7 @@ dependencies = [ "futures 0.3.30", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", @@ -2103,7 +2105,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2139,7 +2141,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2196,13 +2198,13 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2218,7 +2220,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2285,7 +2287,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "futures 0.3.30", @@ -2298,7 +2300,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2319,7 +2321,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2361,15 +2363,15 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures 0.3.30", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", @@ -2402,7 +2404,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2490,7 +2492,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -2508,9 +2510,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.122" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" +checksum = "21db378d04296a84d8b7d047c36bb3954f0b46529db725d7e62fb02f9ba53ccc" dependencies = [ "cc", "cxxbridge-flags", @@ -2520,9 +2522,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.122" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" +checksum = "3e5262a7fa3f0bae2a55b767c223ba98032d7c328f5c13fa5cdc980b77fc0658" dependencies = [ "cc", "codespan-reporting", @@ -2530,37 +2532,37 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "cxxbridge-flags" -version = "1.0.122" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" +checksum = "be8dcadd2e2fb4a501e1d9e93d6e88e6ea494306d8272069c92d5a9edf8855c0" [[package]] name = "cxxbridge-macro" -version = "1.0.122" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" +checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" [[package]] name = "data-encoding-macro" -version = "0.1.15" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2568,9 +2570,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" dependencies = [ "data-encoding", "syn 1.0.109", @@ -2639,7 +2641,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -2747,7 +2749,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -2793,9 +2795,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.65", + "syn 2.0.58", "termcolor", - "toml 0.8.13", + "toml 0.8.12", "walkdir", ] @@ -2911,7 +2913,7 @@ checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ "curve25519-dalek 4.1.2", "ed25519", - "hashbrown 0.14.5", + "hashbrown 0.14.3", "hex", "rand_core 0.6.4", "sha2 0.10.8", @@ -2920,9 +2922,9 @@ dependencies = [ [[package]] name = "either" -version = "1.12.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" dependencies = [ "serde", ] @@ -2981,7 +2983,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -2992,7 +2994,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -3022,9 +3024,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", "windows-sys 0.52.0", @@ -3130,9 +3132,9 @@ dependencies = [ [[package]] name = "event-listener-strategy" -version = "0.5.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +checksum = "332f51cb23d20b0de8458b86580878211da09bcd4503cb579c225b3d124cabb3" dependencies = [ "event-listener 5.3.0", "pin-project-lite 0.2.14", @@ -3237,7 +3239,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -3263,9 +3265,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" [[package]] name = "fatality" @@ -3337,7 +3339,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-client-db", "smallvec", @@ -3363,7 +3365,7 @@ dependencies = [ "futures 0.3.30", "futures-timer", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-utils", "sp-api", @@ -3497,9 +3499,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.9" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" [[package]] name = "file-per-thread-logger" @@ -3535,7 +3537,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "scale-info", ] @@ -3559,9 +3561,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.30" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "libz-sys", @@ -3771,10 +3773,10 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "Inflector", - "array-bytes 6.2.3", + "array-bytes 6.2.2", "chrono", "clap", "comfy-table", @@ -3824,7 +3826,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -3847,7 +3849,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -3877,7 +3879,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "indicatif", @@ -3902,7 +3904,7 @@ version = "28.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "aquamarine", - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bitflags 1.3.2", "docify", "environmental", @@ -3953,7 +3955,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -3965,7 +3967,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -3975,7 +3977,7 @@ source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbea dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -4001,7 +4003,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4016,7 +4018,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "parity-scale-codec", "sp-api", @@ -4025,7 +4027,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "parity-scale-codec", @@ -4059,7 +4061,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.32", "windows-sys 0.48.0", ] @@ -4126,7 +4128,7 @@ checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" dependencies = [ "futures-core", "lock_api", - "parking_lot 0.12.2", + "parking_lot 0.12.1", ] [[package]] @@ -4156,7 +4158,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.1.0", + "fastrand 2.0.2", "futures-core", "futures-io", "parking", @@ -4171,7 +4173,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -4276,9 +4278,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "js-sys", @@ -4415,9 +4417,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash 0.8.11", "allocator-api2", @@ -4430,7 +4432,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.14.3", ] [[package]] @@ -4607,7 +4609,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.5.7", + "socket2 0.5.6", "tokio", "tower-service", "tracing", @@ -4624,7 +4626,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.12", + "rustls 0.21.10", "rustls-native-certs", "tokio", "tokio-rustls", @@ -4641,7 +4643,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core", ] [[package]] @@ -4787,7 +4789,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.14.3", ] [[package]] @@ -4820,9 +4822,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.13" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ "cfg-if", ] @@ -4865,7 +4867,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.7", + "socket2 0.5.6", "widestring", "windows-sys 0.48.0", "winreg", @@ -4897,12 +4899,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "is_terminal_polyfill" -version = "1.70.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" - [[package]] name = "itertools" version = "0.10.5" @@ -4938,9 +4934,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.31" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +checksum = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" dependencies = [ "libc", ] @@ -5004,7 +5000,7 @@ dependencies = [ "futures-util", "hyper", "jsonrpsee-types", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", "serde", @@ -5142,7 +5138,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.1", ] [[package]] @@ -5153,7 +5149,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "regex", "rocksdb", "smallvec", @@ -5187,9 +5183,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" @@ -5198,7 +5194,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "windows-targets 0.52.5", + "windows-targets 0.52.4", ] [[package]] @@ -5216,7 +5212,7 @@ dependencies = [ "bytes", "futures 0.3.30", "futures-timer", - "getrandom 0.2.15", + "getrandom 0.2.14", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5281,7 +5277,7 @@ dependencies = [ "multihash 0.17.0", "multistream-select", "once_cell", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -5301,7 +5297,7 @@ dependencies = [ "futures 0.3.30", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "smallvec", "trust-dns-resolver", ] @@ -5463,7 +5459,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", "rustls 0.20.9", @@ -5579,7 +5575,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "quicksink", "rw-stream-sink", "soketto", @@ -5742,9 +5738,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lioness" @@ -5760,9 +5756,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -5836,7 +5832,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -5850,7 +5846,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -5861,7 +5857,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -5872,23 +5868,23 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "macrotest" -version = "1.0.12" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c373046e96714b07b66d572e8b43e48d67cad110fd3f5bf2e000e58751864d2d" +checksum = "119d028d9d69a00b737d6af1081a690cee15df8ef75b3f71c86bcc48b301528e" dependencies = [ "basic-toml", "diff", "glob", - "prettyplease 0.2.20", + "prettyplease 0.2.17", "serde", "serde_derive", "serde_json", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -5955,7 +5951,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.32", ] [[package]] @@ -6034,9 +6030,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.3" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] @@ -6068,7 +6064,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -6080,7 +6076,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "log", @@ -6099,7 +6095,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -6920,7 +6916,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "pallet-xcm-transactor", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-cli", "polkadot-parachain-primitives", "polkadot-primitives", @@ -7375,7 +7371,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.14", ] [[package]] @@ -7480,7 +7476,7 @@ dependencies = [ "log", "nimbus-primitives", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-primitives", @@ -7591,9 +7587,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num" -version = "0.4.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" dependencies = [ "num-bigint", "num-complex", @@ -7605,19 +7601,20 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ + "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" dependencies = [ "num-traits", ] @@ -7649,9 +7646,9 @@ dependencies = [ [[package]] name = "num-iter" -version = "0.1.45" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" dependencies = [ "autocfg", "num-integer", @@ -7660,10 +7657,11 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ + "autocfg", "num-bigint", "num-integer", "num-traits", @@ -7671,9 +7669,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.19" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", "libm", @@ -7727,7 +7725,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -7807,7 +7805,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -7836,9 +7834,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "orchestra" -version = "0.3.6" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92829eef0328a3d1cd22a02c0e51deb92a5362df3e7d21a4e9bdc38934694e66" +checksum = "2356622ffdfe72362a45a1e5e87bb113b8327e596e39b91f11f0ef4395c8da79" dependencies = [ "async-trait", "dyn-clonable", @@ -7853,15 +7851,15 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.3.6" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" +checksum = "eedb646674596266dc9bb2b5c7eea7c36b32ecc7777eba0d510196972d72c4fd" dependencies = [ "expander 2.0.0", "indexmap 2.2.6", "itertools 0.11.0", "petgraph", - "proc-macro-crate 3.1.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -7949,7 +7947,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -7987,7 +7985,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8002,7 +8000,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8020,7 +8018,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8166,7 +8164,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "aquamarine", "docify", @@ -8204,7 +8202,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -8224,9 +8222,9 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "binary-merkle-tree", "frame-support", "frame-system", @@ -8249,7 +8247,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8284,7 +8282,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8303,7 +8301,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8322,7 +8320,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8339,7 +8337,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8378,7 +8376,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8396,7 +8394,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8419,7 +8417,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8433,7 +8431,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9306,7 +9304,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "docify", "frame-benchmarking", @@ -9325,7 +9323,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9348,7 +9346,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9366,7 +9364,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9386,7 +9384,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9419,7 +9417,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9475,7 +9473,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9533,7 +9531,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9549,7 +9547,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9565,7 +9563,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -9584,7 +9582,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9604,7 +9602,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -9615,7 +9613,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -9632,7 +9630,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9694,7 +9692,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9711,7 +9709,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9769,7 +9767,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9788,7 +9786,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9803,7 +9801,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9845,7 +9843,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -9860,7 +9858,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "docify", "frame-benchmarking", @@ -9900,7 +9898,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9917,7 +9915,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -9958,18 +9956,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "log", "sp-arithmetic", @@ -9978,7 +9976,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "parity-scale-codec", "sp-api", @@ -9988,7 +9986,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10005,7 +10003,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "docify", "frame-benchmarking", @@ -10041,7 +10039,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10060,7 +10058,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -10076,7 +10074,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -10092,7 +10090,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -10104,7 +10102,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "docify", "frame-benchmarking", @@ -10123,7 +10121,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10154,7 +10152,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10169,7 +10167,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -10192,7 +10190,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10237,7 +10235,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -10279,7 +10277,7 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "siphasher", "snap", @@ -10288,9 +10286,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10303,11 +10301,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -10344,12 +10342,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.2" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.10", + "parking_lot_core 0.9.9", ] [[package]] @@ -10368,15 +10366,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.1", + "redox_syscall 0.4.1", "smallvec", - "windows-targets 0.52.5", + "windows-targets 0.48.5", ] [[package]] @@ -10387,9 +10385,9 @@ checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] name = "paste" -version = "1.0.15" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -10442,9 +10440,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.10" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" +checksum = "311fb059dee1a7b802f036316d790138c613a4e8b180c822e3925a662e9f0c95" dependencies = [ "memchr", "thiserror", @@ -10453,9 +10451,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.10" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459" +checksum = "f73541b156d32197eecda1a4014d7f868fd2bcb3c550d5386087cfba442bf69c" dependencies = [ "pest", "pest_generator", @@ -10463,22 +10461,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.10" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687" +checksum = "c35eeed0a3fab112f75165fdc026b3913f4183133f19b49be773ac9ea966e8bd" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "pest_meta" -version = "2.7.10" +version = "2.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd" +checksum = "2adbf29bb9776f28caece835398781ab24435585fe0d4dc1374a61db5accedca" dependencies = [ "once_cell", "pest", @@ -10487,9 +10485,9 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.5" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", "indexmap 2.2.6", @@ -10512,7 +10510,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -10535,12 +10533,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ "atomic-waker", - "fastrand 2.1.0", + "fastrand 2.0.2", "futures-io", ] @@ -10569,7 +10567,7 @@ checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "polkadot-approval-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "futures 0.3.30", @@ -10589,7 +10587,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "always-assert", "futures 0.3.30", @@ -10605,7 +10603,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "derive_more", "fatality", @@ -10628,7 +10626,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "fatality", @@ -10651,7 +10649,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cfg-if", "clap", @@ -10679,7 +10677,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "fatality", @@ -10713,7 +10711,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "derive_more", "fatality", @@ -10738,7 +10736,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10752,7 +10750,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "futures-timer", @@ -10774,7 +10772,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "always-assert", "async-trait", @@ -10782,7 +10780,7 @@ dependencies = [ "fatality", "futures 0.3.30", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -10797,7 +10795,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "parity-scale-codec", @@ -10815,7 +10813,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "derive_more", @@ -10848,7 +10846,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "futures 0.3.30", @@ -10870,7 +10868,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "fatality", @@ -10890,7 +10888,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "polkadot-node-subsystem", @@ -10905,7 +10903,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "futures 0.3.30", @@ -10926,7 +10924,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -10940,7 +10938,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "futures-timer", @@ -10957,7 +10955,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "fatality", "futures 0.3.30", @@ -10976,7 +10974,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "futures 0.3.30", @@ -10993,7 +10991,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "fatality", @@ -11010,7 +11008,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "fatality", @@ -11027,10 +11025,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "always-assert", - "array-bytes 6.2.3", + "array-bytes 6.2.2", "blake3", "cfg-if", "futures 0.3.30", @@ -11060,7 +11058,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "polkadot-node-primitives", @@ -11076,7 +11074,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cfg-if", "cpu-time", @@ -11103,7 +11101,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -11124,7 +11122,7 @@ dependencies = [ "log", "mick-jaeger", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", "sc-network", @@ -11240,7 +11238,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "derive_more", @@ -11251,7 +11249,7 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", @@ -11281,7 +11279,7 @@ dependencies = [ "futures 0.3.30", "futures-timer", "orchestra", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -11341,7 +11339,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -11374,7 +11372,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "bitvec", "frame-benchmarking", @@ -11488,7 +11486,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "frame-benchmarking", @@ -11510,7 +11508,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -11607,7 +11605,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -11656,15 +11654,15 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.0" +version = "3.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +checksum = "e0c976a60b2d7e99d6f229e414670a9b85d13ac305cc6d1e9c134de58c5aaaf6" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi", "pin-project-lite 0.2.14", - "rustix 0.38.34", + "rustix 0.38.32", "tracing", "windows-sys 0.52.0", ] @@ -11774,7 +11772,7 @@ source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-po dependencies = [ "case", "num_enum 0.7.2", - "prettyplease 0.2.20", + "prettyplease 0.2.17", "proc-macro2", "quote", "sp-core-hashing", @@ -11878,12 +11876,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" dependencies = [ "proc-macro2", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -11926,6 +11924,15 @@ dependencies = [ "toml_edit 0.19.15", ] +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", +] + [[package]] name = "proc-macro-crate" version = "3.1.0" @@ -11967,29 +11974,29 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "proc-macro2" -version = "1.0.83" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" +checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "thiserror", ] @@ -12001,7 +12008,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "prometheus-client-derive-encode", ] @@ -12013,7 +12020,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -12028,12 +12035,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.6" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" dependencies = [ "bytes", - "prost-derive 0.12.6", + "prost-derive 0.12.4", ] [[package]] @@ -12073,15 +12080,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.6" +version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +checksum = "19de2de2a00075bf566bee3bd4db014b11587e84184d3f7a791bc17f1a8e9e48" dependencies = [ "anyhow", "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -12161,9 +12168,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -12233,7 +12240,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.14", ] [[package]] @@ -12320,22 +12327,13 @@ dependencies = [ "bitflags 1.3.2", ] -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" -dependencies = [ - "bitflags 2.5.0", -] - [[package]] name = "redox_users" version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.14", "libredox", "thiserror", ] @@ -12354,22 +12352,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -12487,7 +12485,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.14", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -12538,7 +12536,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -12634,7 +12632,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "polkadot-primitives", @@ -12691,9 +12689,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustc-hash" @@ -12713,7 +12711,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.23", + "semver 1.0.22", ] [[package]] @@ -12755,14 +12753,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" dependencies = [ "bitflags 2.5.0", "errno", "libc", - "linux-raw-sys 0.4.14", + "linux-raw-sys 0.4.13", "windows-sys 0.52.0", ] @@ -12780,9 +12778,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.12" +version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ "log", "ring 0.17.8", @@ -12823,9 +12821,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.17" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" [[package]] name = "ruzstd" @@ -12851,9 +12849,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" [[package]] name = "safe_arch" @@ -12898,7 +12896,7 @@ dependencies = [ "multihash 0.18.1", "multihash-codetable", "parity-scale-codec", - "prost 0.12.6", + "prost 0.12.4", "prost-build", "rand 0.8.5", "sc-client-api", @@ -12916,7 +12914,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "futures-timer", @@ -12955,7 +12953,7 @@ name = "sc-chain-spec" version = "27.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "docify", "log", "memmap2 0.9.4", @@ -12984,7 +12982,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -12992,7 +12990,7 @@ name = "sc-cli" version = "0.36.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bip39", "chrono", "clap", @@ -13040,7 +13038,7 @@ dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -13071,7 +13069,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-state-db", "schnellru", @@ -13095,7 +13093,7 @@ dependencies = [ "libp2p-identity", "log", "mockall", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-utils", "serde", @@ -13151,7 +13149,7 @@ dependencies = [ "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -13177,7 +13175,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -13199,16 +13197,16 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "fnv", "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-consensus", "sc-network", @@ -13235,13 +13233,13 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-consensus-beefy", "sc-rpc", "serde", @@ -13267,10 +13265,10 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "ahash 0.8.11", - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-trait", "dyn-clone", "finality-grandpa", @@ -13279,7 +13277,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -13310,7 +13308,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "finality-grandpa", "futures 0.3.30", @@ -13392,7 +13390,7 @@ source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbea dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-executor-common", "sc-executor-wasmtime", "schnellru", @@ -13431,7 +13429,7 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -13463,8 +13461,8 @@ name = "sc-keystore" version = "25.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", - "parking_lot 0.12.2", + "array-bytes 6.2.2", + "parking_lot 0.12.1", "serde_json", "sp-application-crypto", "sp-core", @@ -13488,7 +13486,7 @@ dependencies = [ "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-network", "sc-transaction-pool-api", @@ -13506,7 +13504,7 @@ name = "sc-network" version = "0.34.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "asynchronous-codec", @@ -13521,7 +13519,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "partial_sort", "pin-project", "rand 0.8.5", @@ -13554,7 +13552,7 @@ dependencies = [ "futures 0.3.30", "libp2p-identity", "log", - "prost 0.12.6", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-network", @@ -13584,7 +13582,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "ahash 0.8.11", "futures 0.3.30", @@ -13605,13 +13603,13 @@ name = "sc-network-light" version = "0.33.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel 1.9.0", "futures 0.3.30", "libp2p-identity", "log", "parity-scale-codec", - "prost 0.12.6", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-network", @@ -13626,7 +13624,7 @@ name = "sc-network-sync" version = "0.33.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -13636,7 +13634,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost 0.12.6", + "prost 0.12.4", "prost-build", "sc-client-api", "sc-consensus", @@ -13662,7 +13660,7 @@ name = "sc-network-transactions" version = "0.33.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "futures 0.3.30", "libp2p", "log", @@ -13679,9 +13677,9 @@ dependencies = [ [[package]] name = "sc-offchain" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bytes", "fnv", "futures 0.3.30", @@ -13693,7 +13691,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "sc-client-api", "sc-network", @@ -13713,7 +13711,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13728,7 +13726,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -13791,14 +13789,14 @@ name = "sc-rpc-spec-v2" version = "0.34.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "futures 0.3.30", "futures-util", "hex", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -13829,7 +13827,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project", "rand 0.8.5", "sc-chain-spec", @@ -13886,14 +13884,14 @@ source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbea dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sp-core", ] [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "clap", "fs4", @@ -13906,7 +13904,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13952,7 +13950,7 @@ dependencies = [ "futures 0.3.30", "libp2p", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project", "rand 0.8.5", "sc-utils", @@ -13974,7 +13972,7 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "regex", "rustc-hash", "sc-client-api", @@ -14000,7 +13998,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -14014,7 +14012,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -14056,16 +14054,16 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "prometheus", "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.11.3" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" dependencies = [ "bitvec", "cfg-if", @@ -14077,11 +14075,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -14098,9 +14096,9 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ "ahash 0.8.11", "cfg-if", @@ -14216,11 +14214,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.11.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" dependencies = [ - "bitflags 2.5.0", + "bitflags 1.3.2", "core-foundation", "core-foundation-sys", "libc", @@ -14229,9 +14227,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" dependencies = [ "core-foundation-sys", "libc", @@ -14248,9 +14246,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.23" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" dependencies = [ "serde", ] @@ -14263,9 +14261,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.202" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -14281,20 +14279,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.202" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.115" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" dependencies = [ "itoa", "ryu", @@ -14303,9 +14301,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" dependencies = [ "serde", ] @@ -14405,9 +14403,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" dependencies = [ "libc", ] @@ -14496,7 +14494,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "enumn", "parity-scale-codec", @@ -14559,7 +14557,7 @@ dependencies = [ "fnv", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.14.3", "hex", "hmac 0.12.1", "itertools 0.11.0", @@ -14608,13 +14606,13 @@ dependencies = [ "futures-channel", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.5", + "hashbrown 0.14.3", "hex", "itertools 0.11.0", "log", "lru 0.11.1", "no-std-net", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project", "rand 0.8.5", "rand_chacha 0.3.1", @@ -14662,9 +14660,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" dependencies = [ "libc", "windows-sys 0.52.0", @@ -14719,7 +14717,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -14799,7 +14797,7 @@ dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "schnellru", "sp-api", "sp-consensus", @@ -14863,7 +14861,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14915,7 +14913,7 @@ name = "sp-core" version = "28.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bandersnatch_vrfs", "bip39", "bitflags 1.3.2", @@ -14933,7 +14931,7 @@ dependencies = [ "log", "merlin", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "paste", "primitive-types", "rand 0.8.5", @@ -14959,7 +14957,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "sp-crypto-hashing", ] @@ -14967,7 +14965,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -15005,7 +15003,7 @@ source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbea dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -15014,7 +15012,7 @@ version = "10.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.1", ] [[package]] @@ -15024,7 +15022,7 @@ source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbea dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -15104,7 +15102,7 @@ version = "0.34.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "sp-core", "sp-externalities", "thiserror", @@ -15145,7 +15143,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -15256,7 +15254,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -15296,7 +15294,7 @@ dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "smallvec", "sp-core", @@ -15412,7 +15410,7 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "scale-info", "schnellru", @@ -15450,7 +15448,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -15662,7 +15660,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15678,7 +15676,7 @@ name = "staging-xcm" version = "7.0.0" source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "bounded-collections", "derivative", "environmental", @@ -15694,7 +15692,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "frame-system", @@ -15840,7 +15838,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -15872,7 +15870,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" [[package]] name = "substrate-fixed" @@ -15887,7 +15885,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.30", @@ -15918,7 +15916,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "jsonrpsee", @@ -15931,7 +15929,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -15948,9 +15946,9 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "async-trait", "futures 0.3.30", "parity-scale-codec", @@ -15975,9 +15973,9 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ - "array-bytes 6.2.3", + "array-bytes 6.2.2", "frame-executive", "frame-support", "frame-system", @@ -16017,7 +16015,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "futures 0.3.30", "sc-block-builder", @@ -16045,7 +16043,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "build-helper", "cargo_metadata", @@ -16055,7 +16053,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", - "toml 0.8.13", + "toml 0.8.12", "walkdir", "wasm-opt", ] @@ -16103,9 +16101,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.65" +version = "2.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" +checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" dependencies = [ "proc-macro2", "quote", @@ -16164,8 +16162,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", - "fastrand 2.1.0", - "rustix 0.38.34", + "fastrand 2.0.2", + "rustix 0.38.32", "windows-sys 0.52.0", ] @@ -16184,7 +16182,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.32", "windows-sys 0.48.0", ] @@ -16196,9 +16194,9 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] @@ -16220,18 +16218,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -16295,9 +16293,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", @@ -16316,9 +16314,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ "num-conv", "time-core", @@ -16378,10 +16376,10 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2 0.5.7", + "socket2 0.5.6", "tokio-macros", "windows-sys 0.48.0", ] @@ -16394,7 +16392,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -16414,7 +16412,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.12", + "rustls 0.21.10", "tokio", ] @@ -16432,9 +16430,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ "bytes", "futures-core", @@ -16442,6 +16440,7 @@ dependencies = [ "futures-sink", "pin-project-lite 0.2.14", "tokio", + "tracing", ] [[package]] @@ -16455,21 +16454,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.13", + "toml_edit 0.22.9", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -16485,6 +16484,17 @@ dependencies = [ "winnow 0.5.40", ] +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + [[package]] name = "toml_edit" version = "0.21.1" @@ -16498,15 +16508,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.13" +version = "0.22.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" dependencies = [ "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.8", + "winnow 0.6.5", ] [[package]] @@ -16574,7 +16584,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -16617,7 +16627,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -16732,7 +16742,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "resolv-conf", "smallvec", "thiserror", @@ -16750,7 +16760,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.38.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "async-trait", "clap", @@ -16785,16 +16795,17 @@ dependencies = [ [[package]] name = "trybuild" -version = "1.0.96" +version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33a5f13f11071020bb12de7a16b925d2d58636175c20c11dc5f96cb64bb6c9b3" +checksum = "8ad7eb6319ebadebca3dacf1f85a93bc54b73dd81b9036795f73de7ddfe27d5a" dependencies = [ "glob", + "once_cell", "serde", "serde_derive", "serde_json", "termcolor", - "toml 0.8.13", + "toml 0.8.12", ] [[package]] @@ -16868,9 +16879,9 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -17000,9 +17011,9 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.2.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" @@ -17065,7 +17076,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", "wasm-bindgen-shared", ] @@ -17099,7 +17110,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -17217,9 +17228,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.2" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" dependencies = [ "indexmap-nostd", ] @@ -17451,7 +17462,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "binary-merkle-tree", "bitvec", @@ -17557,7 +17568,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "polkadot-primitives", @@ -17579,14 +17590,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.34", + "rustix 0.38.32", ] [[package]] name = "wide" -version = "0.7.20" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e005a4cc35784183a9e39cb22e9a9c46353ef6a7f113fd8d36ddc58c15ef3c" +checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" dependencies = [ "bytemuck", "safe_arch", @@ -17616,11 +17627,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ - "windows-sys 0.52.0", + "winapi", ] [[package]] @@ -17635,7 +17646,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core 0.51.1", + "windows-core", "windows-targets 0.48.5", ] @@ -17648,15 +17659,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.5", -] - [[package]] name = "windows-sys" version = "0.45.0" @@ -17681,7 +17683,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.4", ] [[package]] @@ -17716,18 +17718,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", ] [[package]] @@ -17744,9 +17745,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" [[package]] name = "windows_aarch64_msvc" @@ -17762,9 +17763,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" [[package]] name = "windows_i686_gnu" @@ -17780,15 +17781,9 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" [[package]] name = "windows_i686_msvc" @@ -17804,9 +17799,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" [[package]] name = "windows_x86_64_gnu" @@ -17822,9 +17817,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" [[package]] name = "windows_x86_64_gnullvm" @@ -17840,9 +17835,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" [[package]] name = "windows_x86_64_msvc" @@ -17858,9 +17853,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" +version = "0.52.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" [[package]] name = "winnow" @@ -17873,9 +17868,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.8" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" dependencies = [ "memchr", ] @@ -17991,13 +17986,13 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#cf2e9733f584878cb0987a99c56840165e778bde" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.7.2#2073906e7994ca069f7f68120b05474f7565b8d2" dependencies = [ "frame-support", "parity-scale-codec", @@ -18021,7 +18016,7 @@ dependencies = [ "futures 0.3.30", "log", "nohash-hasher", - "parking_lot 0.12.2", + "parking_lot 0.12.1", "rand 0.8.5", "static_assertions", ] @@ -18037,22 +18032,22 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -18072,7 +18067,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.58", ] [[package]] @@ -18121,4 +18116,4 @@ checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", -] +] \ No newline at end of file From 92544101b0843239d12ad60f0c7866d0086780ba Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk Date: Thu, 23 May 2024 10:37:29 +0200 Subject: [PATCH 12/19] update tests --- test/contracts/src/dancun/ProxySuicide.sol | 12 ++- .../moonbase/test-contract/test-eip-6780.ts | 6 +- .../test-clear-suicided-contracts.ts | 73 +++++++++++++ .../test-precompile-clear-suicided-storage.ts | 101 ++++++++++++++++++ 4 files changed, 185 insertions(+), 7 deletions(-) create mode 100644 test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts create mode 100644 test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts diff --git a/test/contracts/src/dancun/ProxySuicide.sol b/test/contracts/src/dancun/ProxySuicide.sol index 0b4954d797..d03d60c6df 100644 --- a/test/contracts/src/dancun/ProxySuicide.sol +++ b/test/contracts/src/dancun/ProxySuicide.sol @@ -5,8 +5,8 @@ contract ProxyDeployer { event ContractDestroyed(address destroyedAddress); // Function to deploy a new Suicide contract - function deployAndDestroy(address target) public { - Suicide newContract = new Suicide(); + function deployAndDestroy(address target, uint256 entries) public { + Suicide newContract = new Suicide(entries); newContract.destroy(target); emit ContractDestroyed(address(newContract)); } @@ -14,10 +14,12 @@ contract ProxyDeployer { } contract Suicide { - address public owner; + mapping(uint256 => uint256) public map; - constructor() payable { - owner = msg.sender; + constructor(uint256 entries) payable { + for(uint i = 0; i < entries; i++) { + map[i] = i; + } } function destroy(address target) public { diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts index 3498e2f28f..95d58b40fa 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -12,7 +12,8 @@ describeSuite({ beforeAll(async function () { const { contractAddress } = await context.deployContract!("Suicide", { - gas: 1000000n, + gas: 45_000_000n, + args: [1000], }); contract = contractAddress; }); @@ -113,7 +114,8 @@ describeSuite({ contractAddress, functionName: "deployAndDestroy", rawTxOnly: true, - args: [BALTATHAR_ADDRESS], + gas: "estimate", + args: [BALTATHAR_ADDRESS, 1000], }) ); diff --git a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts new file mode 100644 index 0000000000..48d328b57b --- /dev/null +++ b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts @@ -0,0 +1,73 @@ +import { + describeSuite, + expect, + deployCreateCompiledContract, + fetchCompiledContract, + beforeAll, +} from "@moonwall/cli"; +import { createEthersTransaction } from "@moonwall/util"; +import { encodeFunctionData } from "viem"; +import { expectOk } from "../../../../helpers"; +import { ApiPromise } from "@polkadot/api"; + +describeSuite({ + id: "D012201", + title: "Lazy Migrations Pallet - Clear Suicided Storage", + foundationMethods: "dev", + testCases: ({ context, it }) => { + let api: ApiPromise; + + beforeAll(async () => { + api = context.polkadotJs(); + }); + + it({ + id: "T01", + title: + "Should clear storage entries of multiple suicided contracts within the deletion limit.", + test: async function () { + const { abi } = fetchCompiledContract("Storage"); + + for (let i = 0; i < 3; i++) { + const { contractAddress } = await deployCreateCompiledContract(context, "Storage"); + + // Create storage entries for the contract + const rawSigned = await createEthersTransaction(context, { + to: contractAddress, + data: encodeFunctionData({ + abi, + args: [0, 200], + functionName: "store", + }), + gasLimit: 13_000_000, + }); + await expectOk(context.createBlock(rawSigned)); + + await context.createBlock(); + + // Call the extrinsic to delete the storage entries + const tx = await context.createBlock( + api.tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) + ); + await expect(!tx.result?.successful, "The contract storage cannot be removed"); + + // Remove The contract code to make it corrupted + await context.createBlock( + api.tx.sudo.sudo( + api.tx.system.killStorage([api.query.evm.accountCodes.key(contractAddress)]) + ) + ); + + // Now, the storage can be removed + await expectOk( + context.createBlock( + context + .polkadotJs() + .tx.moonbeamLazyMigrations.clearSuicidedStorage([contractAddress], 199) + ) + ); + } + }, + }); + }, +}); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts new file mode 100644 index 0000000000..cb0bcfdc73 --- /dev/null +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts @@ -0,0 +1,101 @@ +import { + describeSuite, + expect, + deployCreateCompiledContract, + fetchCompiledContract, + beforeEach, +} from "@moonwall/cli"; +import { createEthersTransaction } from "@moonwall/util"; +import { Abi, encodeFunctionData } from "viem"; +import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; +import { ApiPromise } from "@polkadot/api"; + +describeSuite({ + id: "D012929", + title: "Precompile - Clear Suicided Storage", + foundationMethods: "dev", + testCases: ({ context, it }) => { + let api: ApiPromise; + let abi: Abi; + let precompile_abi: Abi; + let contractAddress: `0x${string}`; + // StorageCleaner precompile address + const precompileAddress: `0x${string}` = "0x0000000000000000000000000000000000000403"; + + beforeEach(async () => { + api = context.polkadotJs(); + const storageContract = fetchCompiledContract("Storage"); + abi = storageContract.abi; + const storageCleanerPrecompile = fetchCompiledContract("StorageCleaner"); + precompile_abi = storageCleanerPrecompile.abi; + const deployResult = await deployCreateCompiledContract(context, "Storage"); + contractAddress = deployResult.contractAddress; + + // Create storage entries for the contract + const rawSigned = await createEthersTransaction(context, { + to: contractAddress, + data: encodeFunctionData({ + abi, + args: [0, 200], + functionName: "store", + }), + gasLimit: 13_000_000, + }); + await expectOk(context.createBlock(rawSigned)); + + await context.createBlock(); + }); + + it({ + id: "T01", + title: "Should not be able to clear storage entries of a contract that is not suicided.", + test: async function () { + const rawTxn = await createEthersTransaction(context, { + to: precompileAddress, + data: encodeFunctionData({ + abi: precompile_abi, + args: [[contractAddress], 201], + functionName: "clearSuicidedStorage", + }), + gasLimit: 13_000_000, + }); + const result = await context.createBlock(rawTxn); + + expectEVMResult(result.result!.events, "Revert", "Reverted"); + const revertReason = await extractRevertReason(context, result.result!.hash); + expect(revertReason).to.contain(`NotSuicided:`); + }, + }); + + it({ + id: "T02", + title: "Should clear storage entries of a suicided contract.", + test: async function () { + // Add contract to the suicided list + await context.createBlock( + api.tx.sudo.sudo( + api.tx.system.setStorage([[api.query.evm.suicided.key(contractAddress), null]]) + ) + ); + const suicidedContracts = await context.polkadotJs().query.evm.suicided(contractAddress); + expect(suicidedContracts.isSome).to.be.true; + // Call the precompile to delete the storage entries + const rawTxn = await createEthersTransaction(context, { + to: precompileAddress, + data: encodeFunctionData({ + abi: precompile_abi, + args: [[contractAddress], 201], + functionName: "clearSuicidedStorage", + }), + gasLimit: 13_000_000, + }); + + await expectOk(context.createBlock(rawTxn)); + const postClearSuicidedContracts = await context + .polkadotJs() + .query.evm.suicided(contractAddress); + expect(postClearSuicidedContracts.isNone).to.be.true; + }, + }); + }, +}); From f7ba5f4b839aa7f7ec3fc5e1be94bd17aaad649a Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk Date: Thu, 23 May 2024 14:53:41 +0200 Subject: [PATCH 13/19] fix tests --- test/contracts/src/dancun/ProxySuicide.sol | 11 +++-------- .../dev/moonbase/test-contract/test-eip-6780.ts | 8 +++----- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/test/contracts/src/dancun/ProxySuicide.sol b/test/contracts/src/dancun/ProxySuicide.sol index d03d60c6df..27dbd6f14a 100644 --- a/test/contracts/src/dancun/ProxySuicide.sol +++ b/test/contracts/src/dancun/ProxySuicide.sol @@ -5,8 +5,8 @@ contract ProxyDeployer { event ContractDestroyed(address destroyedAddress); // Function to deploy a new Suicide contract - function deployAndDestroy(address target, uint256 entries) public { - Suicide newContract = new Suicide(entries); + function deployAndDestroy(address target) public { + Suicide newContract = new Suicide(); newContract.destroy(target); emit ContractDestroyed(address(newContract)); } @@ -14,12 +14,7 @@ contract ProxyDeployer { } contract Suicide { - mapping(uint256 => uint256) public map; - - constructor(uint256 entries) payable { - for(uint i = 0; i < entries; i++) { - map[i] = i; - } + constructor() payable { } function destroy(address target) public { diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts index 95d58b40fa..041c0cd952 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -1,4 +1,4 @@ -import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; +import { beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { expectEVMResult, expectSubstrateEvent } from "../../../../helpers"; import { GLMR, BALTATHAR_ADDRESS } from "@moonwall/util"; import { decodeEventLog } from "viem"; @@ -10,10 +10,9 @@ describeSuite({ testCases: ({ context, it }) => { let contract: `0x${string}`; - beforeAll(async function () { + beforeEach(async function () { const { contractAddress } = await context.deployContract!("Suicide", { gas: 45_000_000n, - args: [1000], }); contract = contractAddress; }); @@ -114,8 +113,7 @@ describeSuite({ contractAddress, functionName: "deployAndDestroy", rawTxOnly: true, - gas: "estimate", - args: [BALTATHAR_ADDRESS, 1000], + args: [BALTATHAR_ADDRESS], }) ); From f59d4d0190fe48cbd0bcb81477c815c9e0db1abd Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk Date: Thu, 23 May 2024 16:16:35 +0200 Subject: [PATCH 14/19] fix test --- test/suites/dev/moonbase/test-contract/test-eip-6780.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts index 041c0cd952..8b66e1b7df 100644 --- a/test/suites/dev/moonbase/test-contract/test-eip-6780.ts +++ b/test/suites/dev/moonbase/test-contract/test-eip-6780.ts @@ -24,7 +24,7 @@ describeSuite({ "transaction that created the contract", test: async function () { // Get Code - const code = await context.polkadotJs().query.evm.accountCodes(contract); + const code = (await context.polkadotJs().query.evm.accountCodes(contract)).toHex(); // transfer some tokens to the contract await context.createBlock( @@ -47,8 +47,11 @@ describeSuite({ expectEVMResult(result!.events, "Succeed", "Suicided"); // Code should not be deleted - const postSuicideCode = await context.polkadotJs().query.evm.accountCodes(contract); - expect(postSuicideCode).toEqual(code); + const postSuicideCode = ( + await context.polkadotJs().query.evm.accountCodes(contract) + ).toHex(); + + expect(postSuicideCode).to.eq(code); // Nonce should be one expect((await context.polkadotJs().query.system.account(contract)).nonce.toBigInt()).to.eq( From fb2cd75689dd0d55b0432c8c40ed8005a5681c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Fri, 24 May 2024 10:37:05 +0200 Subject: [PATCH 15/19] update evm fork (include nonce increment fix) --- Cargo.lock | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1cfb761c4e..136f7d5bb9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3297,7 +3297,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "fp-storage", @@ -3309,7 +3309,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "fp-consensus", @@ -3325,7 +3325,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "ethereum", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fc-db", "fc-storage", @@ -3379,7 +3379,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "ethereum-types", @@ -3434,7 +3434,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "ethereum-types", @@ -3449,7 +3449,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "ethereum-types", @@ -3644,7 +3644,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "hex", "impl-serde 0.4.0", @@ -3663,7 +3663,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "parity-scale-codec", @@ -3675,7 +3675,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "ethereum-types", @@ -3688,7 +3688,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "evm", "frame-support", @@ -3704,7 +3704,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum", "ethereum-types", @@ -3721,7 +3721,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "frame-support", "parity-scale-codec", @@ -3733,7 +3733,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "parity-scale-codec", "serde", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "environmental", "ethereum", @@ -8548,7 +8548,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "environmental", "evm", @@ -8574,7 +8574,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "frame-support", "frame-system", @@ -8668,7 +8668,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", ] @@ -8676,7 +8676,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "sp-core", @@ -8806,7 +8806,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "frame-support", @@ -8882,7 +8882,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "num", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "tiny-keccak", @@ -9125,7 +9125,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "ripemd", @@ -9135,7 +9135,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "frame-support", @@ -11711,7 +11711,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "environmental", "evm", @@ -11768,7 +11768,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#57a4a2adb4b26178b30eb5a81b115dc3066f8563" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "case", "num_enum 0.7.2", From 7900e18725ea6abf3f7e210a633739ff9cc42f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Fri, 24 May 2024 10:44:49 +0200 Subject: [PATCH 16/19] add test to verify the nonce increment bug (MOON-2806) --- .../test-eth-tx/test-test-tx-nonce.ts | 64 ++++++++++++++++++- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts index bf07b4f98b..af4736d46f 100644 --- a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts +++ b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts @@ -1,12 +1,13 @@ import "@moonbeam-network/api-augment"; -import { customDevRpcRequest, describeSuite, expect } from "@moonwall/cli"; +import { beforeAll, customDevRpcRequest, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, createRawTransfer, } from "@moonwall/util"; - +import { encodeFunctionData } from "viem"; + describeSuite({ id: "D011303", title: "Ethereum Transaction - Nonce", @@ -107,3 +108,62 @@ describeSuite({ }); }, }); + +describeSuite({ + id: "D011304", + title: "Ethereum Transaction - Nonce #2", + foundationMethods: "dev", + testCases: ({ context, it, log }) => { + + let incrementorAddress: `0x${string}`; + + beforeAll(async () => { + // const { + // // contract: incContract, + // contractAddress: incAddress, + // abi: incAbi, + // } = await deployCreateCompiledContract(context, "Incrementor"); + + const { contractAddress, abi } = await context.deployContract!("Incrementor"); + // incrementorContract = incContract; + incrementorAddress = contractAddress; + }); + + it({ + id: "T01", + title: "should be at 0 before using it", + test: async function () { + expect(await context.viem().getTransactionCount({ address: BALTATHAR_ADDRESS })).toBe(0); + }, + }); + + it({ + id: "T01", + title: "should increment to 1", + test: async function () { + const data = encodeFunctionData({ + abi: fetchCompiledContract("Incrementor").abi, + functionName: "incr", + }); + await context.createBlock( + context.createTxn!({ + data, + to: incrementorAddress, + value: 0n, + gasLimit: 21000, + txnType: "legacy", + }) + ); + const block = await context.viem().getBlock({ blockTag: "latest" }); + expect( + block.transactions.length, + "should include the transaction in the block" + ).to.be.eq(1); + expect( + await context.viem().getTransactionCount({ address: BALTATHAR_ADDRESS }), + "should increase the sender nonce" + ).toBe(1); + }, + }); + }, + }); From b8da5e887cc25db87eed359095d8250b0343d973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Fri, 24 May 2024 10:47:36 +0200 Subject: [PATCH 17/19] update evm pin --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 136f7d5bb9..7a88451588 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3143,7 +3143,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#84979790a742326880c9c418dabe0e9af496cd6a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "auto_impl", "environmental", @@ -3163,7 +3163,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#84979790a742326880c9c418dabe0e9af496cd6a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#84979790a742326880c9c418dabe0e9af496cd6a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "environmental", "evm-core", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#84979790a742326880c9c418dabe0e9af496cd6a" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "auto_impl", "environmental", From 28286c5da8cdc07b9e5aad4b09cc73a484e73ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Fri, 24 May 2024 10:59:17 +0200 Subject: [PATCH 18/19] prettier --- .../test-eth-tx/test-test-tx-nonce.ts | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts index af4736d46f..0116f43f7c 100644 --- a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts +++ b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts @@ -1,5 +1,11 @@ import "@moonbeam-network/api-augment"; -import { beforeAll, customDevRpcRequest, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; +import { + beforeAll, + customDevRpcRequest, + describeSuite, + expect, + fetchCompiledContract, +} from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, @@ -7,7 +13,7 @@ import { createRawTransfer, } from "@moonwall/util"; import { encodeFunctionData } from "viem"; - + describeSuite({ id: "D011303", title: "Ethereum Transaction - Nonce", @@ -114,9 +120,8 @@ describeSuite({ title: "Ethereum Transaction - Nonce #2", foundationMethods: "dev", testCases: ({ context, it, log }) => { - let incrementorAddress: `0x${string}`; - + beforeAll(async () => { // const { // // contract: incContract, @@ -128,7 +133,7 @@ describeSuite({ // incrementorContract = incContract; incrementorAddress = contractAddress; }); - + it({ id: "T01", title: "should be at 0 before using it", @@ -155,10 +160,9 @@ describeSuite({ }) ); const block = await context.viem().getBlock({ blockTag: "latest" }); - expect( - block.transactions.length, - "should include the transaction in the block" - ).to.be.eq(1); + expect(block.transactions.length, "should include the transaction in the block").to.be.eq( + 1 + ); expect( await context.viem().getTransactionCount({ address: BALTATHAR_ADDRESS }), "should increase the sender nonce" @@ -166,4 +170,4 @@ describeSuite({ }, }); }, - }); +}); From 2617e1118b42f442fddb38ada55c086077e11f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Fri, 24 May 2024 12:01:51 +0200 Subject: [PATCH 19/19] fix nonce bug test --- test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts index 0116f43f7c..d1fc1829ab 100644 --- a/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts +++ b/test/suites/dev/moonbase/test-eth-tx/test-test-tx-nonce.ts @@ -9,6 +9,7 @@ import { import { ALITH_ADDRESS, BALTATHAR_ADDRESS, + BALTATHAR_PRIVATE_KEY, CHARLETH_ADDRESS, createRawTransfer, } from "@moonwall/util"; @@ -152,8 +153,9 @@ describeSuite({ }); await context.createBlock( context.createTxn!({ - data, + privateKey: BALTATHAR_PRIVATE_KEY, to: incrementorAddress, + data, value: 0n, gasLimit: 21000, txnType: "legacy",