Skip to content
  1. Feb 25, 2022
  2. Feb 23, 2022
  3. Feb 22, 2022
  4. 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
  5. Feb 09, 2022
  6. Feb 07, 2022
  7. Feb 05, 2022
  8. Jan 31, 2022
  9. Jan 25, 2022
  10. 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
  11. Jan 20, 2022
  12. 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
  13. Jan 14, 2022
  14. Jan 12, 2022
  15. Jan 03, 2022
  16. Dec 31, 2021
  17. Dec 28, 2021
  18. 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
  19. Dec 21, 2021
  20. Dec 14, 2021
  21. Dec 11, 2021
  22. Dec 10, 2021
  23. Dec 09, 2021
  24. 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
  25. Dec 02, 2021
  26. Dec 01, 2021
  27. Nov 30, 2021
  28. Nov 24, 2021
  29. Nov 19, 2021
  30. Nov 16, 2021
  31. Nov 12, 2021
  32. Nov 11, 2021
    • Dan Shields's avatar
      Tweaks from template downstream review #80 (#705) · 3284976a
      Dan Shields authored
      * 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
      3284976a
  33. Nov 08, 2021
    • Alexander Popiak's avatar
      Upstream Statemine Release v5 Changes to Master (#720) · c63c5229
      Alexander Popiak authored
      
      
      * Update references
      
      * update deps
      
      * set substrate deps for pallet-asset-tx-payment
      
      * add DisabledValidatorsThreshold to parachain template
      
      * add DisabledValidatorsThreshold to statemint runtimes
      
      * adjust imports
      
      * update Cargo-lock
      
      * add DisabledValidatorsThreshold to mock config
      
      * cargo +nightly fmt
      
      * adjust on_disabled type
      
      * remove on_chain_votes function in ParachainHost impl
      
      * remove ScrapedOnChainVotes
      
      * bump polkadot-collator version
      
      Co-authored-by: default avatarChevdor <[email protected]>
      
      * update Cargo.lock
      
      * set spec_versions to 500
      
      * Statemine cannot execute.
      
      * disallow XCM execute on statemint
      
      * cargo fmt
      
      * remove unnecessary dep on node-primitives
      
      * select parachains-common/std feature when building rococo-runtime with std
      
      * adjust Statemint to the three digit spec_version format
      
      * Add script to generate simple changelogs (#668)
      
      * Update weights from v4 for v5 comparison (#673)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * Fix benchmarks after Parachain Template (#677)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * benchmarks fix for parachain template
      
      * Weights updates for Statemine v5 (#682)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * weights updates for statemine v5
      
      * mention Storage in construct_runtime macro for pallet-xcm (#680)
      
      * Use pallet-xcm for version wrapping (#689)
      
      * use PolkadotXcm for XcmRouter WrapVersion
      
      * use PolkadotXcm for version wrapping
      
      Co-authored-by: default avatarBryan Chen <[email protected]>
      
      * patch weight for batch_all from rerun
      
      * Runtime version bump to v503 (#694)
      
      * adjust genesis value generation scripts to output entries array + add script to derive encoded call
      
      * add script to generate shell spec from runtime wasm
      
      * Ensure a bad datastream cannot cause problems (#701)
      
      * Ensure a bad datastream cannot cause problems
      
      * Formatting
      
      * Formatting
      
      * update Polkadot (to 0.9.11 169bab55d)
      
      * bump spec versions
      
      * Allow Queries and Subscriptions
      
      Fixes
      
      Formatting
      
      * fix build
      
      * make fmt happy
      
      * statemint imports
      
      * slight naming changes in script
      
      * add shell genesis data + wasm + chainspec
      
      * adjust generated shell spec with production config values
      
      * update Substrate and Polkadot to master
      
      * fix deps
      
      * swap out bootnodes for statemint shell
      
      * add a script for verifying the shell chain spec
      
      * add sha checksum for head data
      
      * remove verification script
      
      * remove hex wasm file
      
      * update Substrate and Polkadot again and fix compilation
      
      * update and fix lock file
      
      * formatting
      
      * remove redundant dispatch_as weight
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarChevdor <[email protected]>
      Co-authored-by: default avatarGav Wood <[email protected]>
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      Co-authored-by: default avatarBryan Chen <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      c63c5229