Gavin Wood
bc6efb0480
Initial integration of Gilts pallet (Kusama) ( #2587 )
...
* Initial integration of Gilts pallet (Kusama)
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_gilt --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* Use real weights
* Update lock
* Merge
* Fixes
* Add working.
* Add proper curve arithmetic
* Fixes
* Fixes
* Make build
* Fixes
* Fixes
* Fix build
* remove dep.
* undo dep.
* upadte substrate
* Fix
* Bump Substrate
* Fixes
* Fixes
* Fix test
* Remove cap and some tests
* Fixes
* Fixes
* Update runtime/kusama/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* bump the lock file
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-11 15:40:24 +02:00
Martin Pugh
25cd67436c
Bump version to v0.9.1 and spec_version to v9010 ( #3001 )
...
* bump version and spec_version
* fix generate_release_text.rb
* Revert "fix generate_release_text.rb"
This reverts commit 9e01e0ae4f6db2155d123f69063db7d7564588e0.
* fix publish_draft_release
* fix publish_draft_release
* update target cache
2021-05-11 15:27:52 +02:00
Vladimir Istyufeev
f01606e6e0
Temporarily disable trigger-simnet job ( #3004 )
2021-05-10 23:02:14 +02:00
Andreas Doerr
aa51cddf47
Add --no-beefy CLI flag ( #2981 )
...
* Add --disable-beefy CLI flag
* Update cli/src/command.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/test/service/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update parachain/test-parachains/adder/collator/src/main.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update cli/src/command.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update cli/src/cli.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update cli/src/cli.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update cli/src/cli.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2021-05-10 17:13:21 +00:00
Robert Klotzner
1e5f193765
Fix flaky test ( #3002 )
...
* Reporting peer might come first
before trying to request data, depending on scheduler.
* Better test.
2021-05-10 15:16:08 +00:00
Gavin Wood
36b9d23923
Dispatchable for teleporting assets ( #2995 )
...
* Dispatchable for teleporting assets
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Update node/network/protocol/src/peer_set.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update xcm/src/v0/traits.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-10 16:13:46 +02:00
Andronik Ordian
6c0cb7f8d0
CI: bot allow simnet failure ( #2993 )
2021-05-07 12:08:42 -05:00
Gavin Wood
ce4edd0398
Make ParaId value of public paras non-discretionary ( #2988 )
...
* Make ParaId value of public paras non-discretionary
* Fixes
* Fixes
* fix tests
* fix benchmark tests
* dont use hardcoded number
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-07 17:52:26 +02:00
Robert Klotzner
c0df140ec6
Flood protection for large statements. ( #2984 )
...
* Flood protection for large statements.
* Add test for flood protection.
* Doc improvements.
2021-05-06 20:41:05 +02:00
Pierre Krieger
64c8b913c3
Companion PR for #8682 ( #2958 )
...
* Companion PR for #8682
* Compilation fix
* Update beefy
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-06 16:41:28 +02:00
Robert Klotzner
1508024a47
Some overdue cleanup ( #2989 )
...
* Cleanup obsolete code.
* Move session cache to requester.
2021-05-06 16:15:23 +02:00
Robert Klotzner
6663081bbd
Guide updates for changed statement distribution ( #2986 )
...
* Guide updates WIP
* Add note.
* Statement distribution guide update.
* Small fixes.
2021-05-06 14:58:38 +02:00
Robert Klotzner
601a3781c1
Always connect in collator protocol. ( #2980 )
...
* Always connect in collator protocol.
* Fix unused import.
* We always issue connection requests now.
* Fix stupid boolean logic with one variable.
* Fix CI.
2021-05-06 12:54:54 +02:00
Tomasz Drwięga
4f9e25f15b
Merge pull request #2978 from paritytech/hc-bump-bridges-subtree-take-2
...
Bump Bridges Subtree
2021-05-05 16:21:32 +02:00
Hernando Castano
63f4c9db6c
Merge commit 'f9c24ef0db390c355241445af37a5c7999a7dc66' into hc-bump-bridges-subtree-take-2
2021-05-04 15:27:09 -04:00
Hernando Castano
f9c24ef0db
Squashed 'bridges/' changes from 89a76998..b2099c5c
...
b2099c5c Bump Substrate to `b094edaf` (#958 )
3f037094 Bump endowment amounts on Rialto and Millau (#957 )
b21fd07c Bump Substrate WASM builder (#947 )
30ccd07c Bump Substrate to `ec180313` (#955 )
a7422ab1 Upgrade to GitHub-native Dependabot (#945 )
ed20ef34 Move pallet-bridge-dispatch types to primitives (#948 )
2070c4d6 Endow accounts and add `bridgeIds` to chainspec. (#951 )
f43c9243 Fix account derivation in CLI (#952 )
9ac07e73 Add backbone configuration of cargo-spellcheck (#924 )
2761c3fe Message dispatch support multiple instances (#942 )
801c99f3 Add Wococo<>Rococo Header Relayer (#925 )
21f49051 Remove Westend<>Rococo header sync (#940 )
06235f16 do not panic if pallet is not yet initialized (#937 )
a13ee0bc Bump Substrate (#939 )
f8680cbf jsonrpsee alpha6 (#938 )
6163bcbf reonnect to failed client in on-demand relay background task (#936 )
14e82bea Do not spawn additional task for on-demand relays (#933 )
b1557b88 Relay at least one header for every source chain session (#923 )
9420649c Remove deprecated Runtime Header APIs (#932 )
9627011e Update README.md (#931 )
7b736b9c Truncate output in logs. (#930 )
faad06e3 Make sure that relayers have dates in logs. (#927 )
07734535 Update dump-logs script. (#928 )
c2d56b2e Add pruning to bechmarks & update weights. (#918 )
a30c51dc Add properties to Chain Spec (#917 )
d691c73e Fix issue with on-demand headers relay not starting (#921 )
8ee55c1e Fix image publishing. (#922 )
f51fb59d Prefix in relay loops logs (#920 )
git-subtree-dir: bridges
git-subtree-split: b2099c5c0baf569e2ec7228507b6e4f3972143cc
2021-05-04 15:27:09 -04:00
Gavin Wood
e33e74525e
Enable Pallet XCM for Kusama & Westend ( #2970 )
...
* Enable Pallet XCM for Kusama & Westend
* Fixes
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-05-04 16:49:31 +00:00
André Silva
d362e6051c
kusama, westend: use proper parachain session keys ( #2975 )
...
* runtime: westend: don't use placeholder parachains session keys
* runtime: kusama: don't use placeholder parachains session keys
2021-05-04 11:21:54 -05:00
joe petrowski
26ac14f04e
change statemint id (not system para) ( #2974 )
2021-05-04 11:21:40 -05:00
André Silva
c6df9fcb11
runtime: remove random_seed from BlockBuilder API ( #2968 )
...
* runtime: remove random_seed from BlockBuilder API
* update Substrate
* runtime: remove unused imports
* revert Cargo.lock version 3 removal, update sp-io
Co-authored-by: parity-processbot <>
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-05-04 11:01:33 +00:00
André Silva
bbf0812994
runtime: remove beefy and mmr from westend (again) ( #2972 )
...
* runtime: remove beefy and mmr from westend (again)
* node: add borked westend runtime upgrade as bad block
2021-05-04 10:16:20 +00:00
Robert Klotzner
795a526e6d
Do peer connect later (as it happens in reality). ( #2971 )
...
Otherwise peer connect events occassionally happen before
`StatementFetchingReceiver` message.
2021-05-03 21:50:32 +02:00
Robert Klotzner
0dbdfef95e
More secure Signed implementation ( #2963 )
...
* Remove signature verification in backing.
`SignedFullStatement` now signals that the signature has already been
checked.
* Remove unused check_payload function.
* Introduced unchecked signed variants.
* Fix inclusion to use unchecked variant.
* More unchecked variants.
* Use unchecked variants in protocols.
* Start fixing statement-distribution.
* Fixup statement distribution.
* Fix inclusion.
* Fix warning.
* Fix backing properly.
* Fix bitfield distribution.
* Make crypto store optional for `RuntimeInfo`.
* Factor out utility functions.
* get_group_rotation_info
* WIP: Collator cleanup + check signatures.
* Convenience signature checking functions.
* Check signature on collator-side.
* Fix warnings.
* Fix collator side tests.
* Get rid of warnings.
* Better Signed/UncheckedSigned implementation.
Also get rid of Encode/Decode for Signed! *party*
* Get rid of dead code.
* Move Signed in its own module.
* into_checked -> try_into_checked
* Fix merge.
2021-05-03 21:41:14 +02:00
André Silva
c0fcaa6bd9
runtime: remove BabePalletPrefix impls for old migration ( #2967 )
2021-05-03 17:27:32 +02:00
Bastian Köcher
7830bae524
Companion for Substrate#8526 ( #2845 )
...
* Update branch
* Make it compile
* Compile
* gate approval-checking logic (#2470 )
* Fix build
* Updates
* Fix merge
* Adds missing crate
* Companion for Substrate#8386
https://github.com/paritytech/substrate/pull/8386
* Fix fix fix
* Fix
* Fix compilation
* Rewrite to `ParachainsInherentDataProvider`
* Make it compile
* Renamings
* Revert stuff
* Remove stale file
* Guide updates
* Update node/core/parachains-inherent/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/core/parachains-inherent/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Apply suggestions from code review
* Reset accidental changes
* More
* Remove stale file
* update Substrate
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: parity-processbot <>
2021-05-03 15:21:13 +00:00
Peter Goodspeed-Niklaus
774d612eef
Companion for Multi-phase elections solution resubmission ( #2648 )
...
* Companion for Multi-phase elections solution resubmission
https://github.com/paritytech/substrate/pull/8290
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 13:29:44 +02:00
Lohann Paterno Coutinho Ferreira
9bbc0b4460
Companion PR for #8414 - Remove OffencesWeightSoftLimit ( #2966 )
...
* Remove OffencesWeightSoftLimit
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 09:12:39 +00:00
ferrell-code
002f49fb03
Companion for Substrate#8663 ( #2945 )
...
* add pallet_authorship to test
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-03 04:13:23 +00:00
Robert Habermeier
2d18b26151
Add parachains modules to Westend and Kusama runtimes ( #2854 )
...
* add `force_set_active_config`
* add parachains modules to Westend
* add parachains modules to Kusama runtime
* use real runtime API impl
* add module indices and remove auctions, crowdloan
* add benchmarks
* remove previous migrations and add host configuration set migration
* make compile
* Add Call Filter for Registrar and Slots except Root
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* fix build
* update `add_benchmark`
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
* fix weights
* tweak more constants
* Fix up the kusama runtime
* Westend runtime fixups
* Fix MMR & Beefy for westend
* Fixes
* fix tests
* Update runtime/polkadot/src/constants.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update runtime/westend/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
Co-authored-by: Gav Wood <gavin@parity.io >
2021-05-01 17:36:11 +02:00
Andreas Doerr
99b10213a0
Make KeyStore optional ( #2964 )
2021-05-01 12:59:08 +02:00
Martin Pugh
7a99a18d1d
v0.9.0 prep ( #2959 )
...
* bump version and unify spec version
* bump substrate
* spec_version to 900
2021-04-29 18:21:58 +02:00
Gavin Wood
ce457a91e1
Implement null weight trader ( #2957 )
2021-04-29 15:35:07 +02:00
Bernhard Schuster
1ef8eac8ec
feat: add proc macro to reduce overseer mock boilerplate ( #2949 )
2021-04-29 12:07:28 +02:00
Gavin Wood
f36d8efb3d
Allow normal accounts to execute XCM for withdraw+teleport ( #2953 )
...
* Allow normal accounts to execute XCM for withdraw+teleport
* Bump Substrate
2021-04-28 23:13:19 +02:00
Gavin Wood
c0bf7e3d8c
Required weight is returned in case it exceeds limit. ( #2952 )
2021-04-28 18:24:39 +02:00
Martin Pugh
9c60982989
Bump version, bump substrate & update benchmarks in preparation for v0.8.31 ( #2938 )
...
* bump version
* bump cargo
* update benchmarks
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-28 13:23:54 +02:00
Andreas Doerr
a8b64f12ec
Bump BEEFY ( #2946 )
2021-04-28 07:39:19 +00:00
Robert Klotzner
c86a774b9d
Send statements to own backing group first ( #2927 )
...
* Factor out runtime module into utils.
* First fatal error design.
* Better error handling infra.
* Error handling cleanup.
* Send to peers of our group first.
* Finish backing group prioritization.
* Little cleanup.
* More cleanup.
* Forgot to checkin error.rs.
* Notes.
* Runtime -> RuntimeInfo
* qed in debug assert.
* PolkaErr -> Fault.
2021-04-27 21:47:32 +02:00
Gavin Wood
36bd876311
Bump ( #2942 )
2021-04-27 18:46:37 +02:00
Hernando Castano
470383ce67
Add Dev Config for Rococo and Wococo ( #2928 )
...
* Add `rococo-dev` chain option
* Add `wococo-dev` CLI option
* Sort Chain ID match arms
2021-04-27 17:46:55 +02:00
Guillaume Thiolliere
41e57c4509
change junction parachain id from named field to unnamed field ( #2940 )
...
* use unnamed field for parachain variant in junction
* remove outdated comment
2021-04-27 14:49:55 +02:00
Guillaume Thiolliere
55c1f7ea92
fix link ( #2941 )
2021-04-27 14:48:28 +02:00
Gavin Wood
9194219586
Add XCM Origin and converter ( #2896 )
...
* Add XCM Origin and converter
* IsMajority filter can be location-prefixed
* Update xcm/pallet-xcm/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update xcm/src/v0/multi_location.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Introduce UsingComponents to allow reuse of fee payment in XCM
* Use Drop rather than finalize
* Add errors for weight.
* Apply suggestions from code review
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Fixes
* Update xcm/xcm-builder/src/weight.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Various XCM fixes and improvements
* Fixes
* Update xcm/xcm-builder/src/weight.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update xcm/xcm-builder/src/weight.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update xcm/xcm-builder/src/weight.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Fixes
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-04-27 14:33:40 +02:00
Ricardo Rius
8e0963e533
Add Statemint teleport ( #2934 )
...
* Add Statemint teleport
* Fixes
2021-04-26 20:19:29 +02:00
Denis Pisarev
320391b5e2
CI: build colander on rococo branch too ( #2936 )
2021-04-26 19:05:10 +02:00
Andreas Doerr
3359cc268c
Bump BEEFY ( #2937 )
2021-04-26 16:59:01 +00:00
Shawn Tabrizi
9c0bb140c8
Companion for substrate#8665 (Bounded Treasury) ( #2932 )
...
* Add MaxApprovals for Bounded Treasury
* update weight
* update Substrate
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-26 16:09:42 +00: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
Kian Paimani
c7ee98ab5f
Update lib.rs ( #2926 )
2021-04-24 16:48:43 +02:00
Tomasz Drwięga
bbb8652de0
Merge pull request #2917 from paritytech/hc-fix-bridges-subtree
...
Update Bridges Subtree
2021-04-23 20:40:56 +02:00