Skip to content
  1. Feb 05, 2022
  2. Jan 31, 2022
  3. Jan 21, 2022
    • Keith Yeung's avatar
      Companion for paritytech/polkadot#4712 (#901) · 8c28d4c6
      Keith Yeung authored
      * Rename ParentIsDefault to ParentIsAllZeroes
      
      * Fixes
      
      * Create ParentAccounts for respective networks
      
      * Fixes
      
      * Use b"Parent" as the basis for generating parent AccountId
      
      * Fixes
      
      * Use preset parent account ID
      
      * update lockfile for {"polkadot"}
      
      Co-authored-by: parity-processbot <>
      8c28d4c6
  4. Jan 20, 2022
  5. 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
  6. Jan 14, 2022
  7. Dec 10, 2021
  8. Dec 09, 2021
  9. Dec 02, 2021
  10. Dec 01, 2021
  11. Nov 24, 2021
  12. Nov 19, 2021
  13. Nov 16, 2021
  14. Oct 27, 2021
  15. Oct 01, 2021
  16. Sep 19, 2021
  17. 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
  18. Sep 12, 2021
  19. Sep 04, 2021
  20. 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
  21. Aug 12, 2021
  22. Aug 09, 2021
  23. Aug 06, 2021
  24. Aug 05, 2021
  25. Jul 20, 2021
  26. Jul 15, 2021
  27. Jul 06, 2021
  28. 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
  29. Apr 30, 2021
  30. Apr 27, 2021
  31. 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