Oliver Tale-Yazdi
44126eb857
XCM V2 weight template ( #2344 )
...
* Update XCM weight template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove copyright year from file header
Legally not needed, we already remove them from Substrate.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"
This reverts commit c4ac1a88e2607309b726d6934273da4e5a54ca9f.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic
* Update weights
Done directly on bm2 to bypass the bot.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
2023-03-23 12:45:45 +00:00
Just van Stam
490593bf6e
Companion for polkadot#6928 ( #2356 )
...
* add AdminOrigin to all xcm-configs in cumulus
* cargo fmt
* Update Substrate & Polkadot
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-03-23 10:36:03 +00:00
Muharem Ismailov
ef0d3fe7af
Introduce Fellowship into Collectives ( #2186 )
...
* Fellowship into Collectives
* cargo.lock
* tracks alias
* allow to send Fellows origin over XCM
* update todos, remove duplication of type
* use Collectives location for Fellows body
* alias for ranks constants
* benchmarks
* proxy for Fellowship
* docs
* correct copyright date
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rustfmt
* remove council, update origins
* renames
* remove tech committee from promote origin
* renames
* doc nits
* weights with new api
* sane weights for pallet_scheduler
* XCM tweaks for OpenGov (#2305 )
* updated xcm configs for collectives and statemint
* remove xcm send from safe filter
* remove prod_or_fast
* remove empty line
* drop redundant aggregation
* remove match arm duplication
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-21 13:10:37 +00:00
Jegor Sidorenko
d43c88e166
NFTs 2.0 on Statemine ( #2314 )
...
* Add nfts pallet to statemine
* Add missing trait
* Add nfts pallet to SafeCallFilter
* Re-use uniques deposits
2023-03-21 11:25:05 +00:00
Alexander Theißen
4587d1eb38
Companion for substrate #13312 : Rename Deterministic to Enforce ( #2350 )
...
* Rename `Deterministic` to `Enforce`
* Spelling fix
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-20 23:39:13 +00:00
Gavin Wood
3b8978f1bd
Deprecate Currency: Companion for #12951 ( #2334 )
...
* Fix APIs
* Reflect API changes
* Everything builds
* Fixes
* Fixes
* Update Cargo.toml
* Fixes
* Fixes
* No networks use freezes/holds
* update lockfile for {"polkadot", "substrate"}
* Fix test
ED cannot be zero anymore.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-20 16:52:21 +00:00
Bastian Köcher
e2ec2e4d9c
Improve build times by disabling wasm-builder in no_std ( #2308 )
...
There is no need to compile wasm-builder in `no_std` as we skip the compilation of the crate any
way. So, we can also directly disable wasm-builder as dependency in `no_std` to improve build times.
2023-03-20 09:53:09 +01:00
dependabot[bot]
7f745120ac
Bump serde from 1.0.152 to 1.0.156 ( #2329 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.152 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.156 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-19 10:17:30 +00:00
Oliver Tale-Yazdi
c52062b869
Parachains should charge for proof size weight ( #2326 )
...
* Generalize trait requirement
Use the trait directly instead of something that will have a blanket
implementation for it.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Charge for proof size weight
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix doc comments
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Fix docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update lock file
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-17 16:25:13 +00:00
Alexandru Vasile
18432bdc3a
Companion for #13287 ( #2155 )
...
* parachains: Adjust `sp_api::Metadata` to the new API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* parachains: Implement new Metadata trait for bridge/polkadot
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"substrate", "polkadot"}
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-03-15 19:22:04 +00:00
Bastian Köcher
b1a07821e7
Fix runtime api import path ( #2319 )
...
This syncs the latest changes in Substrate and fixes the import path of the runtime api.
2023-03-14 23:09:33 +00:00
Artyom Bakhtin
e9cac8e065
Update Westend collectives chainspec ( #2311 )
...
Signed-off-by: bakhtin <a@bakhtin.net >
2023-03-14 19:28:57 +00:00
Squirrel
c75e1fc085
Backport: Brigehub: Add in force upgrade xcm version (into master) ( #2289 )
...
* Brigehub: Add in force upgrade xcm version.
(Same as assets and collectives)
* [Fix] Allow force_xcm_version call for assets parachains (#2276 )
* add force_xcm_version to safe calls (#2284 )
* Removing duplication
---------
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-14 09:34:56 +00:00
Egor_P
6f7beb1095
[Backport] version bumps from 9380 ( #2309 )
...
* Bump crate versions
* bump transaction_version (#2191 )
2023-03-14 09:34:20 +00:00
Vivek Pandya
9f09109eaf
Remove use of trait Store ( #2286 )
...
* Remove use of Store trait from xcmp-queue pallet
* Remove Store trait usage from dmp-queue pallet
* Remove Store trait usage from parachain-system pallet
* Remove use of Store trait from cumulus
* Run cargo fmt
2023-03-13 22:30:20 +01:00
Jegor Sidorenko
654f98df12
Companion for #13482 ( #2303 )
...
* Add migration
* Remove parentheses
* Return back + add a comma
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-13 09:05:57 +00:00
tugy
6df659d748
add amforc bootnodes ( #2246 )
2023-03-11 06:03:27 +00:00
Keith Yeung
ce03148b28
XCM: Use matcher API in DenyReserveAssetTransferToRelay ( #2290 )
...
* Use matcher API in DenyReserveAssetTransferToRelay
* Fixes
* Fixes
* Fixes
* cargo fmt
2023-03-10 13:44:43 +00:00
Wilfried Kopp
39e5da3c3f
Bump all runtimes to 9381
2023-03-10 10:42:19 +01:00
Oliver Tale-Yazdi
70a0864e4c
Migrate to Weight::from_parts ( #2245 )
...
* Migrate to from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix remaining files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-03 12:47:23 +00:00
Branislav Kontur
cf3ddb831c
Update polkadot with one more commit: from 54bcee1d5615f53781d5172fcce6700dbf35dad2 -> 3dd8331414c92f5d01d6a470eae43049099d7aa9 ( #2266 )
...
* Update polkadot with one commit: from 54bcee1d5615f53781d5172fcce6700dbf35dad2 -> 3dd8331414c92f5d01d6a470eae43049099d7aa9
* Fix test
* Fix test better
* typo
2023-03-03 10:02:49 +01:00
Jegor Sidorenko
2156cbc046
Companion for #13352 ( #2180 )
...
* Assets balances
* Update docs
* AssetsApi with MultiLocation as preparation for multi pallet_assets instances (#2187 )
* AssetsApi with MultiLocation for Westmint + assets-common
* AssetsApi with MultiLocation for Statemine/t
* typo
* typo for check-docs job
* WIP: AssetsApi return MultiAsset instead of (MultiLocation, Balance)
* WIP: assets_api + conversion refactor
* WIP: assets_api + conversion refactor
* Finished asset runtimes
* Refactor AssetsApi to FungiblesApi
* Refactor
* Fix check-rust-docs
* Removed todo
* Fix check-rust-doc
* Update parachains/runtimes/assets/common/Cargo.toml
Co-authored-by: Bastian Köcher <git@kchr.de >
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-03-02 14:37:18 +00:00
Sergej Sakac
47046d798c
Companion for #13486 ( #2253 )
...
* Companion for #13486
* fix
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-03-02 11:28:27 +00:00
Kutsal Kaan Bilgin
79d3a2db39
Add Helikon boot nodes for Bridge Hub Kusama, Collectives Polkadot, Collectives . Westend, Statemine, Statemint and Westmint. ( #2250 )
2023-03-01 06:17:47 +00:00
Egor_P
9fa8786e29
Tests + backport fix for teleport_assets (ReceiveTeleportedAsset) ( #2235 ) ( #2238 )
...
* Wwstmint test for ReceiveTeleportedAsset
* Missing fix for `weigh_multi_assets`
* Added tests for statemine/statemint
* [Enhancement] Use XCM V3 for initiate_teleport weight calc (#2102 )
* [Enhancement] Use XCM V3 for initiate_teleport weight calc
* deref
* replicate in all the runtimes
* fmt
* better handling for AllOf
* fmt
* small type fix
* replicate the fix for all runtimes
---------
Co-authored-by: parity-processbot <>
* removed `frame_support::sp_tracing::try_init_simple();`
* Review fixes
* Removed `as u64`
---------
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
2023-02-27 11:28:40 +00:00
Milos Kriz
672b53ead6
Add gatotech bootnodes to system chains ( #2237 )
...
* add gatotech bootnode to Polkadot's Statemint
* add gatotech bootnode to Polkadot's Collectives
* add gatotech bootnode to Kusama's Statemine
* add gatotech bootnode to Kusama's Bridge Hub
* add gatotech bootnode to Westend's Westmint
* add gatotech bootnode to Westend's Collectives
2023-02-27 12:13:59 +01:00
Paulo Martins
6cf707969c
add turboflakes system-chains bootnodes ( #2223 )
2023-02-26 23:00:47 +00:00
Jegor Sidorenko
ab26b743f7
Companion for #13349 ( #2217 )
...
* Companion for #13349
* Add missing line
* Cargo.lock
---------
Co-authored-by: parity-processbot <>
2023-02-24 08:24:28 +00:00
Alexander Samusev
7e811c2c2f
[ci] Return benchmark to bm machines ( #2225 )
...
* [WIP][ci] Return benchmark to bm machines
* run build on docker machines
* restart pipeline
* rm docker runner
* fix refs
* add weights
* return ci
* fix asset benchmark
2023-02-23 11:50:38 +01:00
Muharem Ismailov
26b109bb82
Collectives chain xcm filter ( #2222 )
2023-02-23 02:24:01 +00:00
Derek Colley
7e95e75345
Add metaspan.io parachain boot nodes ( #2218 )
...
* Add metaspan.io parachain boot nodes
* Add metaspan.io parachain boot nodes
---------
Co-authored-by: Derek Colley <derek@metaspan.com >
2023-02-22 16:24:12 +01:00
Jegor Sidorenko
668e5d52c6
Companion for #13390 ( #2189 )
...
* Weights for offchain atrribute updates
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-02-22 14:28:24 +00:00
Tom
0705183ec1
Add stake.plus bootnodes to collectives-westend and bridge-hub-kusama ( #2201 )
...
Co-authored-by: root <root@stakeplus-web-1.us-central1-a .c.senseit-298316.internal>
2023-02-17 13:12:00 +01:00
Tom
d6b16afb8c
Add stake.plus bootnodes for westmint, statemine, statemint, and collectives (Polkadot) ( #2176 )
...
Co-authored-by: root <root@stakeplus-web-1.us-central1-a .c.senseit-298316.internal>
2023-02-14 19:37:56 +01:00
Jegor Sidorenko
fe85532990
Companion for #13158 ( #2121 )
...
* Companion for #13158
* Update values
* Add MaxAttributesPerCall
* Update weights
* Apply suggestions
* Fix imports
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-02-14 09:00:22 +00:00
girazoki
41d912aaed
Companion for substrate#13159 ( #2136 )
...
* set setMembersOrigin
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-02-13 11:49:47 +00:00
Roman Useinov
2bfb3ea6f2
[Enhancement] Use XCM V3 for initiate_teleport weight calc ( #2102 )
...
* [Enhancement] Use XCM V3 for initiate_teleport weight calc
* deref
* replicate in all the runtimes
* fmt
* better handling for AllOf
* fmt
* small type fix
* replicate the fix for all runtimes
---------
Co-authored-by: parity-processbot <>
2023-02-09 15:01:01 +00:00
Branislav Kontur
9e0a837696
Added bootNodes/invulnerables/session.keys to the polkadot genesis chain_spec script ( #2171 )
2023-02-08 12:06:15 +01:00
Oliver Tale-Yazdi
92f55e0d57
Co #13301 : Rename pallet-random-collective-flip ( #2159 )
...
* Rename pallet random-collective-flip
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-runtime-common
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-runtime-common
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Try to fix features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-02-07 17:41:19 +00:00
Egor_P
129a8ed3f9
remove collectives migrations ( #2103 ) ( #2150 )
...
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-02-07 10:50:39 +01:00
Pierre Besson
7a8a55b0f0
Update rockmine bootnodes URLs ( #2165 )
2023-02-06 17:01:54 +00:00
Branislav Kontur
a7bde3b984
Added new empty shell runtime for BridgeHubPolkadot (without bridging stuff) for onboarding parachain on Polkadot ( #2137 )
...
* Added new empty shell runtime for `BridgeHubPolkadot` (without bridging stuff) for onboarding parachain on Polkadot
* Fix benchmarks/try-runtime
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs frame_system
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_balances
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_multisig
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_xcm
* Fixes
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_session
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_utility
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_timestamp
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_collator_selection
* ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs cumulus_pallet_xcmp_queue
* PR fixes
* Rebase fix
* Fix new runtime api
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic
* Updated aura/bootNodes in `create_bridge_hub_polkadot_spec.sh`
---------
Co-authored-by: command-bot <>
2023-02-02 10:35:11 +00:00
Bastian Köcher
51f1833cce
Companion: Remove uncles related code ( #2126 )
...
* Companion: Remove `uncles` related code
https://github.com/paritytech/substrate/pull/13216
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-01-29 22:17:24 +00:00
Stephen Shelton
65568f9dae
13110 Companion: Add WeightToFee and LengthToFee Runtime API ( #2073 )
...
* Add WeightToFee runtime API impls
* Fix typo
* Forgot some
* Update Substrate & Polkadot
* Update
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-01-27 17:52:00 +00:00
Alexander Samusev
cef3ebca56
[ci] Update runners for benchmarks ( #2138 )
...
* [ci] Update runners for benchmarks
* run benchmarks in this pr to get weights
* run benches only
* comment .post jobs
* add docker env to benches
* add git diff to artifacts
* divide assets
* update weights
* return ci
* fix refs for benchmarks
2023-01-26 15:46:02 +01:00
Muharem Ismailov
513b68c471
Westend Collectives raw chain spec ( #2131 )
2023-01-24 16:07:50 +01:00
Branislav Kontur
593727d90b
Removed forgotten unused pub Ancestry: MultiLocation ( #2124 )
2023-01-24 10:48:54 +01:00
Egor_P
5afb483cd5
[backport] version bumps from release 9370 ( #2095 )
...
* Bump crate versions
* Bump spec_version to 9370
Co-authored-by: parity-processbot <>
2023-01-19 10:27:08 +01:00
Keith Yeung
6f6bfc312c
Companion for paritytech/polkadot#6578 ( #2112 )
...
* Add ExpectTransactStatus benchmarking
* cargo fmt
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-19 08:43:15 +00:00
Sasha Gryaznov
477a51947c
adjust pallet_contracts config ( #2108 )
2023-01-19 08:03:23 +00:00