Qinxuan Chen
e802dcad1d
Companion for substrate#10632 ( #895 )
...
* Companion for substrate#10632
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo update -p clap
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update substrate
* update lockfile for {"polkadot"}
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: parity-processbot <>
2022-01-25 11:42:59 +00:00
Bastian Köcher
12fc58d1bb
Update Substrate & Polkadot ( #930 )
...
* Update Substrate & Polkadot
* Hmm
* Set workspace hint path
* Test
* Use absolute path
* Update again
2022-01-22 20:49:01 +00:00
Bastian Köcher
035f7cee9f
pov-recovery: Enable pov-recovery as well on full nodes ( #927 )
...
* pov-recovery: Enable pov-recovery as well on full nodes
Pov recovery was before only enabled for collators. The reason behind this was prevention of spam of
the relay chain for block recovery. However, recent events has shown that this wasn't a good idea.
So, this pr enables pov-recover for normal full nodes as well, but with a much higher delay before
trying to recover a block. This means that full nodes will wait in minimum 2.5 minutes and in
maximum 5 minutes before recovering a block. This should give collators in "normal mode" enough time
to recover a block (they wait in maximum 6 seconds after they have seen a new candidate in the relay
chain) before recovering a block. So, we should hopefully not spam the relay chain.
* FMT
* Fixes
* Fix documentation
2022-01-21 20:16:11 +01:00
Oliver Tale-Yazdi
ab76ff5313
Use define_benchmarks! ( #926 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-01-21 17:13:23 +00:00
Squirrel
6ff23e90ed
Bump the collator version ( #747 ) ( #919 )
...
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-01-21 11:45:56 +00:00
Keith Yeung
8c28d4c669
Companion for paritytech/polkadot#4712 ( #901 )
...
* Rename ParentIsDefault to ParentIsAllZeroes
* Fixes
* Create ParentAccounts for respective networks
* Fixes
* Use b"Parent" as the basis for generating parent AccountId
* Fixes
* Use preset parent account ID
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-01-21 11:40:27 +00:00
Bastian Köcher
dedb4f7bf7
Statemint: Support running statemint only with ed25519 ( #923 )
...
* Statemint: Support running statemint only with ed25519
* FMT
* Update polkadot-parachains/parachains-common/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2022-01-21 09:17:02 +01:00
Squirrel
c262414e4a
merge of: Add system weights to Statemint ( #762 ) ( #918 )
...
* Add system weights to Statemint (#762 )
* waiting for weights from bm
* frame_system weights added
* cargo toml fix + fmt
* removed non-existent set_changes_trie_config
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2022-01-21 08:11:01 +00:00
Oliver Tale-Yazdi
7b2b99eefe
co #4746 : Require MaxEncodedLen per default ( #917 )
...
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
* Run `cargo update -p sp-io`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-01-20 13:51:37 +00:00
Kian Paimani
76af7ee82c
Add the uniques migration for statemine ( #911 )
...
* Add the uniques migration for statemine
* return weight from on_runtime_upgrade (#914 )
need to return the weight from on_runtimie_upgrade().
* cargo update -p sp-io
* cargo update -p polkadot-primitives
Co-authored-by: hamidra <hamid.alipour@gmail.com >
2022-01-20 10:14:31 +01:00
Squirrel
93fcd0adbc
Update Statemint prefix ( #916 )
...
Co-authored-by: Ricardo Rius <ricardo@parity.io >
2022-01-19 16:58:37 +01:00
Squirrel
eea1a655de
weights update statemine v6 ( #754 ) ( #915 )
...
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2022-01-19 15:12:24 +00:00
Squirrel
b196e93b87
Add Statemint Genesis Values ( #817 ) ( #905 )
...
* Add Statemint Genesis Values (#817 )
* add some docs to genesis scripts
* move statemint test chainspec
* add initial (draft) version of statemint chain spec
* adjust genesis value script
* add Statemint genesis Aura keys
* add bootnodes to statemint-genesis spec
* Add checks, debug and doc (#790 )
* Add checks, debug and doc
* Update scripts/generate_genesis_value.sh
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update scripts/generate_genesis_value.sh
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* default to official shell rpc endpoint for genesis values
* remove statemint test chain spec
* add Statemint chain spec and genesis values
* sort statemint genesis values
* some script docs adjustments
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* cargo fmt
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-01-19 10:43:46 +00:00
Squirrel
d03ef1d5ab
Configure Statemint and Statemine to Allow Teleports ( #912 )
...
* configure pallet-xcm to allow teleports but forbid generic sends
* bump spec_version
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2022-01-19 08:57:13 +00:00
Squirrel
fbae81ddb9
bump transaction_version due to parachain_system change ( #748 ) ( #903 )
...
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2022-01-18 20:01:34 +01:00
Ignacio Palacios
6f763b5e71
Add set custom header to Seedling Runtime ( #846 )
...
* before adding seedling client side
* seedling runtime compiles
* create seedling spec script added
* seedling node & BaseCallFilter fixes
* update AllPalets
* formatting
* CallFilter + SignedExtra + AccountData fix
* XCM removed
* cleanup
* solo-to-para pallet added & before testing
* fix runtime upgrade method
* soloToPara pallet + set header
* clean up
* clean up 2
* signed extension check sudo added
* fmt + cleanup
* Refac code and fixes
* fmt
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* small fixes
* OnValidationData used
* small changes
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* OnValidationData replaced by OnSystemEvent
* fmt + cargo fix
* disable-default-bootnodes for seedling script
Co-authored-by: Ricardo Rius <ricardo@parity.io >
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-01-14 14:21:10 +01:00
Doordashcon
60f5e0cf2d
Use Polkadot Constants instead of Hardcoding ( #868 )
...
* added Polkadot constants
* remove hardcoded constants
* cargo +nightly fmt
* add const existential deposit
* update
* cargo +nightly fmt
* not pulling
* readd constants.rs modules
* update
* Cargo.lock
* update
* add balance constants
* Update polkadot-parachains/statemine/src/constants.rs
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
* cargo fmt
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
2022-01-13 11:54:59 +00:00
joe petrowski
66e536f773
Remove Sudo from Westmint ( #897 )
...
* remove sudo from westmint
2022-01-13 11:32:19 +00:00
Adrian Catangiu
76fdc9d11a
Cumulus companion for substrate #10463 ( #870 )
...
* Companion for substrate #10463
* update lockfile for substrate
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2022-01-05 20:33:23 +00:00
Sebastian Kunert
57d04e0fc8
Add missing features in rococo Cargo.toml ( #887 )
2022-01-05 13:30:47 +00:00
Bastian Köcher
7fb70d7530
Fix solo to para custom header return ( #882 )
...
* Adds an integration test for testing the migration
* Fix the custom validation header use case
2022-01-03 20:14:14 +01:00
cheme
0256fe73c0
Companion for substrate#9732 ( #678 )
...
* state-update4 branch
* new ref
* Update to latest.
* update deps
* switch to host state version
* update
* fmt
* up
* remove trie patch
* remove patch
* fmt
* update
* set state_versions in runtimes
* state version from storage
* state version from storage
* seedling compat
* restore lock
* update lockfile for substrate
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2021-12-24 11:28:43 +00:00
Sebastian Kunert
876e594f59
Introduce interface for relay chain interaction ( #835 )
2021-12-22 19:02:11 +01:00
Keith Yeung
d78ea860ec
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
sandreim
34f605004d
Companion for #10440 (Add logger configuration hook) ( #856 )
...
* update `DefaultConfigurationValues` impl
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-16 11:57:17 +00:00
Keith Yeung
7aa1727bbd
Disable asset transfers on Statemint (against master branch) ( #838 )
...
* Disable asset transfers on Statemint
* Fixup
2021-12-16 01:05:16 +00:00
Gavin Wood
0f10bb0aea
Companion for #10403 : Remove Default for AccountId ( #842 )
...
* author is Some
* Bump
* Lockfile
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Update Cargo.lock
* bump substrate and polkadot
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-14 09:07:51 +00:00
Keith Yeung
8a2a86655f
Update XCM MultiLocation prefixes for assets ( #831 )
2021-12-13 23:52:38 +00:00
Keith Yeung
308cb3e76b
Update serde to 1.0.131 ( #853 )
2021-12-11 14:10:51 +01:00
Bastian Köcher
6c6802b67c
Update to latest Polkadot & Substrate ( #850 )
...
* Update to latest Polkadot & Substrate
* More fixes
2021-12-10 12:08:41 +01:00
Gavin Wood
90a7d1146a
Companion for #10382 (Insufficient asset quotes and deposits) ( #804 )
...
* MaxConsumers
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-09 17:24:32 +01:00
Keith Yeung
9e9ff9e5d0
Add CheckNonZeroSender to runtime configs ( #847 )
...
* Add CheckNonZeroSender to runtime configs
* cargo update -p polkadot-primitives
* Fixes
* Fixes
2021-12-09 14:53:51 +01:00
Keith Yeung
b5135277f4
Support overweight messages in XCMP queue ( #799 )
...
* Support overweight messages in XCMP queue
* Add storage migration logic to XCMP queue pallet
* Check whether required weight is larger than max individual weight first
* cargo fmt
* Add some unit tests
* Remove review question comment
2021-12-08 18:07:08 -08:00
Ignacio Palacios
fff94ff24c
Seedling Runtime + Node ( #824 )
...
* before adding seedling client side
* seedling runtime compiles
* create seedling spec script added
* seedling node & BaseCallFilter fixes
* update AllPalets
* formatting
* CallFilter + SignedExtra + AccountData fix
* XCM removed
* cleanup
2021-12-08 12:54:59 +01:00
Ricardo Rius
58a425667e
Fix Statemine ss58 prefixes. ( #829 )
...
* Fix Statemine prefix
* Add prefix to chain spec
2021-12-08 11:56:50 +01:00
Kian Paimani
70ea98995a
Integrate try-runtime into cumulus ( #793 )
...
* almost integrate
* revert branch changes
* remove extra deps
* some review comments'
* Fix a bunch of stuff
* Update parachain-template/node/Cargo.toml
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Fix
* Fix
* fix benchmark
* fmt
* Remove wrong bench test
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-12-02 14:00:54 +01:00
Shawn Tabrizi
a3798775d8
Companion for #10379 (EnsureOneOf) ( #810 )
...
* new ensure one of
* Update Cargo.lock
* Update SUbstrate & Polkadot
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-12-01 23:06:50 +00:00
Ignacio Palacios
6b3ac7e1a2
Increase statemine balance ( #808 )
...
* increase statemine balance
* Fix formatting
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
2021-12-01 22:13:59 +01:00
zjb0807
b51a6fa4cc
use double quotes instead of single quotes ( #815 )
2021-12-01 03:00:11 +00:00
Guillaume Thiolliere
9a76627938
companion for pallet order fix ( #711 )
...
* companion
* Run cargo update
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-12-01 01:51:58 +00:00
zjb0807
71ac3005ae
Companion for #10324 - update frame-benchmarking/runtime-benchmarks ( #802 )
...
* update frame-benchmarking/runtime-benchmarks
* cargo update
* add more feature flags
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-30 21:47:09 +01:00
Chevdor
de05e7fa04
Fix rococo naming for master ( #776 )
...
* package naming conflict fixed (#753 )
* Fix rococo naming
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2021-11-22 13:58:15 +01:00
Georges
69f030f81c
Moving pallet-asset-tx-payment from cumulus to substrate ( #712 )
...
* Moving `pallet-asset-tx-payment` to substrate
* Pointing `substrate` to my branch to fix the CI
* Fixing cargo.lock
Memmlock2 was in double
* Duplicate Prost-build
* cargo update
* Fixing cargo.lock post merge
* Changes to `Cargo.toml` after substrate merge
2021-11-19 14:06:38 +01:00
Dan Shields
70923da617
move to rust 2021 ( #759 )
...
* move to rust 2021
* fix formatting, more moves
2021-11-16 15:12:06 +01:00
David Salami
8d4f82a1f0
Update field event variants ( #749 )
...
* update field events
* update polkadot and substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-16 03:31:36 +00:00
Arkadiy Paronyan
b2d9102b0d
Update for latests substrate & polkadot ( #756 )
...
* Update for latests substrate & polkadot
* fmt
2021-11-12 16:45:09 +01:00
sandreim
5f5190625d
Companion to substrate #10196 - Add group name in task metrics ( #732 )
...
* Use blank task group name
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update Cargo.lock and switch from 0.9.12 to master
* format with LATEST nightly
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-11 19:41:36 +00:00
Dan Shields
3284976a1b
Tweaks from template downstream review #80 ( #705 )
...
* tweaks from template downstream review #80
* more tweaks
* Update parachain-template/node/src/command.rs
* tweaks to template and other chainspecs
* fmt
* update more tweaks from downstream
* fix build
2021-11-11 19:20:39 +00:00
Alexander Popiak
ece4188f2d
Align the Statemint Runtimes ( #736 )
...
* align the different Statemint runtimes so they are more similar in structure
* align Unpaid Execution filter
* revert changes to Unpaid execution filter for Westmint
2021-11-10 12:00:17 +01:00
Bastian Köcher
c6c9ee1a09
Remove parachain-id cli command ( #739 )
...
This was never planned to be a permanent feature. This was mainly added for testing purposes, but
now was copied by everybody. The users should be more specific about the para id and set this
properly in the chain spec.
2021-11-10 08:56:00 +01:00