Skip to content
Snippets Groups Projects
  1. Dec 02, 2022
    • Branislav Kontur's avatar
      BridgeHubKusama - initial setup - (chain_spec + basic runtime without any bridging pallets) (#1764) · c3df7db3
      Branislav Kontur authored
      * [BridgeHub] Setup Rococo backbone parachain
      
      * [BridgeHub] Setup Wococo parachain backbone (reused from Rococo)
      [Bridge-Backport] Rebase-fix
      BridgeHub] Added zombienet startup tomls for Rococo/Wococo
      Fix typo
      
      * [BridgeHub] Added chain_spec for live Rococo/Wococo
      
      * [BridgeHub] Clean bridge-hub-rococo runtime
      
      * [BridgeHub] Add bridge-hub-rococo to CI pipelines
      
      * [BridgeHub] Added bridge-hub-kusama - empty runtime/chain_spec setup
      
      * Fixes
      
      * Fixes for BH
      
      * Fixes for other runtimes - align all
      
      * Fixes - const
      
      * Fixes const
      
      * Fixes
      
      * Fix kusama-local
      
      * Sample zombienet runs
      
      * Fixes
      
      * Fixes for benchmarking
      
      * Fixes CI
      
      * Fixes
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs frame_system
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_balances
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_session
      
      * Fixes name
      
      * Fixes readme
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_timestamp
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs cumulus_pallet_xcmp_queue
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_collator_selection
      
      * Fixes
      
      * Fixes
      
      * rustfmt
      
      * Fixes
      
      * Added pallet_utility/pallet_multisig
      
      * Blind try for regex pr-custom-review.yml (added bridge-hub-kusama + collectives-polkadot)
      
      * Fixes
      
      * Fixes
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_utility
      
      * ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_multisig
      
      * Trying to fix sed expression?
      
      * Added license headers + correct "DAG:" desc
      
      Co-authored-by: command-bot <>
      c3df7db3
  2. Nov 19, 2022
  3. Nov 07, 2022
  4. Oct 10, 2022
    • Sebastian Kunert's avatar
      Enable collation via RPC relay chain node (#1585) · cdcf5ddd
      Sebastian Kunert authored
      * Add minimal overseer gen with dummy subsystems
      
      * Fix dependencies
      
      * no-compile: only client transaction pool missing
      
      * Remove unused imports
      
      * Continue to hack towards PoC
      
      * Continue
      
      * Make mini node compile
      
      * Compiling version with blockchainevents trait
      
      * Continue
      
      * Check in lockfile
      
      * Block with tokio
      
      * update patches
      
      * Update polkadot patches
      
      * Use polkadot-primitives v2
      
      * Fix build problems
      
      * First working version
      
      * Adjust cargo.lock
      
      * Add integration test
      
      * Make integration test work
      
      * Allow startinc collator without relay-chain args
      
      * Make OverseerRuntimeClient async
      
      * Create separate integration test
      
      * Remove unused ChainSelection code
      
      * Remove unused parameters on new-mini
      
      * Connect collator node in test to relay chain nodes
      
      * Make BlockChainRPCClient obsolete
      
      * Clean up
      
      * Clean up
      
      * Reimplement blockchain-rpc-events
      
      * Revert "Allow startinc collator without relay-chain args"
      
      This reverts commit f22c70e16521f375fe125df5616d48ceea926b1a.
      
      * Add `strict_record_validation` to AuthorityDiscovery
      
      * Move network to cumulus
      
      * Remove BlockchainRPCEvents
      
      * Remove `BlockIdTo` and `BlockchainEvents`
      
      * Make AuthorityDiscovery async
      
      * Use hash in OverseerRuntime
      
      * Adjust naming of runtime client trait
      
      * Implement more rpc-client methods
      
      * Improve error handling for `ApiError`
      
      * Extract authority-discovery creationand cleanup
      
      * RPC -> Rpc
      
      * Extract bitswap
      
      * Adjust to changes on master
      
      * Implement `hash` method
      
      * Introduce DummyChainSync, remove ProofProvider and BlockBackend
      
      * Remove `HeaderMetadata` from blockchain-rpc-client
      
      * Make ChainSync work
      
      * Implement NetworkHeaderBackend
      
      * Cleanup
      
      * Adjustments after master merge
      
      * Remove ImportQueue from network parameters
      
      * Remove cargo patches
      
      * Eliminate warnings
      
      * Revert to HeaderBackend
      
      * Add zombienet test
      
      * Implement `status()` method
      
      * Add more comments, improve readability
      
      * Remove patches from Cargo.toml
      
      * Remove integration test in favor of zombienet
      
      * Remove unused dependencies, rename minimal node crate
      
      * Adjust to latest master changes
      
      * fmt
      
      * Execute zombienet test on gitlab ci
      
      * Reuse network metrics
      
      * Chainsync metrics
      
      * fmt
      
      * Feed RPC node as boot node to the relay chain minimal node
      
      * fmt
      
      * Add bootnodes to zombienet collators
      
      * Allow specification of relay chain args
      
      * Apply review suggestions
      
      * Remove unnecessary casts
      
      * Enable PoV recovery for rpc full nodes
      
      * Revert unwanted changes
      
      * Make overseerHandle non-optional
      
      * Add availability-store subsystem
      
      * Add AuxStore and ChainApiSubsystem
      
      * Add availability distribution subsystem
      
      * Improve pov-recovery logging and add RPC nodes to tests
      
      * fmt
      
      * Make availability config const
      
      * lock
      
      * Enable debug logs for pov-recovery in zombienet
      
      * Add log filters to test binary
      
      * Allow wss
      
      * Address review comments
      
      * Apply reviewer comments
      
      * Adjust to master changes
      
      * Apply reviewer suggestions
      
      * Bump polkadot
      
      * Add builder method for minimal node
      
      * Bump substrate and polkadot
      
      * Clean up overseer building
      
      * Add bootnode to two in pov_recovery test
      
      * Fix missing quote in pov recovery zombienet test
      
      * Improve zombienet pov test
      
      * More debug logs for pov-recovery
      
      * Remove reserved nodes like on original test
      
      * Revert zombienet test to master
      cdcf5ddd
  5. Sep 23, 2022
  6. Aug 11, 2022
    • joe petrowski's avatar
      Add Collectives Parachain (#1346) · 7bd426f3
      joe petrowski authored
      
      * add new runtime and remove unnecessary pallets
      
      * make runtime build
      
      * add collectives to collator node
      
      * sketch alliance config in runtime
      
      * Slash handler was supposed to be commented out (for now)
      
      * correct signature
      
      * move to impls
      
      * add alliance to runtime
      
      * rustfmt
      
      * IsReserve, remove Ping, update fn deposit
      
      * add transaction_payment event
      
      * Update parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
      
      Co-authored-by: default avatarSquirrel <gilescope@gmail.com>
      
      * fmt
      
      * add genesis config to chain spec
      
      * fix merge
      
      * local and dev configs only (for now)
      
      * remove duplicate imports
      
      * Collectives polkadot runtime to cargo workspace members (#1397)
      
      * Collectives polkadot runtime: use unit type impl for identity verifier (#1398)
      
      * apply fn rename
      
      * fmt
      
      * one less todo
      
      * Less code in magic macros (#1407)
      
      * Less code in magic macros
      
      * cargo fmt
      
      * Bench alliance (#1427)
      
      * add benchmarks
      
      * call one script from the other
      
      * shebang changes so works on nixos too.
      
      * bench in parallel as separate jobs
      
      * hyphens can turn into underscores
      
      * remove workaround to trigger bench
      
      Co-authored-by: default avataralvicsam <alvicsam@gmail.com>
      Co-authored-by: default avatarparitytech-ci <paritytech-ci@parity.io>
      
      * enable ci jobs
      
      * fix publish bench results jobs
      
      * chainspecs for collectives-westend (#1441)
      
      * initial chainspecs for collections relay chain
      
      * plumb in the collectives-westend chainspec
      
      * add Runtime::CollectivesWestend
      
      * lock
      
      * Collectives: teleport slashed assets  (#1433)
      
      * Collectives: teleport slashed assets
      
      * fmt
      
      * Cargo.lock > polkadot-parachain 0.9.25
      
      * create temp account for imbalance
      
      * treasury acc id from pallet id
      
      * move accounts into constants, use here junction for assets
      
      * assets location is relay chain, accounts as parameters
      
      * fix typos
      
      * fix typo
      
      * Update parachains/runtimes/collectives/collectives-polkadot/src/constants.rs
      
      Co-authored-by: default avatarjoe petrowski <25483142+joepetrowski@users.noreply.github.com>
      
      * Move alliance proposal provider to impls.rs (#1464)
      
      * Move to impls alliance proposal provider
      
      * rustfmt
      
      * Bumping spec version
      
      (so that we can redeploy with slashing change.)
      
      * cargo lock
      
      * slurp collectives digest to make appear in release notes (#1473)
      
      * add slurp
      
      * Slurp better :)
      
      * Bring some order
      
      Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
      Co-authored-by: default avatarWilfried Kopp <wilfried@parity.io>
      
      * reorder barrier
      
      * Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs
      
      Co-authored-by: default avatarKeith Yeung <kungfukeith11@gmail.com>
      
      * address review
      
      * clean construct runtime
      
      * fmt
      
      * looks pretty but brings in too much
      
      Co-authored-by: default avatarSquirrel <gilescope@gmail.com>
      Co-authored-by: default avatarMuharem Ismailov <ismailov.m.h@gmail.com>
      Co-authored-by: default avataralvicsam <alvicsam@gmail.com>
      Co-authored-by: default avatarparitytech-ci <paritytech-ci@parity.io>
      Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
      Co-authored-by: default avatarWilfried Kopp <wilfried@parity.io>
      Co-authored-by: default avatarKeith Yeung <kungfukeith11@gmail.com>
      7bd426f3
  7. Jul 12, 2022
    • Squirrel's avatar
      Penpal testing runtime (#1254) · 30c7c388
      Squirrel authored
      
      * adapt to common good paras
      
      * fmt
      
      * Updated to leave parachain-template alone
      
      * use norm_id + cargo fmt
      
      * removed comment as we are not touching parachain template
      
      * is_penpal
      
      * updated code to new locations
      
      * changes required to get penpal running
      
      * cargo fmt
      
      * remove warning, rename chain
      
      * Update polkadot-parachain/src/command.rs
      
      * Update polkadot-parachain/src/command.rs
      
      Co-authored-by: default avatarIgnacio Palacios <ignacio.palacios.santos@gmail.com>
      
      * remove now moved functions
      
      * added runtime description
      
      * add missing copyright notices
      
      * more copyright notices.
      
      Co-authored-by: default avatarNachoPal <ignacio.palacios.santos@gmail.com>
      30c7c388
  8. May 20, 2022
  9. May 18, 2022
  10. Mar 01, 2022
    • Sebastian Kunert's avatar
      Introduce rpc client for relay chain full node (#963) · bc532724
      Sebastian Kunert authored
      
      * Initial network interface preparations
      
      * Implement get_storage_by_key
      
      * Implement `validators` and `session_index_for_child`
      
      * Implement persisted_validation_data and candidate_pending_availability
      
      * Fix method name for persisted_validation_data and add encoded params
      
      * Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
      
      * Implement `prove_read`
      
      * Introduce separate RPC client, expose JsonRpSee errors
      
      * Simplify closure in call_remote_runtime_function
      
      * Implement import stream, upgrade JsonRpSee
      
      * Implement finality stream
      
      * Remove unused method from interface
      
      * Implement `is_major_syncing`
      
      * Implement `wait_on_block`
      
      * Fix tests
      
      * Unify error handling `ApiError`
      
      * Replace WaitError with RelayChainError
      
      * Wrap BlockChainError in RelayChainError
      
      * Unify error handling in relay chain intefaces
      
      * Fix return type of proof method
      
      * Improve error handling of new methods
      
      * Improve error handling and move logging outside of interface
      
      * Clean up
      
      * Remove unwanted changes, clean up
      
      * Remove unused import
      
      * Add format for StatemachineError and remove nused From trait
      
      * Use 'thiserror' crate to simplify error handling
      
      * Expose error for overseer, further simplify error handling
      
      * Reintroduce network interface
      
      * Implement cli option
      
      * Adjust call_state method to use hashes
      
      * Disable PoV recovery when RPC is used
      
      * Add integration test for network full node
      
      * Use Hash instead of BlockId to ensure compatibility with RPC interface
      
      * Fix cargo check warnings
      
      * Implement retries
      
      * Remove `expect` statements from code
      
      * Update jsonrpsee to 0.8.0 and make collator keys optional
      
      * Make cli arguments conflicting
      
      * Remove unused `block_status` method
      
      * Add clippy fixes
      
      * Cargo fmt
      
      * Validate relay chain rpc url
      
      * Clean up dependencies and add one more integration test
      
      * Clean up
      
      * Clean up dependencies of relay-chain-network
      
      * Use hash instead of blockid for rpc methods
      
      * Fix tests
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      
      * Improve error message of cli validation
      
      * Add rpc client constructor
      
      * Do not use debug formatting for errors
      
      * Improve logging for remote runtime methods
      
      * Only retry on transport problems
      
      * Use PHash by value, rename test
      
      * Improve tracing, return error  on relay-chain-interface build
      
      * Fix naming, use generics instead of deserializing manually
      
      * Rename RelayChainLocal and RelayChainNetwork
      
      * lock
      
      * Format
      
      * Use impl trait for encodable runtime payload
      
      * Only instantiate full node in tests when we need it
      
      * Upgrade scale-codec to 3.0.0
      
      * Improve expect log
      
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      bc532724
  11. Feb 17, 2022
    • Alexander Theißen's avatar
      Add `canvas-kusama` runtime (#980) · 4d319d0f
      Alexander Theißen authored
      * Added kanvas runtime
      
      * Fix up benchmarking
      
      * Fixup markdown stucture
      
      * replace :emoji_name: by utf8
      * fix up header hierarchy
      
      * Merge canvas README
      
      * Only use "Canvas" as a name
      
      * Remove reference to Rocanvas
      4d319d0f
  12. Jan 25, 2022
  13. Jan 05, 2022
  14. Dec 22, 2021
  15. Dec 02, 2021
  16. Nov 22, 2021
  17. Nov 19, 2021
    • Georges's avatar
      Moving `pallet-asset-tx-payment` from cumulus to substrate (#712) · 69f030f8
      Georges authored
      * Moving `pallet-asset-tx-payment` to substrate
      
      * Pointing `substrate` to my branch to fix the CI
      
      * Fixing cargo.lock
      
      Memmlock2 was in double
      
      * Duplicate Prost-build
      
      * cargo update
      
      * Fixing cargo.lock post merge
      
      * Changes to `Cargo.toml` after substrate merge
      69f030f8
  18. Nov 09, 2021
  19. Oct 11, 2021
    • Alexander Popiak's avatar
      Asset Transaction Payment (#488) · 3b1446d7
      Alexander Popiak authored
      
      * use new pallet name based genesis config names
      
      * use custom substrate and update polkadot
      
      * add initial asset-tx-payment pallet
      
      * update cargo.toml
      
      * add (failing) tests
      
      * dispatch Calls instead of using Pallet functions
      
      * fix fee-refund split
      
      * add test for transaction payment with tip
      
      * update cargo.lock
      
      * update cargo.lock
      
      * remove mint workaround and use Mutable trait
      
      * extract fee charging logic into OnChargeAssetTransaction trait
      
      * use asset-tx-payment in statemint runtime
      
      * make extrinsics public
      
      * make extrinsics public
      
      * use ChargeAssetIdOf type alias
      
      * update deps
      
      * move back to AssetIdOf
      
      * remove extra rpc_http_threads
      
      * use different substrate branch
      
      * Update pallets/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      
      * Update pallets/asset-tx-payment/src/payment.rs
      
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      
      * remove overrides
      
      * override substrate deps (again)
      
      * increment spec_version and transaction_version (because we change transaction signing)
      
      * remove direct dependency on pallet-balances from asset-tx-payment
      
      * remove Assets pallet visibility workaround
      
      * add docs and comments
      
      * remove unused imports
      
      * more docs
      
      * add more debug asserts to document assumptions
      
      * add test for tx payment from account with only assets
      
      * add test for missing asset case
      
      * extend test to cover non-sufficient assets
      
      * add a test for Pays::No (refunded transaction)
      
      * add type alias comments
      
      * add more doc comments
      
      * add asset-tx-payment to statemine and westmint
      
      * improve formatting
      
      * update license headers
      
      * add default implementation of HandleCredit for ()
      
      * update doc comments and format imports
      
      * adjust Cargo.toml
      
      * update cargo.lock
      
      * cargo fmt
      
      * cargo fmt
      
      * cargo fmt
      
      * cargo +nightly fmt
      
      * add type alias for OnChargeTransaction
      
      * cargo +nightly fmt
      
      * convert ChargeAssetTxPayment from tuple struct to regular struct
      
      * add more comments
      
      * formatting
      
      * adjust imports and comment
      
      * cargo +nightly fmt
      
      * reformat comment
      
      * use ChargeTransactionPayment's own get_priority + update Substrate
      
      * update Substrate and Polkadot
      
      * cargo fmt
      
      * cargo fmt
      
      * add OperationalFeeMultiplier to asset tx payment tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * add doc links
      
      * charge a minimum converted asset fee of 1 if the input fee is greater zero
      
      * cargo +nightly fmt
      
      * bump spec and transaction version
      
      Co-authored-by: default avatarTomasz Drwięga <tomusdrw@users.noreply.github.com>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      3b1446d7
  20. Sep 23, 2021
  21. Aug 17, 2021
  22. Jun 28, 2021
  23. Jun 16, 2021
  24. Jun 12, 2021
  25. Jun 08, 2021
  26. Jun 01, 2021
    • Gavin Wood's avatar
      Add Statemint (#452) · eaa9f646
      Gavin Wood authored
      
      * Add Statemint
      
      * Versioning.
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Benchmarking
      
      * kick patch (paritytech/statemin#88)
      
      * Westmint Chain Spec (paritytech/statemint#90)
      
      * Tidy the common .toml
      
      * Update weights
      
      * add westmint sudo key comment
      
      * Port consensus stuff
      
      * fix typo
      
      * fix typo ... again
      
      * Recognise Westmint
      
      Co-authored-by: default avatarAlexander Popiak <alexander.popiak@parity.io>
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      eaa9f646
  27. May 26, 2021
    • Bastian Köcher's avatar
      Pov recovery for parachains (#445) · 07b3c44b
      Bastian Köcher authored
      
      * Start with a failing integration test & some refactorings
      
      * More work
      
      * Make it "work"
      
      * Add `NullConsensus` for the test
      
      * More refactorings
      
      * Move stuff over to its own crate
      
      * Refactorings
      
      * Integrate it into `service` and make the test working
      
      * Docs and some exit condition
      
      * Use the real import queue
      
      * Fix tests
      
      * Update client/pov-recovery/src/active_candidate_recovery.rs
      
      Co-authored-by: default avatarBernhard Schuster <bernhard@ahoi.io>
      
      * Fetch slot duration from the relay chain
      
      * Docs
      
      * Fixes
      
      Co-authored-by: default avatarBernhard Schuster <bernhard@ahoi.io>
      07b3c44b
  28. May 12, 2021
  29. May 10, 2021
    • Bastian Köcher's avatar
      Aura consensus for parachains (#371) · 8accc88e
      Bastian Köcher authored
      
      * Update polkadot
      
      * Migrate all uses of MQC heads to merkle proofs
      
      * Mass rename `relay_parent_storage_root`
      
      * Restore parachain-system tests
      
      * Update polkadot and libp2p swarm for testing
      
      * Collapse match into an if let
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Start with something
      
      * Update Substrate & Polkadot
      
      * Start to make it compile
      
      * Make it compile
      
      * Begin with something
      
      * Yep
      
      * I'm a hacker
      
      * Bring back the builder
      
      * Make it work in some way
      
      * Compile
      
      * Parachains use their own "slot"
      
      * Adds cumulus-pallet-aura
      
      * Wrap AuRa import queue to disable equivocation checking by default
      
      * Pass slot duration
      
      * Check the seal when validating a block
      
      * Adds missing file
      
      * Try to make the seal working
      
      * Fix it
      
      * Some fixes
      
      * Bring in the latest features to cleanup the code
      
      * Update and make it compile
      
      * Improve the import
      
      * Start fixing
      
      * More work
      
      * Fix fix fix
      
      * Make everything compile
      
      * Small cleanups
      
      * Rename and more docs
      
      * Docs
      
      * Fixes fixes fixes
      
      * Update rococo-parachains/src/chain_spec.rs
      
      * Update client/consensus/aura/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update client/consensus/aura/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      Co-authored-by: default avatarSergei Shulepov <sergei@parity.io>
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      8accc88e
  30. May 02, 2021
  31. Apr 16, 2021
  32. Apr 14, 2021
    • Gavin Wood's avatar
      XCM revamp & Ping pallet (#391) · 86f9a991
      Gavin Wood authored
      
      * 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: default avatarAmar Singh <asinghchrony@protonmail.com>
      
      * Make tests compile
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian 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: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * import saturating
      
      * remove panic test
      
      Co-authored-by: default avatarRobert Habermeier <rphmeier@gmail.com>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: default avatarAmar Singh <asinghchrony@protonmail.com>
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      86f9a991
  33. Mar 12, 2021
  34. Mar 03, 2021
  35. Feb 16, 2021
    • Bastian Köcher's avatar
      Parachain Consensus abstractions (#329) · d3f9c7db
      Bastian Köcher authored
      * Move consensus to consensus-common crate
      
      * Move the parachain consensus out of the collator
      
      * Add first relay chain consensus stuff
      
      * Remove some warnings
      
      * Fix more stuff
      
      * Fix collator test
      
      * Change `ParachainConsensus` to take a mutable self
      
      * Make everything compile
      
      * Feedback
      d3f9c7db
  36. Feb 11, 2021
  37. Feb 10, 2021
    • Bastian Köcher's avatar
      The great refactor (#325) · 119e0859
      Bastian Köcher authored
      * 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
      119e0859
  38. Jan 21, 2021
    • Sergey Pepyakin's avatar
      parachain-system (#296) · 615ac5fe
      Sergey Pepyakin authored
      * rename parachain-{upgrade -> system}
      
      * Merge message-broker into parachain-system
      
      * Remove message-broker and clean up
      
      * Update docs
      
      * Test upward messages sending
      
      And also update the relay-sproof-builder so that it allows to set the
      relay dispatch queue size for the given parachain.
      
      * Test horizontal message sending
      
      * Remove old inherent definitions
      615ac5fe
  39. Jan 13, 2021
    • Sergey Pepyakin's avatar
      Inform the PVF with the latest relevant relay chain state (#279) · b424d0f5
      Sergey Pepyakin authored
      
      * Update polkadot
      
      * Extend cumulus primitives with some relay chain exports
      
      Follow https://github.com/paritytech/polkadot/pull/2194 to see the
      polkadot PR
      
      * collator: collect the state proof
      
      This commit changes cumulus-collator so that it takes the relay chain
      state at the relay parent and creates a storage proof that contains all
      the required data for PVF.
      
      * parachain-upgrade: use the proofs instead
      
      This change is needed to make cumulus logic to not longer depend on the
      transient validation data. As part of this change, in order to preserve
      the current behavior `code_upgrade_allowed` now is computed on the
      parachain side, rather than provided by polkadot.
      
      Turned out that this requires to know the self parachain id so it was
      added where needed.
      
      * message-broker: use relay state to track limits
      
      this should make sending messages safe from accidentally running over
      the relay chain limits that were previously unknown.
      
      * Update polkadot
      
      So that `relay_storage_root` is available through `ValidationParams`
      
      * Check `relay_storage_root` matches expected
      
      Check that `relay_storage_root` submitted by the collator matches the
      one that we receive in `validate_block` through `ValidationParams`
      
      * Add a missing check for `dmq_mqc_head` while we are at it
      
      * Update polkadot
      
      * Fix tests that use the relay storage root
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update message-broker/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Remove unneeded (&_)
      
      * Fix unwraps
      
      * Polish basti's suggestion
      
      * Fix merge
      
      * Bring back the System::can_set_code check
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      b424d0f5
  40. Dec 17, 2020
    • Shawn Tabrizi's avatar
      Add XCM Handler (#267) · afc50e8a
      Shawn Tabrizi authored
      * initial mock
      
      * integrate xcm-handler into runtime
      
      * expose xcm send error
      
      * oops
      
      * better comment
      afc50e8a