Shawn Tabrizi
25bbcfd724
Add OnSwap hook for crowdloans. ( #3017 )
2021-05-20 22:41:08 +02:00
Bastian Köcher
6a0b7b4164
Add AuxStore as super trait of AbstractClient ( #3066 )
2021-05-20 15:28:41 +02:00
Bastian Köcher
14f5d314f4
New Rococo genesis ( #3065 )
2021-05-20 11:44:13 +00:00
Martin Pugh
d061d0c407
bump substrate ( #3062 )
2021-05-20 10:11:36 +00:00
Andronik Ordian
2e70f4ea08
validator-discovery: basic retrying logic ( #3059 )
...
* validator_discovery: less flexible, but simpler design
* fix test
* remove unused struct
* smol optimization
* validator_discovery: basic retrying logic
* add a test
* add more tests
* update the guide
* more test logic
* Require at least 2/3 connectivity.
* Fix test.
* Update node/network/gossip-support/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update node/network/gossip-support/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Robert Klotzner <robert.klotzner@gmx.at >
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2021-05-20 10:05:44 +00:00
Gavin Wood
933c9ac2bf
Reserves for bids during ending period persist until auction done ( #3058 )
...
* Reserves for bids during ending period persist until auction done
* Fixes
* Fixes
* Fixes
* Fixes
* Update auctions.rs
2021-05-20 10:15:52 +02:00
Shaun Wang
3137d94d11
Migrate crowdloan pallet to pallet attribute macro. ( #3036 )
2021-05-19 20:14:20 +00:00
Andronik Ordian
98c06f5b57
validator_discovery: less flexible, but simpler design ( #3052 )
...
* validator_discovery: less flexible, but simpler design
* fix test
* remove unused struct
* smol optimization
2021-05-19 18:54:13 +02:00
Robert Klotzner
44c03a3633
Actually connect to new validators at session boundary. ( #3055 )
...
* Actually connect to new validators at session boundary.
* Add tracing.
2021-05-19 11:29:55 +00:00
Sergei Shulepov
46e5316a77
Register ReadRuntimeVersionExt ( #3045 )
...
* Register ReadRuntimeVersionExt
* Update Substrate
This includes the fix of compilation for macOS platforms.
2021-05-19 12:33:33 +02:00
Martin Pugh
fe97c3a3a2
Bump version & spec version in prep for v0.9.2 ( #3046 )
...
* bump version & spec version
* update Cargo.lock
* bump substrate
2021-05-18 23:03:45 +02:00
Martin Pugh
077e3fa6e3
Remove host configuration set migration from Kusama & Westend ( #3050 )
...
* remove weights migration from kusama
* remove migrations in westend also
2021-05-18 23:03:30 +02:00
Gavin Wood
ec73e6e34e
Statemint can teleport into Kusama ( #3042 )
...
* Statemint can teleport into Kusama
* Bump
* Fixes
* Fixes
2021-05-18 17:52:11 +02:00
Shaun Wang
8d30172a8f
Update auctions pallet to FRAME v2 ( #3031 )
...
* Migrate auctions pallet to pallet attribute macro.
* Rename extra constants.
2021-05-18 11:40:15 +00:00
Bernhard Schuster
2a6f460e4c
reword error: channel is _terminated and_ empty ( #3041 )
2021-05-18 07:51:46 +02:00
Denis Pisarev
e9615fc9df
CI: remove unnecessary jobs while simnet is under work ( #3043 )
2021-05-17 15:31:38 +02:00
Martin Pugh
fa4f91fbed
[CI][WIP] Fix check_labels ( #3039 )
...
* fix check_labels
* runtime change test. revert me
* Revert "runtime change test. revert me"
This reverts commit 6bec7e34f522555f9ac84332721c191d547bdf16.
2021-05-17 12:46:56 +02:00
Xiliang Chen
d4072c652f
Fix ArtifactId::path ( #3027 )
...
* issue with ArtifactId::path
* fix artifacts path
* Wrap an overly long line
Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com >
2021-05-15 14:04:09 +02:00
Pierre Krieger
78b87c47a8
Grab stream of networking events earlier ( #3025 )
2021-05-14 17:51:44 +02:00
Pierre Krieger
1712dfc9fd
Update Substrate in Polkadot ( #3023 )
2021-05-14 12:14:07 +02:00
Shawn Tabrizi
10685f836d
Check Parachain is Fully Registered Before Starting a Crowdloan ( #3018 )
...
* Add check that parachain is fully registered before starting crowdloan
* fix tests
* fix benchmarks
2021-05-14 10:59:12 +02:00
Hernando Castano
9507266960
Add Bridge Header Sync to Rococo Runtime ( #2983 )
...
* Add bridges code to workspace
* Add Rococo and Wococo bridge instances to Rococo runtime
* Add Rococo and Wococo runtime APIs
* Add GenesisConfig parameters for bridge pallet
* Update Rococo spec_version used by bridge relayer
* Add scripts for running Rococo and Wococo dev nodes
* Add scripts for running Rococo<>Wococo header sync
* Apply patch for build artifact location
* Remove bridges crates from workspace
* Downgrade async related dependencies
* Change bridge pallet owner to be `root_key`
* Bump number of `MaxRequests` allowed
* Revert changes in `bridges` subtree folder
* Use correct account for Sudo
* Add comment explaining duplicate bridge pallets
* Remove WeightInfo comment.
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2021-05-13 15:09:17 +00:00
Andronik Ordian
87264b7b0b
bump spec versions in kusama, polkadot and westend again II ( #3021 )
...
* bump spec versions in kusama, polkadot and westend again II
* Don't build artifacts for the downstream simnet job as it's disabled now
* uncomment rococo-v1 publishing job
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io >
2021-05-13 16:13:01 +02:00
Sergei Shulepov
d326c3431e
Narrow the set of available host functions for PVF ( #3005 )
2021-05-13 12:15:46 +02:00
Andronik Ordian
60fbca3c2a
validator_discovery: simplification ( #3009 )
...
* validator_discovery: simplification
* compilation fixes
* compilation fixes II
* compilation fixes III
* compilation fixes IV
2021-05-13 11:31:15 +02:00
Sergei Shulepov
0e6c96a8b6
Support opening HRMP channels in genesis ( #3003 )
2021-05-13 10:54:30 +02:00
Gavin Wood
dcae333e82
Introduce reserve-asset transfer extrinsic ( #3010 )
...
* Introduce reserve-asset transfer extrinsic
* Fixes
2021-05-12 21:07:20 +02:00
Andreas Doerr
ea42f734dc
Use BeefyParams ( #3013 )
2021-05-12 14:03:48 +00:00
Shawn Tabrizi
32c21b6a6f
Enable Para Registration on Kusama ( #3014 )
...
* enable registration on kusama
* Update runtime/westend/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-05-12 07:32:25 -04:00
Gavin Wood
41a93127a9
Check out/in assets when teleporting to maintain total issuance ( #3007 )
...
* Check out/in assets when teleporting to maintain total issuance
* Fixes
* Fixes
* Fixes
* Fixes
* Update xcm/xcm-executor/src/traits/transact_asset.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Docs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-12 08:39:16 +02:00
Shawn Tabrizi
c68903f3bb
Add Auctions and Crowdloans to Kusama and Westend ( #2999 )
...
* add to westend
* fixes
* fix runtime tests
* add to kusama
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs
* fix auctions benchmarks
* add benchmark to kusama
* update weights
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
* update to use weights
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* Initiate auctions with 2/3 council
* add check and docs
* update crowdloan deposits
* move tests
* move other tests
* update ending period
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs
* fix origin
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-05-11 22:29:01 +02:00
Gavin Wood
b55344819f
Extrinsic for reserving a parachain ID ( #3008 )
...
* Extrinsic for reserving a parachain ID
* Fixes
* Fixes
* Docs
* 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
* Update runtime/common/src/paras_registrar.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* 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
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-05-11 22:28:37 +02:00
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