Gavin Wood
e0244f9769
XCM: Introduce versioning to dispatchables' params ( #3693 )
...
* Introduce versioning to dispatchables' params
* Fixes
* Formatting
* Bump
2021-08-23 19:53:59 +02:00
Ashley
d88dec65fb
Companion PR for 'Make choosing an executor an explicit part of service construction' ( #9525 ) ( #3615 )
...
* Companion PR
* Update a few files
* Run cargo fmt
* Do better at renaming things
* More renamings
* More fixes
* oops
* Fix simnet problems
* fix compilation
* Update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-08-18 13:26:30 +00:00
Ashley
5b54c8cae9
Companion PR for 'Simplify NativeExecutionDispatch and remove the native_executor_instance!' (9562) ( #3643 )
...
* Companion PR
* Add test executors
* Change comment to doc comment
* Update node/test/service/src/lib.rs
* Improve comments
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-16 15:44:56 +00:00
Gavin Wood
9800d22b1d
Companion to #9514 (Remove Filter and use Contains instead) ( #3591 )
...
* Remove Filter and use Contains instead
* Fixes
* Remove patch
* Formatting
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-07 22:19:28 +02:00
Sergei Shulepov
68c03f66f3
Mass replace ,); pattern ( #3580 )
...
This is an artifact left by rustfmt which is not dare to remove the
comma being conservative.
2021-08-05 19:53:17 +02:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Shawn Tabrizi
3445cbecd0
Companion for #9373 (Refactor Benchmarks for Wasm Memory) ( #3549 )
...
* cargo update -p sp-io
* fix benchmarking
* fix bridge benchmarks
2021-08-02 09:17:19 +00:00
Squirrel
4c5b73097c
Companion for substrate #9319 ( #3456 )
...
* move client consensus code out of primitives
* merging crates
* import tweak
* Fixing build: ServiceFactory is a word...
* updating lock file
* Fixed typo in error message
(to bump build)
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-30 14:02:43 +00:00
Guillaume Thiolliere
5e320614c4
Improve test in bridge ( #3507 )
...
* improve test
* better doc
2021-07-22 07:39:32 +00:00
Denis Pisarev
fc253e6e4d
WIP: CI: add spellcheck ( #3421 )
...
* CI: add spellcheck
* revert me
* CI: explicit command for spellchecker
* spellcheck: edit misspells
* CI: run spellcheck on diff
* spellcheck: edits
* spellcheck: edit misspells
* spellcheck: add rules
* spellcheck: mv configs
* spellcheck: more edits
* spellcheck: chore
* spellcheck: one more thing
* spellcheck: and another one
* spellcheck: seems like it doesn't get to an end
* spellcheck: new words after rebase
* spellcheck: new words appearing out of nowhere
* chore
* review edits
* more review edits
* more edits
* wonky behavior
* wonky behavior 2
* wonky behavior 3
* change git behavior
* spellcheck: another bunch of new edits
* spellcheck: new words are koming out of nowhere
* CI: finding the master
* CI: fetching master implicitly
* CI: undebug
* new errors
* a bunch of new edits
* and some more
* Update node/core/approval-voting/src/approval_db/v1/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update xcm/xcm-executor/src/assets.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Apply suggestions from code review
Co-authored-by: Andronik Ordian <write@reusable.software >
* Suggestions from the code review
* CI: scan only changed files
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-07-14 19:22:58 +02:00
Alexander Theißen
2d102308de
Companion for #9276 : Remove Filter impl on () ( #3420 )
...
* Switch from () to AllowAllFilter
* Rename AllowAllFilter -> AllowAll
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-12 21:12:52 +00:00
Shawn Tabrizi
0e7217b4da
Companion for #9090 (include storage info) ( #3424 )
...
* update benchmark
* add host function
* update Substrate
* fix unused
Co-authored-by: parity-processbot <>
2021-07-07 23:01:00 +00:00
Igor Matuszewski
037f22342b
Use MaxEncodedLen trait from new parity-scale-codec v2.2 ( #3412 )
...
* Use MaxEncodedLen trait from new parity-scale-codec v2.2
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-05 21:11:03 +00:00
Bastian Köcher
ad46aadb1a
Companion for Substrate#8953 ( #3140 )
...
* Companion
* Update branch
* Update to correspond to substrate fixes
* Update cargo.lock
* Remove patches
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-01 16:21:51 +00:00
Squirrel
dcb08fd533
Use associated constant for max ( #3375 )
2021-06-28 11:32:33 +02:00
Svyatoslav Nikolsky
feefc34567
Squashed 'bridges/' changes from b2099c5..23dda62 ( #3369 )
...
23dda62 Rococo <> Wococo messages relay (#1030 )
bcde21d Update the wasm builder to substrate master (#1029 )
a8318ce Make target signer optional when sending message. (#1018 )
f8602e1 Fix insufficient balance when send message. (#1020 )
d95c0a7 greedy relayer don't need message dispatch to be prepaid if dispatch is supposed to be paid at the target chain (#1016 )
ad5876f Update types. (#1027 )
116cbbc CI: fix starting the pipeline (#1022 )
7e0fadd Add temporary `canary` job (#1019 )
6787091 Update types to contain dispatch_fee_payment (#1017 )
03f79ad Allow Root to assume SourceAccount. (#1011 )
372d019 Return dispatch_fee_payment from message details RPC (#1014 )
604eb1c Relay basic single-bit message dispatch results back to the source chain (#935 )
bf52fff Use plain source_queue view when selecting nonces for delivery (#1010 )
fc5cf7d pay dispatch fee at target chain (#911 )
1e35477 Bump Substrate to `286d7ce` (#1006 )
7ad07b3 Add --only-mandatory-headers mode (#1004 )
5351dc9 Messages relayer operating mode (#995 )
9bc29a7 Rococo <> Wococo relayer balance guard (#998 )
bc17341 rename messages_dispatch_weight -> message_details (#996 )
95be244 Bump Rococo and Wococo spec versions (#999 )
c35567b Move ChainWithBalances::NativeBalance -> Chain::Balance (#990 )
1bfece1 Fix some nits (#988 )
334ea0f Increase pause before starting relays again (#989 )
7fb8248 Fix clippy in test code (#993 )
d60ae50 fix clippy issues (#991 )
75ca813 Make sure GRANDPA shares state with RPC. (#987 )
da2a38a Bump Substrate (#986 )
5a9862f Update submit finality proof weight formula (#981 )
69df513 Flag for rejecting all outbound messages (#982 )
14d0506 Add script to setup bench machine. (#984 )
e74e8ab Move CI from GitHub Actions to GitLab (#814 )
c5ca5dd Custom justification verification (#979 )
643f10d Always run on-demand headers relay in complex relay (#975 )
a35b0ef Add JSON type definitions for Rococo<>Wococo bridge (#977 )
0eb83f2 Update cargo.deny (#980 )
e1d1f4c Bump Rococo/Wococo spec_version (#976 )
deac90d increase pause before starting relays (#974 )
68d6d79 Revert to use InspectCmd, bump substrate `6bef4f4` (#966 )
66e1508 Avoid hashing headers twice in verify_justification (#973 )
a31844f Bump `environmental` dependency (#972 )
2a4c29a in auto-relays keep trying to connect to nodes until connection is established (#971 )
0e767b3 removed stray file (#969 )
b9545dc Serve multiple lanes with single complex relay instance (#964 )
73419f4 Correct type error (#968 )
bac256f Start finality relay spec-version guards for Rococo <> Wococo finality relays (#965 )
bfd7037 pass source and target chain ids to account_ownership_proof (#963 )
8436073 Upstream changes from Polkadot repo (#961 )
e58d851 Increase account endowment amount (#960 )
git-subtree-dir: bridges
git-subtree-split: 23dda6248236b27f20d76cbedc30e189cc6f736c
2021-06-25 13:45:02 +00:00
André Silva
4b3ec9c97d
bridges: update finality-grandpa to 0.14.1 ( #3266 )
...
* bridges: update finality-grandpa
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 13:23:39 +00:00
Keith Yeung
7d82d93f34
Companion for #8949 ( #3216 )
...
* Remove Call part imports of the offences and authority discovery pallets
* Remove non-existent Call enum variants
* Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
* Remove unused imports
* Remove Call part import for randomness collective flip pallet
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 04:13:21 +00:00
Qinxuan Chen
e05bd988ed
Companion for #9061 ( #3200 )
...
* migrate pallet-randomness-collective-flip to new pallet attr macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 11:29:39 +00:00
Keith Yeung
99d49ad7c9
Companion for #8990 ( #3194 )
...
* Use new naming scheme for all Event enums generated by construct_runtime
* Use new naming scheme for all GenesisConfig fields generated by construct_runtime
* Fix overlooked GenesisConfig field renaming
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-09 10:07:04 +00:00
Bernhard Schuster
e8652e73db
cargo spellcheck ( #3067 )
2021-05-22 00:15:47 +00:00
Hernando Castano
63f4c9db6c
Merge commit 'f9c24ef0db390c355241445af37a5c7999a7dc66' into hc-bump-bridges-subtree-take-2
2021-05-04 15:27:09 -04:00
François Garillot
d4ddf8d7e8
Simplify some Option / Result / ? operator patterns ( #2920 )
...
* Simplify some Option / Result / ? operator patterns
When they identically match a combinator on those types.
Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ).
* adjust review comments
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-04-25 20:51:01 +00:00
Hernando Castano
b33f21d44b
Remove top level TOML file from bridges subtree
...
This confuses Cargo when building from the Polkadot repo
2021-04-21 12:03:57 -04:00
Hernando Castano
3f92e81541
Merge commit 'e5bed7ac380b6adb54b60a2a72a2a8f07f50d6c1' as 'bridges'
2021-04-21 11:56:23 -04:00
Hernando Castano
86a376cd69
Remove messed up bridges subtree
2021-04-21 11:55:51 -04:00
Guillaume Thiolliere
d0055b1af8
remove unused and sometime invalid type alias ( #2876 )
2021-04-12 20:33:46 +02:00
Gavin Wood
a960e2ff6d
Companion for OnSetCode #8496 ( #2794 )
...
* Make build with OnSetCode
* Fixes
* update Substrate
Co-authored-by: parity-processbot <>
2021-04-01 15:19:57 +02:00
Bernhard Schuster
5b363358b8
chore: avoid glob imports ( #2722 )
2021-03-26 15:45:37 +01:00
Shawn Tabrizi
59ef1850f6
Add Parachain Onboarding to Rococo ( #2660 )
...
* Add Parachain Onboarding Pallets to Rococo
* remove propose_parachain
* add back para sudo wrapper
* Revert "remove propose_parachain"
This reverts commit 38b7c33c817964c9f8ad48531a72aede83670291.
* turn propose_parachains into validator_manager
* Update runtime/rococo/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* update origin
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-03-23 11:47:34 +01:00
Shaun Wang
9047bbb392
Companion for #8372 (Replace 'Module' with 'Pallet' in construct_runtime macro) ( #2629 )
...
* Replace 'Module' with 'Pallet'.
* "Update Substrate"
* fix babe usage
* fix benchmark
Co-authored-by: parity-processbot <>
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-03-18 10:10:17 +00:00
André Silva
b360360544
runtime: use babe as randomness source ( #2504 )
...
* runtime: use babe as randomness source
* runtime: fix randomness api
* bridges: fix random_seed
* parachains: use mock TestRandomness from frame_support_test
* parachains: use mock TestRandomness from frame_support_test
* runtime: update randomness source in test-runtime
* runtime: remove unused import
* parachains: add todo to audit usage of randomness api
* "Update Substrate"
Co-authored-by: parity-processbot <>
2021-03-10 17:22:59 +00:00
Pierre Krieger
2e34eed312
Make Substrate deps uniform ( #2589 )
2021-03-09 11:31:33 +00:00
Tomasz Drwięga
5169155f94
Adding Bridges code as git subtree. ( #2515 )
...
* Add instructions.
* Squashed 'bridges/' content from commit 345e84a21
git-subtree-dir: bridges
git-subtree-split: 345e84a2146b56628e9888c9f5e129cb40e868a9
* Remove bridges workspace file to avoid confusing Cargo.
* Add some bridges primitives to Polkadot workspace.
* Improve docs.
2021-03-01 22:33:16 +01:00