Skip to content
  1. Sep 12, 2022
    • Sergej Sakac's avatar
      Companion for #11981 (#1563) · 68ba7e54
      Sergej Sakac authored
      
      
      * Companion for #11981
      
      * rename
      
      * Event to RuntimeEvent in imports
      
      * missed rename
      
      * undo
      
      * revert
      
      * rename type Call & Event
      
      * commit
      
      * ...
      
      * fix
      
      * fix errors
      
      * fixes
      
      * fmt
      
      * fix imports
      
      * final fix?
      
      * fmt
      
      * fix?
      
      * fixes after merge
      
      * small fix
      
      * cargo update -p polkadot-runtime-common
      
      * cargo +nightly fmt
      
      * update lockfile for {"polkadot", "substrate"}
      
      * fix
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: parity-processbot <>
      68ba7e54
  2. Sep 08, 2022
    • Keith Yeung's avatar
      Companion for paritytech/substrate#12183 (#1601) · 11b18e89
      Keith Yeung authored
      * Companion for paritytech/substrate#12183
      
      * Fixes
      
      * Update pallets/xcmp-queue/src/lib.rs
      
      * Update pallets/xcmp-queue/src/lib.rs
      
      * update lockfile for {"substrate", "polkadot"}
      
      Co-authored-by: parity-processbot <>
      11b18e89
  3. Sep 01, 2022
  4. Aug 31, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 (#1581) · 48d4f1c5
      Shawn Tabrizi authored
      * cargo test -p cumulus-primitives-utility
      
      * cargo test -p cumulus-pallet-xcmp-queue
      
      * cargo test -p cumulus-pallet-xcm
      
      * cargo test -p cumulus-pallet-dmp-queue
      
      * cargo test -p pallet-template
      
      * cargo test -p cumulus-test-runtime
      
      * fix weights
      
      * fix more weights
      
      * cargo test -p parachains-common
      
      * cargo test -p parachain-template-runtime
      
      * fix weights import
      
      * cargo test -p collectives-polkadot-runtime
      
      * cargo test -p contracts-rococo-runtime
      
      * more
      
      * unused
      
      * fixes
      
      * Update benchmarking.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * fix
      
      * fix bug in conversion
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      48d4f1c5
  5. Jun 20, 2022
  6. Apr 12, 2022
  7. Mar 22, 2022
  8. Mar 21, 2022
  9. Mar 07, 2022
    • Doordashcon's avatar
      Add benchmarks for Xcmp QueueConfigData setters (#982) · 8d96b867
      Doordashcon authored
      
      
      * add benchmarks for xcmp queue config data setters
      
      * add new benchmarks
      
      * cargo fmt
      
      * added newline
      
      * Additional weights for dmp queue for westmint
      
      * include new weights
      
      * Adding WeightInfo trait and friends
      
      * WeightInfo should be on xcmp rather than dmp pallet
      
      * cargo fmt
      
      * update scripts
      
      * mock weightinfo
      
      * cargo fmt
      
      * canvas kusama is substrate weight
      
      * weights from bm2
      
      * expanding to other similar config functions
      
      * updated weights from bm2
      
      * Revert "updated weights from bm2"
      
      This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76.
      
      * Consolidation to one benchmark
      
      * reran weights
      
      * Update pallets/xcmp-queue/src/lib.rs
      
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      
      * integrating review feedback
      
      * rerun weights
      
      * Add DispatchClass::Operational
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      8d96b867
  10. Feb 25, 2022
  11. Feb 05, 2022
  12. Jan 31, 2022
  13. Jan 20, 2022
  14. Jan 19, 2022
    • Bastian Köcher's avatar
      xcmp-queue: Fix handling of encoded blobs (#889) · d988e383
      Bastian Köcher authored
      * xcmp-queue: Fix handling of encoded blobs
      
      With #701 we tried to fix some infinite loop related to encoded blobs, however that lead actually to
      not being able to process encoded blobs at all. The reason for this is that `decode_all` doesn't
      consume the given input. The point of this function is that it returns an error if the data couldn't
      be decoded or there is still data left. However, this means that the check
      `remaining_fragments.len() < last_remaining_fragments.len()` would always fail.
      
      We remove the while loop, because we decode the entire fragment anyway or it fails. Aka, we don't
      need to loop here. Next we remove the broken check and we directly reset the
      `remaining_fragments` (because `decode_all` doesn't consume anything).
      
      * Restore correct behavior
      
      We need to use a while loop, because there can be multiple `Vec<u8>`s. We also need to use `decode`,
      because `decode_all` would otherwise return an error if the input is not empty afterwards.
      
      * Remove unused import
      d988e383
  15. Dec 09, 2021
    • Keith Yeung's avatar
      Support overweight messages in XCMP queue (#799) · b5135277
      Keith Yeung authored
      * Support overweight messages in XCMP queue
      
      * Add storage migration logic to XCMP queue pallet
      
      * Check whether required weight is larger than max individual weight first
      
      * cargo fmt
      
      * Add some unit tests
      
      * Remove review question comment
      b5135277
  16. Dec 02, 2021
  17. Nov 24, 2021
  18. Oct 27, 2021
  19. Oct 01, 2021
  20. Sep 19, 2021
  21. Sep 16, 2021
    • Chevdor's avatar
      ci: add quick-check with rustfmt (#615) · 6b20f7a2
      Chevdor authored
      
      
      * 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: default avatarBastian Köcher <[email protected]>
      6b20f7a2
    • Andrew Jones's avatar
      Metadata v14 (companion to #3336) (#564) · e3eb3a0a
      Andrew Jones authored
      * Remove event pallet::metadata attributes
      
      * Add scale-info deps, TypeInfo derives, update call variants
      
      * Update metadata runtime APIs
      
      * Add missing scale_info dependency, update rococo runtime API
      
      * Add missing scale_info dependency
      
      * Remove pushed diener patches
      
      * Cargo.lock
      
      * Add missing scale-info dependencies
      
      * Fixes
      
      * Statemint runtime fixes
      
      * Call struct variant empty matches
      
      * Add missing scale-info dependency
      
      * Fixes
      
      * scale-info 1.0
      
      * cargo update -p xcm
      
      * update lock
      
      * Update Cargo.lock
      
      * update to latest polkadot
      
      * remove rpc_http_threads
      
      https://github.com/paritytech/substrate/pull/9737
      
      * replace task executor with tokio handler
      
      https://github.com/paritytech/substrate/pull/9737
      
      
      
      * fix test compilation?
      
      * Update Cargo.lock
      
      * cargo update
      
      * remove unused
      
      * Update substrate and polkadot
      
      * Update test/client/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e3eb3a0a
  22. Aug 28, 2021
    • Gavin Wood's avatar
      Companion for #3629 (XCM v2) (#571) · 9cc27783
      Gavin Wood authored
      * Update .gitignore and bring into line with XCM v2's SendError
      
      * type
      
      * Some work
      
      * Weighed responses
      
      * extra fields to xcm pallet
      
      * Fixes
      
      * Bump
      9cc27783
  23. Aug 12, 2021
  24. Aug 06, 2021
  25. Aug 05, 2021
  26. Jul 06, 2021
  27. May 08, 2021
    • Keith Yeung's avatar
      Upgrade pallets to FRAMEv2 (#404) · 647a9e6d
      Keith Yeung authored
      
      
      * Upgrade parachain info pallet to FRAMEv2
      
      * Upgrade parachain system pallet to FRAMEv2
      
      * Use Pallet<T> instead of Module<T>
      
      * Upgrade XCMP queue pallet to FRAMEv2
      
      * Correctly specify the metadata for events in xcmp-queue pallet
      
      * Apply suggestions from code review
      
      * Update pallets/parachain-system/src/tests.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      647a9e6d
  28. Apr 30, 2021
  29. Apr 27, 2021
  30. Apr 14, 2021
    • Gavin Wood's avatar
      Docs (#401) · 09cd8a89
      Gavin Wood authored
      09cd8a89
    • 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 <[email protected]>
      
      * Make tests compile
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * 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 <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * import saturating
      
      * remove panic test
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAmar Singh <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      86f9a991