Gavin Wood
3d6df31cbe
Named reserve companion ( #3176 )
...
* fix build
* fix tests
* update
* fix
* update
* Bump
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
2021-06-04 11:17:59 +02:00
Gavin Wood
53de6871e0
Fix teleport accounting and add some events ( #3167 )
...
* Stuff to help inspect the DMP activity
* Fix teleport accounting
* Fixes
* Fixes
* Fixes
* Fixes
2021-06-03 15:39:08 +02:00
Shawn Tabrizi
b7c2cfc1e4
Companion for #8793 (Simple MaxEncodedLen) ( #3118 )
...
* ProxyType MaxEncodedLen
* import
* import
* fix dep and bump substrate
* Update Cargo.lock
2021-05-28 20:50:16 +00:00
Jon Häggblad
0a024e30b0
Companion for substrate#8724 ( #2994 )
...
* runtime: create migrations for grandpa storage prefix
* runtime: address review comments
* runtime: update spec_version
* westend: fix incorrect merge
* runtime: change to v3.1 from v4 for grandpa migrations
* cargo.lock: manually specify pallet-grandpa in lock file
* cargo.lock: fix typo
* update substrate
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-05-26 19:12:46 +00:00
André Silva
e3edb71ed7
grandpa: enable observer for light client ( #3019 )
...
* grandpa: enable observer for light client
* update Substrate
* service: fix missing import
* runtime: bump spec versions
Co-authored-by: parity-processbot <>
2021-05-26 17:22:15 +00:00
Bastian Köcher
14f5d314f4
New Rococo genesis ( #3065 )
2021-05-20 11:44:13 +00: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
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
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
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
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
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
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
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
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
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
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
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
Kian Paimani
c384f70067
Companion for substrate/pull/8596 ( #2895 )
...
* Add weight types
* Add missing types
* update Substrate
* Fix build
* Fix bench build
* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
Co-authored-by: parity-processbot <>
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-04-18 09:39:34 +01:00
Joshy Orndorff
196b9a94c6
Expose paras config in rococo runtime ( #2886 )
...
* Add it in rococo runtime
* Add to rococo chain spec
* bump spec version
* Update runtime/rococo/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-04-15 00:43:19 +02:00
Guillaume Thiolliere
d0055b1af8
remove unused and sometime invalid type alias ( #2876 )
2021-04-12 20:33:46 +02:00
Gavin Wood
359ade2b89
Dedupe some code and companion for #8589 ( #2873 )
...
* Dedupe some code and companion for #8589
* Bump Substrate
2021-04-11 12:22:45 +00:00
Gavin Wood
025200fb25
Rococo allows ROC to be teleported from Tick, Trick and Track ( #2872 )
...
Also allows unpaid messages from them.
2021-04-10 12:59:50 +02:00
Robert Habermeier
23cfd0edb9
update rococo and remove cursed BEEFY migration ( #2870 )
...
* update rococo and remove cursed BEEFY migration
* remove migration
* tweak VERSION
2021-04-10 00:10:14 +02:00
Robert Klotzner
305375e1e4
Req/res optimization for statement distribution ( #2803 )
...
* Wip
* Increase proposer timeout.
* WIP.
* Better timeout values now that we are going to be connected to all nodes. (#2778 )
* Better timeout values.
* Fix typo.
* Fix validator bandwidth.
* Fix compilation.
* Better and more consistent sizes.
Most importantly code size is now 5 Meg, which is the limit we currently
want to support in statement distribution.
* Introduce statement fetching request.
* WIP
* Statement cache retrieval logic.
* Review remarks by @rphmeier
* Fixes.
* Better requester logic.
* WIP: Handle requester messages.
* Missing dep.
* Fix request launching logic.
* Finish fetching logic.
* Sending logic.
* Redo code size calculations.
Now that max code size is compressed size.
* Update Cargo.lock (new dep)
* Get request receiver to statement distribution.
* Expose new functionality for responding to requests.
* Cleanup.
* Responder logic.
* Fixes + Cleanup.
* Cargo.lock
* Whitespace.
* Add lost copyright.
* Launch responder task.
* Typo.
* info -> warn
* Typo.
* Fix.
* Fix.
* Update comment.
* Doc fix.
* Better large statement heuristics.
* Fix tests.
* Fix network bridge tests.
* Add test for size estimate.
* Very simple tests that checks we get LargeStatement.
* Basic check, that fetching of large candidates is performed.
* More tests.
* Basic metrics for responder.
* More metrics.
* Use Encode::encoded_size().
* Some useful spans.
* Get rid of redundant metrics.
* Don't add peer on duplicate.
* Properly check hash
instead of relying on signatures alone.
* Preserve ordering + better flood protection.
* Get rid of redundant clone.
* Don't shutdown responder on failed query.
And add test for this.
* Smaller fixes.
* Quotes.
* Better queue size calculation.
* A bit saner response sizes.
* Fixes.
2021-04-09 21:30:12 +00:00
Gavin Wood
69bd6d8ef2
Introduce/integrate a collective into Rococo Relay ( #2869 )
...
* Introduce a collective into Rococo runtime
* Intregrate Rococo Collective into XCM
* Fixes
* Update runtime/rococo/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-04-09 22:16:32 +02:00
Gavin Wood
c9102c11a4
XCM Revamp Continued ( #2865 )
...
* Introduce plurality XCM locations
* Add RelayedFrom
* DMP dispatch weight handling.
* Add pallet for XCM sending, add routing logic.
* Update error types & doc
* Fix warnings.
* Fixes
* Fixes
* Fixes
* Bump Substrate
* Fixes
* Docs
* Docs
* Docs
* Fixes
* Fixes
* Fixes
* Update xcm/pallet-xcm/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Docs
* Fixes
* Update lib.rs
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-04-09 20:34:28 +02:00
Shawn Tabrizi
322e1f3dff
ModuleId to PalletId ( #2864 )
...
* lock substrate version for testing
* `ModuleId` to `PalletId`
* release substrate version
* Update Cargo.lock
Co-authored-by: Xavier Lau <c.estlavie@icloud.com >
2021-04-09 12:33:21 +02:00
André Silva
68626198f8
runtime: fix the session keys migration that includes the beefy key type ( #2855 )
...
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-04-08 21:51:46 +02:00
Robert Habermeier
cfb8dfa4fe
bump spec versions across the board ( #2856 )
2021-04-08 19:14:19 +00:00
Gavin Wood
adc238ad86
XCM revamp ( #2836 )
...
* Remove unused relaying XCM
* Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot.
* Revert lock
* Fix
* Broken example
* Introduce fee payment mechanics into XCM.
* Weight limitations on XCM execution
* Mock environment for tests and the first test
* Tests for XCM and a few refactors.
* Remove code that's not ready
* Fix for an XCM and an additional test
* Query response system
* XCMP message dispatch system reimagining
- Moved most of the logic into xcm-handler pallet
- Altered the outgoing XCMP API from push to pull
- Changed underlying outgoing queue data structures to avoid multi-page read/writes
- Introduced queuing for incoming messages
- Introduced signal messages as a flow-control sub-stream
- Introduced flow-control with basic threshold back-pressure
- Introduced overall weight limitation on messages executed
- Additonal alterations to XCM APIs for the new system
* Some build fixes
* Remove the Encode bounds sprayed around
* More faff
* Fix bounds amek use latest scale codec.
* remove println
* fixes
* Fix XcmExecutor Tests
* Fix XCM bounds using derivative crate
* Refactor names of XcmGeneric &c into Xcm
* Repot the xcm-executor into xcm-builder
* Docs
* Docs
* Fixes
* Update xcm/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Fixes
* Docs
* Update runtime/parachains/src/ump.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Docs
* Fixes
* Fixes
* Fixes
* Docs
* Fixes
* Fixes
* Introduce transfer_asset specialisation.
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-04-07 22:38:29 +02:00
Shawn Tabrizi
b23c9039d8
Reduce Epoch Duration to 10 Min for Rococo ( #2839 )
2021-04-07 16:41:45 +02:00
Shawn Tabrizi
995d89c237
Crowdloan Dissolve Requires All Funds Refunded ( #2770 )
...
* implement auto refund
* add back retiring @jacogr
* bump substrate dep
* trying to get to work
* fix tests
* fix benchmarks
* Update runtime/common/src/crowdloan.rs
* fix docs
* remove unused traits
* remove unused
* unused
* Update runtime/common/src/crowdloan.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update runtime/common/src/crowdloan.rs
* Update crowdloan.rs
* Update runtime/common/src/crowdloan.rs
* Update runtime/common/src/crowdloan.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-04-04 13:31:35 +00:00
Guillaume Thiolliere
beca01f118
Ease parachain candidate code fetching ( #2593 )
...
* code stored in para + modify CandidateDescriptor.
* WIP: digest + some more impl
* validation_code_hash in payload + check in inclusion
* check in client + refator
* tests
* fix encoding indices
* remove old todos
* fix test
* fix test
* add test
* fetch validation code inside collation-generation from the relay-chain
* HashMismatch -> PoVHashMismatch + miscompilation
* refactor, store hash when needed
* storage rename: more specific but slightly too verbose
* do not hash on candidate validation, fetch hash instead
* better test
* fix test
* guide updates
* don't panic in runtime
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-04-01 23:55:39 +02:00
Robert Habermeier
0794f69306
Add dispute types and change InclusionInherent to ParasInherent ( #2791 )
...
* dispute types
* add Debug to dispute primitives in std and InherentData
* use ParachainsInherentData on node-side
* change inclusion_inherent to paras_inherent
* RuntimeDebug
* add type parameter to PersistedValidationData users
* fix test client
* spaces
* fix collation-generation test
* fix provisioner tests
* remove references to inclusion inherent
2021-04-01 18:23:27 +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
Tomasz Drwięga
5b77a89874
Merkle Mountain Range & BEEFY integration ( #2101 )
...
* Switch branch.
* Implement basic MMR leaf.
* Revert "Switch branch."
This reverts commit 7f4d41c67f27ca560c53fc63fd3bd06ac182403c.
* Bump substrate.
* Integrate BEEFY.
Bump all.
Fix missing imports.
* Use beefy pallet to get authorities.
* Bump BEEFY repo.
* Use next authority set instead of the current one.
* Start BEEFY service.
* Fix BEEFY start up.
* Cache BEEFY authority set.
* Add BEEFY ValidatorSetId to MMR
* Fix code.
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Review grumbles.
* Update beefy repo.
* Work-around missing protocol.
* Revert "Work-around missing protocol."
This reverts commit 0a6257a8bccc1c67e966898cdedc408c6469ffd6.
* Add beefy peers set config.
* Expose storage of BEEFY.
* Uncompress BEEFY keys for merkle tree.
* Update ordering.
* Switch to branch.
* Bump deps.
* Switch to custom beefy.
* Add MMR RuntimeApi and custom rpc.
* Add set length details.
* Fix compilation.
* Expose MmrLeaf storage.
* Expose MmrLeaf storage.
* Don't use session handler, and rather compute & cache beefy details on call.
* Don't use session handler, and rather compute & cache beefy details on call.
* Fixes.
* Update Cargo.lock.
* Switch back to master.
* Update lockfile.
* Fix xcm print issue.
* Cargo.lock.
* Use master branch.
* Remove extra dep.
* Fix tests.
* Update Cargo.lock
* Add BEEFY & MMR to westend.
* Implement session keys migration.
* Update testnet script.
* start BEEFY for all node types
* Update Cargo.lock
* fix Cargo.toml
* resolve another merge conflict
* add Westend BEEFY keys
* Apply suggestions from code review
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update BEEFY.
* Add Rococo BEEFY keys
* resolve merge issue
* fix pallet indices
* fix Westend OldSessionKey
* remove unused imports in Westend runtime
* Fix compilation for Westend.
* address review
* start BEEFY gadget conditionally
* address review again
* fix typo
* remove duplicate
* remove another duplicate
* well
* add missing stuff
* cleanup Cargo.toml files
- revert unnecessary changes
- add missing /std dependencies
- remove unused dependencies
* runtime: remove unused structs from rococo runtime
* node: cleanup service
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: adoerr <0xad@gmx.net >
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-04-01 12:50:04 +02:00
Gavin Wood
bd9bdf5f5f
Add proxy and utility pallets. ( #2774 )
...
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-03-31 12:32:32 +00:00
Shawn Tabrizi
02166f4e0c
Add Root Functions to Parachains System ( #2777 )
...
* Add Root functions to Paras
* note past code
* fix build
* fix test build
* compile fix and force_queue_action
2021-03-30 21:54:21 +02:00
Robert Habermeier
ef816b089d
Approval voting failsafe ( #2675 )
...
* add consensus log type
* origin and issue force_approve
* add origin in runtimes
* ref API
* scrape force_approve digest from header
* add parent_hash to BlockEntry
* add block_number to block entry and force_approve skeleton
* implement and plug in force-approve
* test force_approve
* test force_approve extraction
* westend runtime
* Update node/core/approval-voting/src/approval_db/v1/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* rename
* Update runtime/parachains/src/initializer.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2021-03-28 00:57:04 +00:00
Shawn Tabrizi
69c7c52de6
Handle Onboarding in Current Lease Period ( #2731 )
...
* Lease out current period and trigger onboard
* Add test for trigger_onboard
* patch and add benchmark
* finish benchmarks
* Use result instead of panic for test_registrar
* nits
2021-03-27 20:16:10 +00:00
Shawn Tabrizi
7f6ef6fb7b
Introduce add_memo for Crowdloans ( #2728 )
...
* Add memo, but don't use it yet
* add_memo
* add weights
* Update lib.rs
* Update crowdloan.rs
* add event
2021-03-27 16:36:48 +00:00
Shawn Tabrizi
a4ed8aaab2
Check that Para is Registered before Accepting a Bid ( #2656 )
...
* Check that para is registered before accepting a bid
* Update lib.rs
* Update lib.rs
* remove println
* fix benchmarks
* Update runtime/common/src/auctions.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-03-25 23:01:36 +00:00
André Silva
7149f764e4
rococo: use insecure parent hash randomness ( #2701 )
2021-03-25 10:49:40 +01:00
Shawn Tabrizi
1a3e67f41b
Sample Auction Winners Every SampleLength Blocks ( #2670 )
...
* initial
* add test
* Update lib.rs
* Update lib.rs
2021-03-24 12:22:20 +01:00
Shawn Tabrizi
fcb215332f
Tweak Rococo Settings For Onboarding Testing ( #2671 )
...
* Tweak Rococo Settings
* rococo: use CurrentBlockRandomness wrapper in auctions
Co-authored-by: André Silva <andrerfosilva@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-03-23 14:35:27 +01:00