Skip to content
Snippets Groups Projects
  1. Jul 20, 2023
  2. 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
  3. 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
  4. Jun 08, 2023
  5. May 29, 2023
  6. May 06, 2023
  7. Jan 29, 2023
  8. Oct 03, 2022
  9. Sep 12, 2022
    • Sergej Sakac's avatar
      Companion for #11981 (#1563) · 68ba7e54
      Sergej Sakac authored
      
      * Companion for #11981
      
      * rename
      
      * Event to RuntimeEvent in imports
      
      * missed rename
      
      * undo
      
      * revert
      
      * rename type Call & Event
      
      * commit
      
      * ...
      
      * fix
      
      * fix errors
      
      * fixes
      
      * fmt
      
      * fix imports
      
      * final fix?
      
      * fmt
      
      * fix?
      
      * fixes after merge
      
      * small fix
      
      * cargo update -p polkadot-runtime-common
      
      * cargo +nightly fmt
      
      * update lockfile for {"polkadot", "substrate"}
      
      * fix
      
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      Co-authored-by: parity-processbot <>
      68ba7e54
  10. May 23, 2022
  11. Mar 02, 2022
  12. Dec 02, 2021
  13. 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
  14. 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 <chevdor@users.noreply.github.com>
      
      * 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 <xlchen1291@gmail.com>
      
      * 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 <info@kchr.de>
      Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
      Co-authored-by: default avatarGav Wood <gavin@parity.io>
      Co-authored-by: default avatarIgnacio Palacios <ignacio.palacios.santos@gmail.com>
      Co-authored-by: default avatarBryan Chen <xlchen1291@gmail.com>
      Co-authored-by: default avatarjoepetrowski <joe@parity.io>
      c63c5229
  15. Oct 15, 2021
  16. Oct 11, 2021
  17. Sep 16, 2021
    • Chevdor's avatar
      ci: add quick-check with rustfmt (#615) · 6b20f7a2
      Chevdor authored
      
      * ci: add quick-check with clippy and rustfmt
      
      * chore: rustfmt round
      
      * chore: set the same rustfmt config than substrate
      
      * chore: fix formatting
      
      * cI: remove clippy
      
      * ci: switch to nightly for the checks
      
      * ci: fix toolchains and naming
      
      * ci: Limit the check to formatting
      
      * chore: fix formatting
      
      * Update .rustfmt.toml
      
      * Update .rustfmt.toml
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      6b20f7a2
  18. Jun 01, 2021
    • Gavin Wood's avatar
      Add Statemint (#452) · eaa9f646
      Gavin Wood authored
      
      * Add Statemint
      
      * Versioning.
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Benchmarking
      
      * kick patch (paritytech/statemin#88)
      
      * Westmint Chain Spec (paritytech/statemint#90)
      
      * Tidy the common .toml
      
      * Update weights
      
      * add westmint sudo key comment
      
      * Port consensus stuff
      
      * fix typo
      
      * fix typo ... again
      
      * Recognise Westmint
      
      Co-authored-by: default avatarAlexander Popiak <alexander.popiak@parity.io>
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      eaa9f646