git.delta.rocks / unique-network / refs/commits / 874bac86d4ac

difftreelog

Merge branch 'develop' into feature/evm-collection-calls

Yaroslav Bolyukin2021-08-31parents: #b65bf9a #93b7b22.patch.diff
in: master

26 files changed

added.maintain/frame-weight-template.hbsdiffbeforeafterboth

no changes

modifiedCargo.lockdiffbeforeafterboth
703 "once_cell",703 "once_cell",
704]704]
705
706[[package]]
707name = "bp-header-chain"
708version = "0.1.0"
709source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
710dependencies = [
711 "finality-grandpa",
712 "frame-support",
713 "parity-scale-codec",
714 "serde",
715 "sp-core",
716 "sp-finality-grandpa",
717 "sp-runtime",
718 "sp-std",
719]
720
721[[package]]
722name = "bp-messages"
723version = "0.1.0"
724source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
725dependencies = [
726 "bitvec 0.20.4",
727 "bp-runtime",
728 "frame-support",
729 "frame-system",
730 "impl-trait-for-tuples",
731 "parity-scale-codec",
732 "serde",
733 "sp-std",
734]
735
736[[package]]
737name = "bp-polkadot-core"
738version = "0.1.0"
739source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
740dependencies = [
741 "bp-messages",
742 "bp-runtime",
743 "frame-support",
744 "frame-system",
745 "parity-scale-codec",
746 "sp-api",
747 "sp-core",
748 "sp-runtime",
749 "sp-std",
750 "sp-version",
751]
752
753[[package]]
754name = "bp-rococo"
755version = "0.1.0"
756source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
757dependencies = [
758 "bp-messages",
759 "bp-polkadot-core",
760 "bp-runtime",
761 "frame-support",
762 "parity-scale-codec",
763 "smallvec 1.6.1",
764 "sp-api",
765 "sp-runtime",
766 "sp-std",
767 "sp-version",
768]
769
770[[package]]
771name = "bp-runtime"
772version = "0.1.0"
773source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
774dependencies = [
775 "frame-support",
776 "hash-db",
777 "num-traits",
778 "parity-scale-codec",
779 "sp-core",
780 "sp-io",
781 "sp-runtime",
782 "sp-state-machine",
783 "sp-std",
784 "sp-trie",
785]
786
787[[package]]
788name = "bp-test-utils"
789version = "0.1.0"
790source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
791dependencies = [
792 "bp-header-chain",
793 "ed25519-dalek",
794 "finality-grandpa",
795 "parity-scale-codec",
796 "sp-application-crypto",
797 "sp-finality-grandpa",
798 "sp-runtime",
799 "sp-std",
800]
801
802[[package]]
803name = "bp-wococo"
804version = "0.1.0"
805source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
806dependencies = [
807 "bp-messages",
808 "bp-polkadot-core",
809 "bp-rococo",
810 "bp-runtime",
811 "parity-scale-codec",
812 "sp-api",
813 "sp-runtime",
814 "sp-std",
815]
705816
706[[package]]817[[package]]
707name = "bs58"818name = "bs58"
3778 "winapi-build",3889 "winapi-build",
3779]3890]
3891
3892[[package]]
3893name = "kusama-runtime"
3894version = "0.9.8"
3895source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
3896dependencies = [
3897 "beefy-primitives",
3898 "bitvec 0.20.4",
3899 "frame-benchmarking",
3900 "frame-election-provider-support",
3901 "frame-executive",
3902 "frame-support",
3903 "frame-system",
3904 "frame-system-benchmarking",
3905 "frame-system-rpc-runtime-api",
3906 "frame-try-runtime",
3907 "hex-literal",
3908 "log",
3909 "max-encoded-len",
3910 "pallet-authority-discovery",
3911 "pallet-authorship",
3912 "pallet-babe",
3913 "pallet-balances",
3914 "pallet-bounties",
3915 "pallet-collective",
3916 "pallet-democracy",
3917 "pallet-election-provider-multi-phase",
3918 "pallet-elections-phragmen",
3919 "pallet-gilt",
3920 "pallet-grandpa",
3921 "pallet-identity",
3922 "pallet-im-online",
3923 "pallet-indices",
3924 "pallet-membership",
3925 "pallet-mmr-primitives",
3926 "pallet-multisig",
3927 "pallet-nicks",
3928 "pallet-offences",
3929 "pallet-offences-benchmarking",
3930 "pallet-proxy",
3931 "pallet-recovery",
3932 "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
3933 "pallet-session",
3934 "pallet-session-benchmarking",
3935 "pallet-society",
3936 "pallet-staking",
3937 "pallet-staking-reward-fn",
3938 "pallet-timestamp",
3939 "pallet-tips",
3940 "pallet-transaction-payment",
3941 "pallet-transaction-payment-rpc-runtime-api",
3942 "pallet-treasury",
3943 "pallet-utility",
3944 "pallet-vesting",
3945 "pallet-xcm",
3946 "parity-scale-codec",
3947 "polkadot-primitives",
3948 "polkadot-runtime-common",
3949 "polkadot-runtime-parachains",
3950 "rustc-hex",
3951 "serde",
3952 "serde_derive",
3953 "smallvec 1.6.1",
3954 "sp-api",
3955 "sp-arithmetic",
3956 "sp-authority-discovery",
3957 "sp-block-builder",
3958 "sp-consensus-babe",
3959 "sp-core",
3960 "sp-inherents",
3961 "sp-io",
3962 "sp-npos-elections",
3963 "sp-offchain",
3964 "sp-runtime",
3965 "sp-session",
3966 "sp-staking",
3967 "sp-std",
3968 "sp-transaction-pool",
3969 "sp-version",
3970 "static_assertions",
3971 "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
3972 "xcm",
3973 "xcm-builder",
3974 "xcm-executor",
3975]
37803976
3781[[package]]3977[[package]]
3782name = "kv-log-macro"3978name = "kv-log-macro"
5019 "pallet-evm",5215 "pallet-evm",
5020 "pallet-evm-coder-substrate",5216 "pallet-evm-coder-substrate",
5021 "pallet-evm-contract-helpers",5217 "pallet-evm-contract-helpers",
5218 "pallet-evm-migration",
5022 "pallet-evm-transaction-payment",5219 "pallet-evm-transaction-payment",
5023 "pallet-inflation",5220 "pallet-inflation",
5024 "pallet-nft",5221 "pallet-nft",
5321version = "3.0.0"5518version = "3.0.0"
5322source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5519source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5323dependencies = [5520dependencies = [
5521 "frame-benchmarking",
5324 "frame-support",5522 "frame-support",
5325 "frame-system",5523 "frame-system",
5326 "pallet-treasury",5524 "pallet-treasury",
5329 "sp-std",5527 "sp-std",
5330]5528]
5529
5530[[package]]
5531name = "pallet-bridge-grandpa"
5532version = "0.1.0"
5533source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
5534dependencies = [
5535 "bp-header-chain",
5536 "bp-runtime",
5537 "bp-test-utils",
5538 "finality-grandpa",
5539 "frame-support",
5540 "frame-system",
5541 "log",
5542 "num-traits",
5543 "parity-scale-codec",
5544 "serde",
5545 "sp-finality-grandpa",
5546 "sp-runtime",
5547 "sp-std",
5548 "sp-trie",
5549]
53315550
5332[[package]]5551[[package]]
5333name = "pallet-collective"5552name = "pallet-collective"
5334version = "3.0.0"5553version = "3.0.0"
5335source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5554source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5336dependencies = [5555dependencies = [
5556 "frame-benchmarking",
5337 "frame-support",5557 "frame-support",
5338 "frame-system",5558 "frame-system",
5339 "log",5559 "log",
5423version = "3.0.0"5643version = "3.0.0"
5424source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5644source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5425dependencies = [5645dependencies = [
5646 "frame-benchmarking",
5426 "frame-election-provider-support",5647 "frame-election-provider-support",
5427 "frame-support",5648 "frame-support",
5428 "frame-system",5649 "frame-system",
5429 "log",5650 "log",
5430 "parity-scale-codec",5651 "parity-scale-codec",
5652 "rand 0.7.3",
5431 "sp-arithmetic",5653 "sp-arithmetic",
5432 "sp-core",5654 "sp-core",
5433 "sp-io",5655 "sp-io",
5442version = "4.0.0"5664version = "4.0.0"
5443source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5665source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5444dependencies = [5666dependencies = [
5667 "frame-benchmarking",
5445 "frame-support",5668 "frame-support",
5446 "frame-system",5669 "frame-system",
5447 "log",5670 "log",
5541 "up-sponsorship",5764 "up-sponsorship",
5542]5765]
5766
5767[[package]]
5768name = "pallet-evm-migration"
5769version = "0.1.0"
5770dependencies = [
5771 "fp-evm",
5772 "frame-benchmarking",
5773 "frame-support",
5774 "frame-system",
5775 "pallet-evm",
5776 "parity-scale-codec",
5777 "sp-core",
5778 "sp-io",
5779 "sp-runtime",
5780 "sp-std",
5781]
55435782
5544[[package]]5783[[package]]
5545name = "pallet-evm-transaction-payment"5784name = "pallet-evm-transaction-payment"
5558 "up-sponsorship",5797 "up-sponsorship",
5559]5798]
5799
5800[[package]]
5801name = "pallet-gilt"
5802version = "3.0.0"
5803source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5804dependencies = [
5805 "frame-benchmarking",
5806 "frame-support",
5807 "frame-system",
5808 "parity-scale-codec",
5809 "sp-arithmetic",
5810 "sp-runtime",
5811 "sp-std",
5812]
55605813
5561[[package]]5814[[package]]
5562name = "pallet-grandpa"5815name = "pallet-grandpa"
5600version = "3.0.0"5853version = "3.0.0"
5601source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5854source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5602dependencies = [5855dependencies = [
5856 "frame-benchmarking",
5603 "frame-support",5857 "frame-support",
5604 "frame-system",5858 "frame-system",
5605 "log",5859 "log",
5618version = "3.0.0"5872version = "3.0.0"
5619source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5873source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5620dependencies = [5874dependencies = [
5875 "frame-benchmarking",
5621 "frame-support",5876 "frame-support",
5622 "frame-system",5877 "frame-system",
5623 "parity-scale-codec",5878 "parity-scale-codec",
5717version = "3.0.0"5972version = "3.0.0"
5718source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"5973source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5719dependencies = [5974dependencies = [
5975 "frame-benchmarking",
5720 "frame-support",5976 "frame-support",
5721 "frame-system",5977 "frame-system",
5722 "parity-scale-codec",5978 "parity-scale-codec",
5821 "sp-std",6077 "sp-std",
5822]6078]
6079
6080[[package]]
6081name = "pallet-offences-benchmarking"
6082version = "3.0.0"
6083source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6084dependencies = [
6085 "frame-benchmarking",
6086 "frame-election-provider-support",
6087 "frame-support",
6088 "frame-system",
6089 "pallet-babe",
6090 "pallet-balances",
6091 "pallet-grandpa",
6092 "pallet-im-online",
6093 "pallet-offences",
6094 "pallet-session",
6095 "pallet-staking",
6096 "parity-scale-codec",
6097 "sp-runtime",
6098 "sp-staking",
6099 "sp-std",
6100]
58236101
5824[[package]]6102[[package]]
5825name = "pallet-proxy"6103name = "pallet-proxy"
5826version = "3.0.0"6104version = "3.0.0"
5827source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6105source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5828dependencies = [6106dependencies = [
6107 "frame-benchmarking",
5829 "frame-support",6108 "frame-support",
5830 "frame-system",6109 "frame-system",
5831 "max-encoded-len",6110 "max-encoded-len",
5849 "sp-std",6128 "sp-std",
5850]6129]
6130
6131[[package]]
6132name = "pallet-recovery"
6133version = "3.0.0"
6134source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6135dependencies = [
6136 "enumflags2",
6137 "frame-support",
6138 "frame-system",
6139 "parity-scale-codec",
6140 "sp-io",
6141 "sp-runtime",
6142 "sp-std",
6143]
58516144
5852[[package]]6145[[package]]
5853name = "pallet-scheduler"6146name = "pallet-scheduler"
5902 "sp-trie",6195 "sp-trie",
5903]6196]
6197
6198[[package]]
6199name = "pallet-session-benchmarking"
6200version = "3.0.0"
6201source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6202dependencies = [
6203 "frame-benchmarking",
6204 "frame-support",
6205 "frame-system",
6206 "pallet-session",
6207 "pallet-staking",
6208 "rand 0.7.3",
6209 "sp-runtime",
6210 "sp-session",
6211 "sp-std",
6212]
6213
6214[[package]]
6215name = "pallet-society"
6216version = "3.0.0"
6217source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6218dependencies = [
6219 "frame-support",
6220 "frame-system",
6221 "parity-scale-codec",
6222 "rand_chacha 0.2.2",
6223 "sp-runtime",
6224 "sp-std",
6225]
59046226
5905[[package]]6227[[package]]
5906name = "pallet-staking"6228name = "pallet-staking"
5907version = "3.0.0"6229version = "3.0.0"
5908source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6230source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5909dependencies = [6231dependencies = [
6232 "frame-benchmarking",
5910 "frame-election-provider-support",6233 "frame-election-provider-support",
5911 "frame-support",6234 "frame-support",
5912 "frame-system",6235 "frame-system",
5915 "pallet-session",6238 "pallet-session",
5916 "parity-scale-codec",6239 "parity-scale-codec",
5917 "paste",6240 "paste",
6241 "rand_chacha 0.2.2",
5918 "serde",6242 "serde",
5919 "sp-application-crypto",6243 "sp-application-crypto",
5920 "sp-io",6244 "sp-io",
5935 "syn",6259 "syn",
5936]6260]
6261
6262[[package]]
6263name = "pallet-staking-reward-fn"
6264version = "3.0.0"
6265source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6266dependencies = [
6267 "log",
6268 "sp-arithmetic",
6269]
59376270
5938[[package]]6271[[package]]
5939name = "pallet-sudo"6272name = "pallet-sudo"
5971version = "3.0.0"6304version = "3.0.0"
5972source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6305source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
5973dependencies = [6306dependencies = [
6307 "frame-benchmarking",
5974 "frame-support",6308 "frame-support",
5975 "frame-system",6309 "frame-system",
5976 "pallet-treasury",6310 "pallet-treasury",
6029version = "3.0.0"6363version = "3.0.0"
6030source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6364source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6031dependencies = [6365dependencies = [
6366 "frame-benchmarking",
6032 "frame-support",6367 "frame-support",
6033 "frame-system",6368 "frame-system",
6034 "impl-trait-for-tuples",6369 "impl-trait-for-tuples",
6044version = "3.0.0"6379version = "3.0.0"
6045source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6380source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6046dependencies = [6381dependencies = [
6382 "frame-benchmarking",
6047 "frame-support",6383 "frame-support",
6048 "frame-system",6384 "frame-system",
6049 "parity-scale-codec",6385 "parity-scale-codec",
6059source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"6395source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
6060dependencies = [6396dependencies = [
6061 "enumflags2",6397 "enumflags2",
6398 "frame-benchmarking",
6062 "frame-support",6399 "frame-support",
6063 "frame-system",6400 "frame-system",
6064 "parity-scale-codec",6401 "parity-scale-codec",
6074 "frame-support",6411 "frame-support",
6075 "frame-system",6412 "frame-system",
6076 "parity-scale-codec",6413 "parity-scale-codec",
6414 "serde",
6077 "sp-runtime",6415 "sp-runtime",
6078 "sp-std",6416 "sp-std",
6079 "xcm",6417 "xcm",
7149dependencies = [7487dependencies = [
7150 "beefy-primitives",7488 "beefy-primitives",
7151 "bitvec 0.20.4",7489 "bitvec 0.20.4",
7490 "frame-benchmarking",
7152 "frame-election-provider-support",7491 "frame-election-provider-support",
7153 "frame-executive",7492 "frame-executive",
7154 "frame-support",7493 "frame-support",
7155 "frame-system",7494 "frame-system",
7495 "frame-system-benchmarking",
7156 "frame-system-rpc-runtime-api",7496 "frame-system-rpc-runtime-api",
7157 "frame-try-runtime",7497 "frame-try-runtime",
7498 "hex-literal",
7158 "log",7499 "log",
7159 "max-encoded-len",7500 "max-encoded-len",
7160 "pallet-authority-discovery",7501 "pallet-authority-discovery",
7175 "pallet-multisig",7516 "pallet-multisig",
7176 "pallet-nicks",7517 "pallet-nicks",
7177 "pallet-offences",7518 "pallet-offences",
7519 "pallet-offences-benchmarking",
7178 "pallet-proxy",7520 "pallet-proxy",
7179 "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",7521 "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
7180 "pallet-session",7522 "pallet-session",
7523 "pallet-session-benchmarking",
7181 "pallet-staking",7524 "pallet-staking",
7182 "pallet-staking-reward-curve",7525 "pallet-staking-reward-curve",
7183 "pallet-timestamp",7526 "pallet-timestamp",
7220dependencies = [7563dependencies = [
7221 "beefy-primitives",7564 "beefy-primitives",
7222 "bitvec 0.20.4",7565 "bitvec 0.20.4",
7566 "frame-benchmarking",
7223 "frame-support",7567 "frame-support",
7224 "frame-system",7568 "frame-system",
7225 "impl-trait-for-tuples",7569 "impl-trait-for-tuples",
7226 "libsecp256k1 0.3.5",7570 "libsecp256k1 0.3.5",
7227 "log",7571 "log",
7228 "pallet-authorship",7572 "pallet-authorship",
7573 "pallet-babe",
7229 "pallet-balances",7574 "pallet-balances",
7230 "pallet-beefy",7575 "pallet-beefy",
7231 "pallet-election-provider-multi-phase",7576 "pallet-election-provider-multi-phase",
7263dependencies = [7608dependencies = [
7264 "bitvec 0.20.4",7609 "bitvec 0.20.4",
7265 "derive_more",7610 "derive_more",
7611 "frame-benchmarking",
7266 "frame-support",7612 "frame-support",
7267 "frame-system",7613 "frame-system",
7614 "libsecp256k1 0.3.5",
7268 "log",7615 "log",
7269 "pallet-authority-discovery",7616 "pallet-authority-discovery",
7270 "pallet-authorship",7617 "pallet-authorship",
7304 "frame-system-rpc-runtime-api",7651 "frame-system-rpc-runtime-api",
7305 "futures 0.3.16",7652 "futures 0.3.16",
7306 "hex-literal",7653 "hex-literal",
7654 "kusama-runtime",
7307 "kvdb",7655 "kvdb",
7308 "kvdb-rocksdb",7656 "kvdb-rocksdb",
7309 "pallet-babe",7657 "pallet-babe",
7339 "polkadot-runtime",7687 "polkadot-runtime",
7340 "polkadot-runtime-parachains",7688 "polkadot-runtime-parachains",
7341 "polkadot-statement-distribution",7689 "polkadot-statement-distribution",
7690 "rococo-runtime",
7342 "sc-authority-discovery",7691 "sc-authority-discovery",
7343 "sc-basic-authorship",7692 "sc-basic-authorship",
7344 "sc-block-builder",7693 "sc-block-builder",
7380 "substrate-prometheus-endpoint",7729 "substrate-prometheus-endpoint",
7381 "thiserror",7730 "thiserror",
7382 "tracing",7731 "tracing",
7732 "westend-runtime",
7383]7733]
73847734
7385[[package]]7735[[package]]
8143 "librocksdb-sys",8493 "librocksdb-sys",
8144]8494]
8495
8496[[package]]
8497name = "rococo-runtime"
8498version = "0.9.8"
8499source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
8500dependencies = [
8501 "beefy-primitives",
8502 "bp-rococo",
8503 "bp-wococo",
8504 "frame-executive",
8505 "frame-support",
8506 "frame-system",
8507 "frame-system-rpc-runtime-api",
8508 "hex-literal",
8509 "log",
8510 "max-encoded-len",
8511 "pallet-authority-discovery",
8512 "pallet-authorship",
8513 "pallet-babe",
8514 "pallet-balances",
8515 "pallet-beefy",
8516 "pallet-bridge-grandpa",
8517 "pallet-collective",
8518 "pallet-grandpa",
8519 "pallet-im-online",
8520 "pallet-indices",
8521 "pallet-membership",
8522 "pallet-mmr",
8523 "pallet-mmr-primitives",
8524 "pallet-offences",
8525 "pallet-proxy",
8526 "pallet-session",
8527 "pallet-staking",
8528 "pallet-staking-reward-curve",
8529 "pallet-sudo",
8530 "pallet-timestamp",
8531 "pallet-transaction-payment",
8532 "pallet-transaction-payment-rpc-runtime-api",
8533 "pallet-utility",
8534 "pallet-xcm",
8535 "parity-scale-codec",
8536 "polkadot-parachain",
8537 "polkadot-primitives",
8538 "polkadot-runtime-common",
8539 "polkadot-runtime-parachains",
8540 "serde",
8541 "serde_derive",
8542 "smallvec 1.6.1",
8543 "sp-api",
8544 "sp-authority-discovery",
8545 "sp-block-builder",
8546 "sp-consensus-babe",
8547 "sp-core",
8548 "sp-inherents",
8549 "sp-io",
8550 "sp-offchain",
8551 "sp-runtime",
8552 "sp-session",
8553 "sp-staking",
8554 "sp-std",
8555 "sp-transaction-pool",
8556 "sp-version",
8557 "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
8558 "xcm",
8559 "xcm-builder",
8560 "xcm-executor",
8561]
81458562
8146[[package]]8563[[package]]
8147name = "rpassword"8564name = "rpassword"
12043 "cc",12460 "cc",
12044]12461]
12462
12463[[package]]
12464name = "westend-runtime"
12465version = "0.9.8"
12466source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
12467dependencies = [
12468 "beefy-primitives",
12469 "bitvec 0.20.4",
12470 "frame-benchmarking",
12471 "frame-election-provider-support",
12472 "frame-executive",
12473 "frame-support",
12474 "frame-system",
12475 "frame-system-benchmarking",
12476 "frame-system-rpc-runtime-api",
12477 "frame-try-runtime",
12478 "hex-literal",
12479 "log",
12480 "max-encoded-len",
12481 "pallet-authority-discovery",
12482 "pallet-authorship",
12483 "pallet-babe",
12484 "pallet-balances",
12485 "pallet-collective",
12486 "pallet-democracy",
12487 "pallet-election-provider-multi-phase",
12488 "pallet-elections-phragmen",
12489 "pallet-grandpa",
12490 "pallet-identity",
12491 "pallet-im-online",
12492 "pallet-indices",
12493 "pallet-membership",
12494 "pallet-mmr-primitives",
12495 "pallet-multisig",
12496 "pallet-nicks",
12497 "pallet-offences",
12498 "pallet-offences-benchmarking",
12499 "pallet-proxy",
12500 "pallet-recovery",
12501 "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
12502 "pallet-session",
12503 "pallet-session-benchmarking",
12504 "pallet-society",
12505 "pallet-staking",
12506 "pallet-staking-reward-curve",
12507 "pallet-sudo",
12508 "pallet-timestamp",
12509 "pallet-transaction-payment",
12510 "pallet-transaction-payment-rpc-runtime-api",
12511 "pallet-treasury",
12512 "pallet-utility",
12513 "pallet-vesting",
12514 "pallet-xcm",
12515 "parity-scale-codec",
12516 "polkadot-parachain",
12517 "polkadot-primitives",
12518 "polkadot-runtime-common",
12519 "polkadot-runtime-parachains",
12520 "rustc-hex",
12521 "serde",
12522 "serde_derive",
12523 "smallvec 1.6.1",
12524 "sp-api",
12525 "sp-authority-discovery",
12526 "sp-block-builder",
12527 "sp-consensus-babe",
12528 "sp-core",
12529 "sp-inherents",
12530 "sp-io",
12531 "sp-npos-elections",
12532 "sp-offchain",
12533 "sp-runtime",
12534 "sp-session",
12535 "sp-staking",
12536 "sp-std",
12537 "sp-transaction-pool",
12538 "sp-version",
12539 "static_assertions",
12540 "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
12541 "xcm",
12542 "xcm-builder",
12543 "xcm-executor",
12544]
1204512545
12046[[package]]12546[[package]]
12047name = "which"12547name = "which"
modifiedMakefilediffbeforeafterboth
2323
24evm_stubs: $(NFT_EVM_STUBS)/UniqueFungible.raw $(NFT_EVM_STUBS)/UniqueNFT.raw $(CONTRACT_HELPERS_STUBS)/ContractHelpers.raw24evm_stubs: $(NFT_EVM_STUBS)/UniqueFungible.raw $(NFT_EVM_STUBS)/UniqueNFT.raw $(CONTRACT_HELPERS_STUBS)/ContractHelpers.raw
25
26.PHONY: _bench
27_bench:
28 cargo run --release --features runtime-benchmarks -- \
29 benchmark --pallet pallet-$(PALLET) \
30 --wasm-execution compiled --extrinsic '*' \
31 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=20 \
32 --output=./pallets/$(PALLET)/src/weights.rs
33
34.PHONY: bench-evm-migration
35bench-evm-migration:
36 make _bench PALLET=evm-migration
37
38.PHONY: bench
39bench: bench-evm-migration
2540
modifiedcrates/evm-coder/tests/a.rsdiffbeforeafterboth
22
3use evm_coder::{solidity_interface, types::*, ToLog, execution::Result};3use evm_coder::{solidity_interface, types::*, ToLog, execution::Result};
4use evm_coder_macros::solidity;4use evm_coder_macros::solidity;
5use std as sp_std;
56
6struct Impls;7struct Impls;
78
modifiednode/cli/Cargo.tomldiffbeforeafterboth
318[features]318[features]
319default = []319default = []
320runtime-benchmarks = ['nft-runtime/runtime-benchmarks']320runtime-benchmarks = [
321 'nft-runtime/runtime-benchmarks',
322 'polkadot-service/runtime-benchmarks',
323]
321324
addedpallets/evm-migration/Cargo.tomldiffbeforeafterboth

no changes

addedpallets/evm-migration/src/benchmarking.rsdiffbeforeafterboth

no changes

addedpallets/evm-migration/src/lib.rsdiffbeforeafterboth

no changes

addedpallets/evm-migration/src/weights.rsdiffbeforeafterboth

no changes

deletedpallets/nft-transaction-payment/src/benchmarking.rsdiffbeforeafterboth

no changes

modifiedpallets/nft-transaction-payment/src/lib.rsdiffbeforeafterboth
11#[cfg(feature = "std")]11#[cfg(feature = "std")]
12pub use serde::*;12pub use serde::*;
13
14#[cfg(feature = "runtime-benchmarks")]
15mod benchmarking;
1613
17use frame_support::{decl_module, decl_storage};14use frame_support::{decl_module, decl_storage};
18use sp_std::prelude::*;15use sp_std::prelude::*;
modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
1399 item_id: TokenId,1399 item_id: TokenId,
1400 amount: u128,1400 amount: u128,
1401 ) -> DispatchResult {1401 ) -> DispatchResult {
1402 if sender == from {
1403 // Transfer by `from`, because it is either equal to sender, or derived from him
1404 return Self::transfer_internal(from, recipient, collection, item_id, amount);
1405 }
1406
1402 // Check approval1407 // Check approval
1403 collection.consume_sload()?;1408 collection.consume_sload()?;
modifiedpallets/nft/src/mock.rsdiffbeforeafterboth
129 fn as_sub(&self) -> &u64 {129 fn as_sub(&self) -> &u64 {
130 &self.0130 &self.0
131 }131 }
132 fn from_eth(_eth: sp_core::H160) -> Self {132 fn from_eth(eth: sp_core::H160) -> Self {
133 let mut sub_raw = [0; 8];
134 sub_raw.copy_from_slice(&eth.0[0..8]);
135 let sub = u64::from_be_bytes(sub_raw);
133 unimplemented!()136 Self(sub, eth)
134 }137 }
135 fn as_eth(&self) -> &sp_core::H160 {138 fn as_eth(&self) -> &sp_core::H160 {
136 &self.1139 &self.1
modifiedruntime/Cargo.tomldiffbeforeafterboth
23 'frame-support/runtime-benchmarks',23 'frame-support/runtime-benchmarks',
24 'frame-system-benchmarking',24 'frame-system-benchmarking',
25 'frame-system/runtime-benchmarks',25 'frame-system/runtime-benchmarks',
26 'pallet-evm-migration/runtime-benchmarks',
26 'pallet-balances/runtime-benchmarks',27 'pallet-balances/runtime-benchmarks',
27 'pallet-timestamp/runtime-benchmarks',28 'pallet-timestamp/runtime-benchmarks',
28 'pallet-nft/runtime-benchmarks',29 'pallet-nft/runtime-benchmarks',
29 'pallet-inflation/runtime-benchmarks',30 'pallet-inflation/runtime-benchmarks',
31 'pallet-xcm/runtime-benchmarks',
30 'sp-runtime/runtime-benchmarks',32 'sp-runtime/runtime-benchmarks',
33 'xcm-builder/runtime-benchmarks',
31]34]
32std = [35std = [
33 'codec/std',36 'codec/std',
56 'pallet-treasury/std',59 'pallet-treasury/std',
57 'pallet-vesting/std',60 'pallet-vesting/std',
58 'pallet-evm/std',61 'pallet-evm/std',
62 'pallet-evm-migration/std',
59 'pallet-evm-contract-helpers/std',63 'pallet-evm-contract-helpers/std',
60 'pallet-evm-transaction-payment/std',64 'pallet-evm-transaction-payment/std',
61 'pallet-evm-coder-substrate/std',65 'pallet-evm-coder-substrate/std',
392# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }396# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
393pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }397pallet-nft-transaction-payment = { path = '../pallets/nft-transaction-payment', default-features = false, version = '3.0.0' }
394pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }398pallet-nft-charge-transaction = { path = '../pallets/nft-charge-transaction', default-features = false, version = '3.0.0' }
399pallet-evm-migration = { path = '../pallets/evm-migration', default-features = false }
395pallet-evm-contract-helpers = { path = '../pallets/evm-contract-helpers', default-features = false }400pallet-evm-contract-helpers = { path = '../pallets/evm-contract-helpers', default-features = false }
396pallet-evm-transaction-payment = { path = '../pallets/evm-transaction-payment', default-features = false }401pallet-evm-transaction-payment = { path = '../pallets/evm-transaction-payment', default-features = false }
397pallet-evm-coder-substrate = { default-features = false, path = "../pallets/evm-coder-substrate" }402pallet-evm-coder-substrate = { default-features = false, path = "../pallets/evm-coder-substrate" }
modifiedruntime/src/lib.rsdiffbeforeafterboth
252 type Currency = Balances;252 type Currency = Balances;
253 type Event = Event;253 type Event = Event;
254 type OnMethodCall = (254 type OnMethodCall = (
255 pallet_evm_migration::OnMethodCall<Self>,
255 pallet_nft::NftErcSupport<Self>,256 pallet_nft::NftErcSupport<Self>,
256 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,257 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,
257 );258 );
263 type FindAuthor = EthereumFindAuthor<Aura>;264 type FindAuthor = EthereumFindAuthor<Aura>;
264}265}
266
267impl pallet_evm_migration::Config for Runtime {
268 type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;
269}
265270
266pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);271pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);
267impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {272impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {
819 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,824 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,
820 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,825 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,
821 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,826 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,
827 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,
822 }828 }
823);829);
824830
1180 let mut batches = Vec::<BenchmarkBatch>::new();1186 let mut batches = Vec::<BenchmarkBatch>::new();
1181 let params = (&config, &whitelist);1187 let params = (&config, &whitelist);
11821188
1189 add_benchmark!(params, batches, pallet_evm_migration, EvmMigration);
1183 add_benchmark!(params, batches, pallet_nft, Nft);1190 add_benchmark!(params, batches, pallet_nft, Nft);
1184 add_benchmark!(params, batches, pallet_inflation, Inflation);1191 add_benchmark!(params, batches, pallet_inflation, Inflation);
11851192
modifiedtests/package.jsondiffbeforeafterboth
24 "lint": "eslint --ext .ts,.js src/",24 "lint": "eslint --ext .ts,.js src/",
25 "fix": "eslint --ext .ts,.js src/ --fix",25 "fix": "eslint --ext .ts,.js src/ --fix",
26 "test": "mocha --timeout 9999999 -r ts-node/register './**/*.test.ts'",26 "test": "mocha --timeout 9999999 -r ts-node/register './**/*.test.ts'",
27 "testEth": "mocha --timeout 9999999 -r ts-node/register ./**/eth/**/*.test.ts",27 "testEth": "mocha --timeout 9999999 -r ts-node/register './**/eth/**/*.test.ts'",
28 "load": "mocha --timeout 9999999 -r ts-node/register ./**/*.load.ts",28 "load": "mocha --timeout 9999999 -r ts-node/register './**/*.load.ts'",
29 "loadTransfer": "ts-node src/transfer.nload.ts",29 "loadTransfer": "ts-node src/transfer.nload.ts",
30 "testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",30 "testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",
31 "testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",31 "testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",
addedtests/src/eth/marketplace/MarketPlaceKSM.abidiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/MarketPlaceKSM.bindiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/MarketPlaceKSM.soldiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/MarketPlaceUNQ.abidiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/MarketPlaceUNQ.bindiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/MarketPlaceUNQ.soldiffbeforeafterboth

no changes

addedtests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth

no changes

addedtests/src/eth/migration.test.tsdiffbeforeafterboth

no changes

modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
143 return normalizeEvents(out);143 return normalizeEvents(out);
144}144}
145145
146export function subToEth(eth: string): string {146export function subToEthLowercase(eth: string): string {
147 const bytes = addressToEvm(eth);147 const bytes = addressToEvm(eth);
148 const string = '0x' + Buffer.from(bytes).toString('hex');148 return '0x' + Buffer.from(bytes).toString('hex');
149 return Web3.utils.toChecksumAddress(string);
150}149}
150
151export function subToEth(eth: string): string {
152 return Web3.utils.toChecksumAddress(subToEthLowercase(eth));
153}
151154
152export function compileContract(name: string, src: string) {155export function compileContract(name: string, src: string) {
153 const out = JSON.parse(solc.compile(JSON.stringify({156 const out = JSON.parse(solc.compile(JSON.stringify({
236 return new web3.eth.Contract(contractHelpersAbi as any, '0x842899ECF380553E8a4de75bF534cdf6fBF64049', {from: caller, ...GAS_ARGS});239 return new web3.eth.Contract(contractHelpersAbi as any, '0x842899ECF380553E8a4de75bF534cdf6fBF64049', {from: caller, ...GAS_ARGS});
237}240}
241
242export async function executeEthTxOnSub(api: ApiPromise, from: IKeyringPair, to: any, mkTx: (methods: any) => any, { value = 0 }: {value?: bigint | number} = { }) {
243 const tx = api.tx.evm.call(
244 subToEth(from.address),
245 to.options.address,
246 mkTx(to.methods).encodeABI(),
247 value,
248 GAS_ARGS.gas,
249 GAS_ARGS.gasPrice,
250 null,
251 );
252 const events = await submitTransactionAsync(from, tx);
253 expect(events.find(({ event: {section, method}})=>section === 'evm' && method === 'Executed')).to.be.not.undefined;
254}
238255
239export async function ethBalanceViaSub(api: ApiPromise, address: string): Promise<bigint> {256export async function ethBalanceViaSub(api: ApiPromise, address: string): Promise<bigint> {
240 return (await getBalance(api, [evmToAddress(address)]))[0];257 return (await getBalance(api, [evmToAddress(address)]))[0];
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
1169 });1169 });
1170}1170}
11711171
1172export async function queryNftOwner(api: ApiPromise, collectionId: number, tokenId: number): Promise<CrossAccountId> {
1173 return normalizeAccountId((await api.query.nft.nftItemList(collectionId, tokenId) as any).toJSON().Owner);
1174}