Skip to content
  1. Aug 14, 2023
  2. Aug 10, 2023
    • Branislav Kontur's avatar
      Bridges subtree sync (#2991) · e077bdd9
      Branislav Kontur authored
      * Squashed 'bridges/' changes from 0417308a48..278119fec2
      
      278119fec2 Grandpa: Store the authority set changes (#2336) (#2337)
      19f9c8ffdb remove message sender origin (#2322)
      3c7c271d2e GRANDPA module: store accepted justifications (#2298) (#2301)
      fb7d12e793 GRANDPA justifications: equivocation detection primitives (#2295) (#2297)
      d03a2ed450 More backports from Cumulus subtree to polkadot-staging (#2283)
      3c4ada921b Update dependecies (#2277) (#2281)
      3e195c9e76 GRANDPA: optimize votes_ancestries when needed (#2262) (#2264)
      7065bbabc6 Implement RuntimeDebug for GrandpaJustification (#2254)
      8c9e59bcbc Define generate_grandpa_key_ownership_proof() (#2247) (#2248)
      0b46956df7 Deduplicate Grandpa consensus log reading logic (#2245) (#2246)
      96c9701710 Fix deps from Cumulus (#2244)
      
      git-subtree-dir: bridges
      git-subtree-split: 278119fec2b45990cf1271999b0c21befe7003d9
      
      * Subtree update
      
      * Squashed 'bridges/' changes from 278119fec2..edf33a2c85
      
      edf33a2c85 Backport fix (for wasm `std` env) (#2339)
      
      git-subtree-dir: bridges
      git-subtree-split: edf33a2c85399d366e008228f2d9e63e8a492d95
      e077bdd9
    • Gavin Wood's avatar
      Polkadot parachains get topic-based message IDs (#2642) · 0765e2d1
      Gavin Wood authored
      
      
      * Polkadot parachains get topics
      
      * Formatting
      
      ---------
      
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      Co-authored-by: parity-processbot <>
      0765e2d1
  3. Aug 08, 2023
  4. Aug 02, 2023
  5. Aug 01, 2023
    • Oleg Plakida's avatar
      Update weights with VM runners (#2712) · fc83800e
      Oleg Plakida authored
      
      
      * paritytech/ci-cd#697: Update weights with VM runners
      
       - Update weights using VM instances
       - Change runner tag for weights ci job to weights-vm
      
      * ".git/.scripts/commands/bench/bench.sh" all
      
      * ".git/.scripts/commands/bench-all/bench-all.sh" --target_dir=cumulus
      
      ---------
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      fc83800e
    • Branislav Kontur's avatar
      Companion for Polkadot#7563 (#2956) · a4ae46b7
      Branislav Kontur authored
      * `XcmContext` to `buy_weight / refund_weight`
      
      * Fix tests
      
      * Fix more tests
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      a4ae46b7
  6. Jul 27, 2023
  7. Jul 26, 2023
  8. Jul 25, 2023
  9. Jul 24, 2023
  10. Jul 21, 2023
    • Branislav Kontur's avatar
      Asset conversion nits (#2860) · 8171890f
      Branislav Kontur authored
      
      
      * [asset-conv] Unused Balances type
      
      * [asset-conv] native asset change
      
      * Dedicated `AssetBalance` type for `pallet_assets` instances
      
      * Improved local vs foreign asset handling + test for not allowing pool_assets in pool
      
      * Removed `into_multiasset_id`
      
      * Fix
      
      * Refactor
      
      * Fixed create_pool for benchmark with LocalAndForeignAssets (finally found it)
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Revert
      
      * fmt
      
      * Migrates pools with `MultiLocation { parents: 0, interior: Here }` to `MultiLocation { parents: 1, interior: Here }`
      
      * Allow `set_storage` for `AllowMultiAssetPools` / `LiquidityWithdrawalFee`
      
      * Benchmarks work
      
      * Removed comment + more defensive migration
      
      * `T::Currency::transfer` -> `Balances::transfer_all` in migration
      
      * Change pool_id in migration
      
      * Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
      
      * Bump substrate (manually)
      
      * Bump polkadot
      
      * Fixes from polkadot + clippy
      
      * Fix for xcm-emulator tests (thank you Nacho)
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      8171890f
  11. Jul 14, 2023
  12. Jul 13, 2023
    • gupnik's avatar
      Moves `Block` to `frame_system` instead of `construct_runtime` and removes... · 24d6e46a
      gupnik authored
      Moves `Block` to `frame_system` instead of `construct_runtime` and removes `Header` and `BlockNumber` (#2790)
      
      * Fixes
      
      * Removes unused import
      
      * Uses Block and removes BlockNumber/Header from Chain
      
      * Fixes bridges
      
      * Fixes
      
      * Removes unused import
      
      * Fixes build
      
      * Uses correct RelayBlock
      
      * Minor fix
      
      * Fixes glutton-kusama
      
      * Uses correct RelayBlock
      
      * Minor fix
      
      * Fixes benchmark for pallet-bridge-parachains
      
      * Adds appropriate constraints
      
      * Minor fixes
      
      * Removes unused import
      
      * Fixes integrity tests
      
      * Minor fixes
      
      * Updates trait bounds
      
      * Uses custom bound for AsPrimitive
      
      * Fixes trait bounds
      
      * Revert "Fixes trait bounds"
      
      This reverts commit 0b0f42f583f3a616a88afe45fcd06d31e7d9a06f.
      
      * Revert "Uses custom bound for AsPrimitive"
      
      This reverts commit 838e5281adf8b6e9632a2abb9cd550db4ae24126.
      
      * No AsPrimitive trait bound for now
      
      * Removes bounds on Number
      
      * update lockfile for {"substrate", "polkadot"}
      
      * Formatting
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Minor fix
      
      ---------
      
      Co-authored-by: parity-processbot <>
      24d6e46a
  13. Jul 12, 2023
    • Michal Kucharczyk's avatar
      `GenesisBuild<T,I>` deprecated. `BuildGenesisConfig` added (#2757) · 94d2e4bc
      Michal Kucharczyk authored
      * GenesisBuild<T,I> deprecated. BuildGenesisConfig added
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * integration-tests/emulated: ..Default::default added to genesis configs
      
      * Cargo.lock updated
      
      * Cargo.lock updated
      
      * update lockfile for {"polkadot", "substrate"}
      
      * clippy fixes
      
      * clippy fixes
      
      * clippy fixes again
      
      ---------
      
      Co-authored-by: command-bot <>
      94d2e4bc
  14. Jul 11, 2023
  15. Jul 10, 2023
  16. Jul 08, 2023
  17. Jul 07, 2023
    • joe petrowski's avatar
      Better Handling of Candidates Who Become Invulnerable (#2801) · 5a813402
      joe petrowski authored
      * remove candidate when to invulnerable
      
      * fix
      
      * candidates to collators
      
      * make parameters consistent and more reasonable
      
      * add call to kick invulnerable candidates
      
      * factor removal into weight
      
      * fix: use accrue instead of add
      
      * make set_invulnerables non-atomic
      
      * benchmark add_invulnerable to account for candidate removal
      
      * don't remove from candidates with set_invulnerables
      
      * fix bounds on benchmarking
      
      * protect against zero min invulnerables underflow
      
      * extra event and tests
      
      * make candidates/invulnerables self-cleaning on session change
      
      * add integrity test
      
      * unused imports
      
      * make rococo-contracts have 1 collator
      5a813402
  18. Jul 06, 2023
  19. Jul 05, 2023
  20. Jul 04, 2023
  21. Jul 03, 2023
  22. Jun 30, 2023
  23. Jun 25, 2023
  24. Jun 24, 2023
  25. Jun 23, 2023
    • Squirrel's avatar
      Asset Conversion release to westmint (#2148) · 5487ce76
      Squirrel authored
      
      
      * Dex and payment by dex in westmint
      
      * Wrap U256 type for now
      
      (to support required traits.)
      
      * cargo fmt
      
      * We can now use U256
      
      * Rename PromotedBalance
      
      * name change
      
      * Updating the code to master.
      
      TODO: handle dust!
      
      * cargo fmt
      
      * Minimising changes and step towards getting benchmarks compiling
      
      (still a From<u32> bound in the pallet)
      
      * minimise diff
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Update parachains/common/src/impls.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Fix benchmark build
      
      * Add in AssetConversionAPI
      
      * Handle dust
      
      * cargo fmt
      
      * Don't need to be explicit that it's AccountId32
      
      * remove pool setup fee
      
      (Asset deposit fees are a sufficient anti-spam measure)
      
      * More natural way to specify native
      
      * cargo fmt
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      * Additional required impls
      
      * either form of multilocation should be acceptable.
      
      * add call filter exclusion
      
      * Fix typo & try_convert now fails if native is converted
      
      * merge master fixup
      
      * Fix: HoldReason should be there.
      
      * Box MultiAssetId
      
      Otherwise it blows out the Call enum memory size.
      
      * cargo fmt
      
      * update lock file
      
      * add std feature, update lock file
      
      * need to turn on std on common
      
      * adding in westmint tests
      
      * WeightToFee must be from the destination chain.
      
      * cargo fmt
      
      * account for higher ED on westmint
      
      * type removed as not used
      
      * cargo fmt
      
      * remove unused import
      
      * minimising diff
      
      * import needed only with feature enabled
      
      * use multilocation contains
      
      * move the impls to separate file
      
      * simplify on conversion
      
      * simplify on reverse conversion also.
      
      * rename var
      
      * clippy
      
      * removed dead code
      
      * cargo fmt
      
      * Use pay by swap
      
      * review suggestions
      
      * cargo fmt
      
      * Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * add benchmarks for new assets pallet
      
      * revert common/src changes
      
      * need a concrete id
      
      * more fixes
      
      * lock
      
      ---------
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      5487ce76
    • Branislav Kontur's avatar
      Companion for substrate#14435 (BenchmarkHelper for frame-system) (#2766) · 9486fe97
      Branislav Kontur authored
      * Temporary fix for frame_system::set_code benchmark
      
      * Removed temprary fix
      
      * BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
      
      * BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)
      
      * Glutton
      
      * Fix benchmarks for `set_code`
      
      * Changed dummy values to non-zero
      
      * update lockfile for {"polkadot", "substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      9486fe97
  26. Jun 22, 2023
  27. Jun 20, 2023
    • Branislav Kontur's avatar
      AssetHubs - split weights for pallet_assets (#2743) · 43c9a949
      Branislav Kontur authored
      * AssetHubs - split weights for pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
      
      * Rename weight file for pallet_assets instances (polkadot)
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
      
      * Rename weight file for pallet_assets instances (kusama/westend)
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
      
      * Changed `pallet_assets_remote` -> `pallet_assets_foreign`
      
      * fmt
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets
      
      * ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets
      
      ---------
      
      Co-authored-by: parity-processbot <>
      43c9a949
  28. Jun 19, 2023
  29. Jun 14, 2023
  30. Jun 13, 2023