Skip to content
  1. Aug 10, 2023
  2. Aug 08, 2023
  3. Aug 03, 2023
  4. Aug 02, 2023
  5. Aug 01, 2023
  6. Jul 28, 2023
  7. Jul 27, 2023
  8. Jul 26, 2023
  9. Jul 25, 2023
  10. Jul 24, 2023
  11. 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
  12. Jul 14, 2023
  13. 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
  14. 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
  15. Jul 11, 2023
  16. Jul 10, 2023
  17. Jul 08, 2023
  18. 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
  19. Jul 06, 2023
  20. Jul 05, 2023
    • Jegor Sidorenko's avatar
      NFT Fractionalization on AssetHub Kusama (#2769) · 84abf208
      Jegor Sidorenko authored
      
      
      * Add nft-fractionalization pallet to AssetHub Kusama
      
      * Update Cargo.lock
      
      * Update parachains/runtimes/assets/asset-hub-kusama/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Set MaxHolds = 10
      
      * Change MaxHolds back to 1
      
      ---------
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      84abf208
    • Ignacio Palacios's avatar
      Add Bridges to `xcm-emulator` (#2812) · f6b33fe9
      Ignacio Palacios authored
      
      
      * rename bridge hub + BridgeMessages type
      
      * bridge base
      
      * bridge string approach
      
      * add decl_test_bridges macro
      
      * outbound lanes on the way
      
      * get & dispatch mock bridge done
      
      * fix bridge errors + log::debug for messages
      
      * clean up
      
      * update source OutboundLaneData
      
      * rococo & wococo added
      
      * sender_receiver_accounts_parameter_types macro
      
      * sender_receiver_accounts_parameter_types macro 2
      
      * fixed multi parachain + example on the way
      
      * working but router error
      
      * bridge working
      
      * refactor NetworkComponent
      
      * make it generic
      
      * working as generic
      
      * clean up
      
      * last bit
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * fix bridge hub handler name
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * add AssetConversion back for AssetHubWestend
      
      * Update xcm/xcm-emulator/src/lib.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * add LaneId wrapper
      
      * update substrate
      
      * fix wrapper conversion
      
      * remove duplicate in workspace
      
      * Revert "update substrate"
      
      This reverts commit 92e8f201ae433aed3f70b998ebd4c23d9168d0ee.
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarSquirrel <[email protected]>
      f6b33fe9
  21. Jul 04, 2023
  22. Jul 03, 2023
  23. Jun 30, 2023
  24. Jun 28, 2023
  25. Jun 25, 2023
  26. Jun 24, 2023
  27. 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
    • Bruno Galvao's avatar
      add try-runtime to ping pallet (#2767) · eb76e109
      Bruno Galvao authored
      
      
      * add try-runtime to ping pallet
      
      * Update parachains/pallets/ping/Cargo.toml
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * a bit of formatting
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      eb76e109
    • 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
  28. Jun 22, 2023