Sebastian Kunert
7b42df10f3
Introduce interface for relay chain interaction ( #835 )
2021-12-22 19:02:11 +01:00
Andronik Ordian
c368837c75
companion for polkadot#4542 ( #873 )
...
* new ParachainHost methods
* update polkadot
2021-12-22 13:58:53 +01:00
Bastian Köcher
67cac33d62
Update again ( #852 )
2021-12-10 16:38:01 +01:00
Bastian Köcher
d85a3a937f
Update Substrate & Polkadot ( #770 )
...
* Update Substrate & Polkadot
* Disable tests without debug assertions
2021-11-19 23:46:14 +01:00
Dan Shields
ec401ce1d0
move to rust 2021 ( #759 )
...
* move to rust 2021
* fix formatting, more moves
2021-11-16 15:12:06 +01:00
sandreim
b968e54fe5
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
496fab27b5
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
Chris Sosnin
8159c2c5f9
Companion for polkadot#3728 ( #693 )
...
* Update mock runtime API
* update Polkadot packages
Co-authored-by: joao-paulo-parity <joao-paulo@parity.io >
2021-10-22 16:31:58 +02:00
Alexander Popiak
eff56f60f3
Upstream Statemine v4 Changes ( #649 )
...
* bump runtime spec version
* remove applied runtime migrations
* bump transaction_version
necessary because of extrinsic API changes to pallet-xcm
https://github.com/paritytech/polkadot/pull/3693
* Fix Benchmarks for Statemine-V4 release (#639 )
* register validators
* register_as_candidate & leave_intent fixed
* new_session benchmark fixed
* intent_leave_modified
* clean up
* clean up
* benchmark script updated
* update cargo.lock
* done
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Version bump (#648 )
* Version bump
fix #646
* Revert "Version bump"
This reverts commit 07517e0e76a37a1dd67176fec0524d0211666635.
* Bump polkadot-collator version
* Update polkadot-parachains/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update deps
* Bump version to 4.0.0
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* cargo toml fix
* update deps and remove DisabledValidatorThreshold
* cargo +nightly fmt
* fix compile error
* fix client tests after Polkadot update
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-11 10:27:49 +02:00
Bastian Köcher
edd029b3d4
Add relay_parent to block announce data ( #640 )
...
* Add `relay_parent` to block announce data
This is required to make it more future proof when contextual execution is coming. While this
changes the `BlockAnnounceData` type, it is written in a way to make it backwards compatible.
* FMT
2021-10-04 09:53:18 +02:00
Bastian Köcher
36d18c09c9
Remove a where bound that isn't required anymore ( #633 )
2021-09-30 14:36:25 +02:00
Keith Yeung
1aab3349cc
Use DecodeLimit for decoding XCM messages ( #605 )
...
* Use DecodeLimit for decoding XCM messages
* Use decode_all_with_depth_limit in appropriate places
* Use decode_all while decoding byte vector
* cargo fmt
2021-09-19 15:29:34 +03:00
Chevdor
1dd000a011
ci: add quick-check with rustfmt ( #615 )
...
* ci: add quick-check with clippy and rustfmt
* chore: rustfmt round
* chore: set the same rustfmt config than substrate
* chore: fix formatting
* cI: remove clippy
* ci: switch to nightly for the checks
* ci: fix toolchains and naming
* ci: Limit the check to formatting
* chore: fix formatting
* Update .rustfmt.toml
* Update .rustfmt.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-16 16:57:52 +02:00
Bastian Köcher
5af2990cfd
Upgrade Substrate & Polkadot ( #612 )
2021-09-16 06:57:29 +02:00
Squirrel
a0532634e1
less deps ( #606 )
2021-09-12 23:22:14 +02:00
Gavin Wood
968c91e357
Bump Tokio to 1.10 ( #592 )
...
* Bump Tokio to 1.10
* Missed one
2021-08-28 14:33:56 +00:00
Bastian Köcher
8307255697
Disable integration tests outside of CI ( #565 )
2021-08-07 23:03:12 +02:00
Bastian Köcher
4f936689ef
Update Substrate & Polkadot ( #563 )
2021-08-05 20:53:32 +02:00
Sergei Shulepov
fe21865d12
WIP: Update Substrate & Polkadot ( #496 )
...
* WIP: Update Substrate
* Update Substrate & Polkadot
* fixes
* more fixes
* few missing origins
* use spawn_essential_handle
* bump polkadot dep
* remove newlines
* fix test
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-17 09:37:03 +02:00
Bastian Köcher
2f88be0874
Use polkadot-client instead of polkadot service where possible ( #489 )
2021-06-11 12:56:14 +02:00
Bastian Köcher
b9056fed59
Update Substrate & Polkadot ( #428 )
2021-05-04 22:32:06 +02:00
Gavin Wood
5fe32eb0d4
XCM revamp & Ping pallet ( #391 )
...
* Add spambot
* Fixes
* Add some extra functions to spambot, bump version
* Lock..
* Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot.
* Fix tests, bump Polkadot.
* Fix HMP tests
* Rename Hrmp -> Xcmp for handler/sender
* Use master branch
* Test Xcm message passing & rename away from HMP
* Docs
* Introduce fee payment mechanics into XCM.
* Rename spambot -> ping
* Lock
* 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
* Should process any remaining XCM messages when we're not doing anything else.
* Update API usage and preparation for the big build.
* Some build fixes
* Build fixes
* xcm-handler builds
* Fix warnings
* Docs
* Parachains system builds
* Parachain runtime building
* Fix build
* Introduce transfer_asset specialisation.
* Fixes
* Two-stage upgrade for parachains.
* Fixes
* Fixes
* Updates for message sending.
* Repotting/renaming. Add primitives/utility.
* Remove real-overseer and bump refs
* Configure & document Rococo XCM runtime.
* Add shell runtime, some companion changes for #8589
* Bumps & fixes
* Fix test
* Build fix
* Update pallets/xcmp-queue/src/lib.rs
Co-authored-by: Amar Singh <asinghchrony@protonmail.com >
* Make tests compile
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* remove unused
* remove unused event stuff
* Adds proper validation-worker to make integration tests work
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* import saturating
* remove panic test
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Amar Singh <asinghchrony@protonmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-04-14 09:36:59 +02:00
Bastian Köcher
498595a5b7
Remove pov hash comparison when waiting on a block to announce ( #396 )
...
* Remove pov hash comparison when waiting on a block to announce
Internally we get notified on the channel for our candidate anyway.
Besides that polkadot will compress the pov which leads to a different
pov hash and thus, would lead to a failing check on the `pov_hash`.
* Fix
* Fix tests
2021-04-12 19:26:55 +02:00
Bastian Köcher
959f5852ed
Approve block announcements of backed blocks ( #394 )
...
* Approve block announcements of backed blocks
If we receive a block announcement without a statement attached that
matches the latest backed block, it is valid and we need to approve the
block announcement to download the block.
* Fix tests
* Approve block announcement if it comes from the best known block
* Fetch backed block only when required
2021-04-12 13:54:07 +02:00
Bastian Köcher
1d4c02cc4e
Update Substrate & Polkadot ( #387 )
...
* Update Substrate & Polkadot
* Enforce `ParachainSetCode`
2021-04-02 16:17:04 +02:00
Bastian Köcher
cb9d1019c4
Fix block propagation between non-collator nodes ( #363 )
...
* Create builder for test nodes
* Fix syncing issue
* Adds missing file
2021-03-11 22:29:19 +01:00
Cecile Tonglet
a3d50f2dd7
Adapt code to new sc-telemetry ( #362 )
2021-03-11 13:45:02 +01:00
Bastian Köcher
c7d2446ba5
Update Substrate & Polkadot ( #359 )
...
* Update Substrate & Polkadot
* Remove unused code
2021-03-09 15:11:43 +01:00
Cecile Tonglet
5cdbd7c42d
Add a command to purge the relay chain only ( #306 )
...
* Add a command to purge the relay chain only
* WIP
* Update rococo-parachains/src/cli.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Move cli stuff to its own crate
* Copyright dates
* Test not working for some reason...
* WIP
* Revert "WIP"
This reverts commit f97cd63742c7df822e4a6e52a29db5e0f56b7bfa.
* Fix test to use provided relay chain
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Add hint about which database could not be purged
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-03-03 13:40:22 +01:00
Andrew Jones
16bc09f710
Update to latest Substrate and Polkadot ( #348 )
...
* Update to latest Substrate and Polkadot
* log::debug!
* Add log dependecies to runtime
* Comma
* Fix tests
2021-03-03 13:20:17 +01:00
Bastian Köcher
fc8c690cf8
Update to latest Substrate & Polkadot ( #341 )
2021-02-24 20:15:52 +01:00
Bastian Köcher
f04ce0655b
Update Substrate & Polkadot ( #330 )
2021-02-16 17:42:08 +01:00
Bastian Köcher
ec08d11d39
New genesis ( #327 )
...
* Update Substrate & Polkadot
* Update chainspecs
* Update again to fix test
2021-02-15 11:20:36 +01:00
Bastian Köcher
fbacfe7937
The great refactor ( #325 )
...
* Move pallets to pallets folder and rename them
* Move genesis file to service
* Rename primitives to primitives-core
* Delete cumulus-runtime
* Move stuff to client folder and rename
2021-02-10 13:07:21 +01:00