Skip to content
  1. Mar 21, 2022
  2. Mar 17, 2022
  3. Mar 16, 2022
  4. Mar 15, 2022
  5. Mar 14, 2022
  6. Mar 11, 2022
  7. Mar 10, 2022
  8. 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
  9. Mar 02, 2022
  10. Feb 25, 2022
  11. Feb 23, 2022
  12. Feb 22, 2022
  13. Feb 14, 2022
    • Keith Yeung's avatar
      Update rand to v0.8.5 (#987) · e7d354ca
      Keith Yeung authored
      * Update rand to v0.8.5
      
      * Enable std_rng feature on rand
      
      * Enable std_rng only when std is enabled
      
      * Revert "Enable std_rng only when std is enabled"
      
      This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
      e7d354ca
  14. Feb 09, 2022
  15. Feb 07, 2022
  16. Feb 05, 2022
  17. Jan 31, 2022
  18. Jan 25, 2022
  19. 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
  20. Jan 20, 2022
  21. Jan 19, 2022
    • Squirrel's avatar
      Add collator selection tool tips (#900) · cc025953
      Squirrel authored
      
      
      * First doc lines should show as tool tips
      
      * Update pallets/collator-selection/src/lib.rs
      
      * Update pallets/collator-selection/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update pallets/collator-selection/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update pallets/collator-selection/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * moving comment onto storage
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      cc025953
    • 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
  22. Jan 14, 2022
  23. Jan 12, 2022
  24. Jan 03, 2022
  25. Dec 31, 2021
  26. Dec 28, 2021
  27. Dec 24, 2021
    • Bastian Köcher's avatar
      Mock XCM (#876) · 229000c5
      Bastian Köcher authored
      
      
      * sketch downward messages
      
      * bring in attempt to mock mqc-head from moonbeam
      
      * just patch individual crates
      
      * fing comma
      
      * add some logs
      
      * Holy shit, we actually imported a block!
      
      * Actually mock the message queue chain
      
      * use relay parent number for `sent_at`
      
      * finish moving MQC to primitives
      
      * more complete mock and better config type
      
      * change name
      
      * fix export
      
      * better map types
      
      * fix dependencies after rebase
      
      * try-rejigging branches because this is an override
      
      * try to re-jig for hrmp mcqs
      
      * fix branches
      
      * actually fix branches better
      
      * even better
      
      * Removestray log lines
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Nicer handling of default `ParachainSystem` name
      
      * better docs
      
      * Default MockXcm for people who only who don't care to mock xcm.
      
      * cargo fmt
      
      * trailing commas
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * use the variable for hrmp to
      
      * fix deref
      
      * deduplicate MessageQueueChain
      
      * better docs for MessageQueueChain
      
      * Use `Vec<u8>` instead of `&'static [u8]`
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * cargo fmt
      
      * associated changes for using Vec<u8>
      
      * Unused import
      
      * Fix compilation
      
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      229000c5
    • cheme's avatar
      Companion for substrate#9732 (#678) · 0256fe73
      cheme authored
      * state-update4 branch
      
      * new ref
      
      * Update to latest.
      
      * update deps
      
      * switch to host state version
      
      * update
      
      * fmt
      
      * up
      
      * remove trie patch
      
      * remove patch
      
      * fmt
      
      * update
      
      * set state_versions in runtimes
      
      * state version from storage
      
      * state version from storage
      
      * seedling compat
      
      * restore lock
      
      * update lockfile for substrate
      
      * update lockfile for polkadot
      
      Co-authored-by: parity-processbot <>
      0256fe73
  28. Dec 21, 2021
  29. Dec 14, 2021
  30. Dec 11, 2021
  31. Dec 10, 2021
  32. Dec 09, 2021
  33. Dec 03, 2021
    • Bastian Köcher's avatar
      Adds support for returning a custom header from `validate_block` (#825) · 32a86d8e
      Bastian Köcher authored
      * Adds support for returning a custom header from `validate_block`
      
      This adds support for returning a custom header from `validate_block`. Before this, we always
      returned the header of the block that was validated (and still do it by default). However, after
      this pr it is possible to set a custom header or better custom head data that will be returned
      instead from `validate_block`. This can be for example when a chain wants to fork.
      
      * FMT
      32a86d8e