Skip to content
  1. Jul 11, 2023
  2. Jul 10, 2023
  3. Jul 08, 2023
  4. 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
  5. Jul 06, 2023
  6. Jul 05, 2023
  7. Jul 04, 2023
  8. Jul 03, 2023
  9. Jun 30, 2023
  10. Jun 25, 2023
  11. Jun 24, 2023
  12. 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
  13. Jun 22, 2023
  14. 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
  15. Jun 19, 2023
  16. Jun 14, 2023
  17. Jun 13, 2023
  18. Jun 09, 2023
  19. Jun 08, 2023
  20. Jun 06, 2023
    • Muharem Ismailov's avatar
      Runtime: Polkadot Fellowship promotion/demotion periods, members activity and salaries (#2607) · ce0dcd57
      Muharem Ismailov authored
      
      
      * core fellowship
      
      * core fellowship weights
      
      * salary
      
      * weights
      
      * fellowship pot
      
      * registration period 15 days
      
      * use treasury account for salary pay, promotion origin
      
      * decision period for tracks 30 days
      
      * docs
      
      * comment
      
      * Couple of fixes and some refactoring
      
      * Alter curves to be a bit more conservative
      
      * Use `PayOverXcm` for fellowship salary payments
      
      * Docs and remove unneeded code
      
      * Fixes
      
      * Move Fellowship stuff in line with whitepaper
      
      * fix: induction by a single Fellow (not proficient)
      
      * doc fix
      
      * renames, pallet index, allow unpaid for salary pallet
      
      * Fix budget units
      
      * Fixes
      
      * Test sovereign account for Fellowship salaries
      
      * Nice address test
      
      * Fixes
      
      * test for PayOverXcm setup
      
      * Update parachains/runtimes/collectives/collectives-polkadot/src/fellowship/mod.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarGav <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      ce0dcd57
  21. Jun 05, 2023
  22. Jun 02, 2023
    • joe petrowski's avatar
      Rename Statemint to Asset Hub (#2633) · 60075495
      joe petrowski authored
      
      
      * change dir names
      
      * cargo toml updates
      
      * fix crate imports for build
      
      * change chain spec names and PR review rule
      
      * update cli to accept asset-hub
      
      * find/replace benchmark commands
      
      * integration tests
      
      * bridges docs
      
      * more integration tests
      
      * AuraId
      
      * other statemint tidying
      
      * rename statemint mod
      
      * chain spec mod
      
      * rename e2e test dirs
      
      * one more Runtime::Statemine
      
      * benchmark westmint
      
      * rename chain spec name and id
      
      * rename chain spec files
      
      * more tidying in scripts/docs/tests
      
      * rename old dir if exists
      
      * Force people to manually do the move.
      
      (Safer as there could be additional considerations with their setup)
      
      * review touchups
      
      * more renaming
      
      * Update polkadot-parachain/src/command.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * better error message
      
      * do not break on-chain spec_name
      
      * log info message that path has been renamed
      
      * better penpal docs
      
      ---------
      
      Co-authored-by: default avatargilescope <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: parity-processbot <>
      60075495
    • Bastian Köcher's avatar
      Adds missing features (#2677) · cad48b71
      Bastian Köcher authored
      cad48b71
  23. May 31, 2023
  24. May 29, 2023
  25. May 25, 2023
    • Gavin Wood's avatar
      Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages) (#2601) · ec21c0a2
      Gavin Wood authored
      * Fixes for new API
      
      * Formatting
      
      * Fixes
      
      * Fixes
      
      * Further fixes
      
      * XCMP dispatch events mention message ID
      
      * XCMP event includes ID
      
      * Add DMP message ID functionality
      
      * Integrate into test parachains
      
      * Remove WithUniqueTopic usage
      
      * Use new primitive
      
      * Formatting
      
      * undiener
      
      * Revert lock
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Formatting
      
      * message_hash becomes message_id
      
      * Rename
      
      * Another Rename
      
      * Fixes
      
      * Fix
      
      * Bump
      
      * Fixes
      
      * Grumble.
      ec21c0a2
  26. May 24, 2023