Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to polkadot 0.9.34 #225

Merged
merged 72 commits into from
Jan 24, 2023
Merged

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    e7cb51b View commit details
    Browse the repository at this point in the history
  2. Fix typo (#12680)

    sorpaas authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    112468e View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Move WeightCounter to sp-weights (#12603)

    * Move WeightCounter to sp_weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Rename to WeightMeter and test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix pallet-scheduler for new usage
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update primitives/weights/src/weight_meter.rs
    
    Co-authored-by: David <dvdplm@gmail.com>
    
    * More tests for can_accrue
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove defensive_accrue and fixup consumed_ratio
    
    I dont think there is a good use-case for defensive_accrue
    without saturation. Only in tests maybe, will remove for now
    until we have a use-case.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: David <dvdplm@gmail.com>
    Co-authored-by: Gavin Wood <gavin@parity.io>
    3 people authored Nov 11, 2022
    Configuration menu
    Copy the full SHA
    7763a32 View commit details
    Browse the repository at this point in the history
  2. Allow other pallets to check asset ids. (#12666)

    * Make it easier for other pallets to check asset ids.
    
    * Avoid boxing
    
    * cargo fmt
    gilescope authored Nov 11, 2022
    Configuration menu
    Copy the full SHA
    b042ebd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67e3f9b View commit details
    Browse the repository at this point in the history
  4. Safe TreeRoute constructor (#12691)

    * Safe TreeRoute constructor
    * Remove test duplicate
    * Better tree route error info
    davxy authored Nov 11, 2022
    Configuration menu
    Copy the full SHA
    e6768a3 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. New root_testing pallet (#12451)

    * Move fill_block to RootOffences
    
    * docs
    
    * new pallet
    
    * new line
    
    * fix
    
    * Update frame/root-testing/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/root-testing/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update bin/node/runtime/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/root-testing/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/root-testing/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/root-testing/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fixes
    
    * problem solved
    
    * revert
    
    * fix dependency
    
    * hopefully making the CI happy
    
    * ...
    
    * dummy call
    
    * remove dummy
    
    * fix warning
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Szegoo and bkchr authored Nov 13, 2022
    Configuration menu
    Copy the full SHA
    3e71d60 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. [ci] Add DAG for build-rustdoc and check-dependent-project (#12687)

    * [ci] Debug ci runner
    
    * try gha
    
    * allow mac jobs fail
    
    * add dags
    
    * install protoc
    
    * fix protobuf name
    
    * fix dags
    
    * remove allow fail for mac jobs
    
    * remove gha
    
    * adjust cargo-check-macos
    alvicsam authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    59da38b View commit details
    Browse the repository at this point in the history
  2. Collective: Benchmark with greater MaxProposals (#12454)

    * Collective: Benchmark with greated
    
    * fix
    
    * remove bs
    
    * id_to_remark_data
    
    * fix
    
    * remove hardcoded
    
    * clean up
    
    * simplify
    
    * questionable renaming
    
    * better variable name
    
    * better solution
    
    * no need for large length
    
    * better solution
    
    * Update frame/collective/src/benchmarking.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix
    
    * test
    
    * remove test
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Szegoo and ggwpez authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    940a458 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    65a8990 View commit details
    Browse the repository at this point in the history
  2. Make public is_passing and ReferendumStatus (#12667)

    * init
    
    * clean
    
    * remove manual getter for ReferendumStatus in favor of changing pub crate to pub for ReferendumStatus DecidingStatus Deposit types
    
    * rm status getters because fields are pub now
    4meta5 authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    c067438 View commit details
    Browse the repository at this point in the history
  3. Asset Pallet: Support repeated destroys to safely destroy large asset…

    …s (#12310)
    
    * Support repeated destroys to safely destroy large assets
    
    * require freezing accounts before destroying
    
    * support only deleting asset as final stage when there's no assets left
    
    * pre: introduce the RemoveKeyLimit config parameter
    
    * debug_ensure empty account in the right if block
    
    * update to having separate max values for accounts and approvals
    
    * add tests and use RemoveKeyLimit constant
    
    * add useful comments to the extrinsics, and calculate returned weight
    
    * add benchmarking for start_destroy and finish destroy
    
    * push failing benchmark logic
    
    * add benchmark tests for new functions
    
    * update weights via local benchmarks
    
    * remove extra weight file
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Update frame/assets/src/types.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * effect some changes from codereview
    
    * use NotFrozen error
    
    * remove origin checks, as anyone can complete destruction after owner has begun the process; Add live check for other extrinsics
    
    * fix comments about Origin behaviour
    
    * add AssetStatus docs
    
    * modularize logic to allow calling logic in on_idle and on_initialize hooks
    
    * introduce simple migration for assets details
    
    * reintroduce logging in the migrations
    
    * move deposit_Event out of the mutate block
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    
    * Update frame/assets/src/migration.rs
    
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    
    * move AssetNotLive checkout out of the mutate blocks
    
    * rename RemoveKeysLimit to RemoveItemsLimit
    
    * update docs
    
    * fix event name in benchmark
    
    * fix cargo fmt.
    
    * fix lint in benchmarking
    
    * Empty commit to trigger CI
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * effect change suggested during code review
    
    * move limit to a single location
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * rename events
    
    * fix weight typo, using rocksdb instead of T::DbWeight. Pending generating weights
    
    * switch to using dead_account.len()
    
    * rename event in the benchmarks
    
    * empty to retrigger CI
    
    * trigger CI to check cumulus dependency
    
    * trigger CI for dependent cumulus
    
    * Update frame/assets/src/migration.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * move is-frozen to the assetStatus enum (#12547)
    
    * add pre and post migration hooks
    
    * update do_transfer logic to add new assert for more correct error messages
    
    * trigger CI
    
    * switch checking AssetStatus from checking Destroying state to checking live state
    
    * fix error type in tests from Frozen to AssetNotLive
    
    * trigger CI
    
    * change ensure check for fn reducible_balance()
    
    * change the error type to Error:<T,I>::IncorrectStatus to be clearer
    
    * Trigger CI
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    4 people authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    a0ab42a View commit details
    Browse the repository at this point in the history
  4. seal_reentrant_count returns contract reentrant count (#12695)

    * Add logic, test, broken benchmark
    
    * account_entrance_count
    
    * Addressing comments
    
    * Address @agryaznov's comments
    
    * Add test for account_entrance_count, fix ci
    
    * Cargo fmt
    
    * Fix tests
    
    * Fix tests
    
    * Remove delegated call from test, address comments
    
    * Minor fixes and indentation in wat files
    
    * Update test for account_entrance_count
    
    * Update reentrant_count_call test
    
    * Delegate call test
    
    * Cargo +nightly fmt
    
    * Address comments
    
    * Update reentrant_count_works test
    
    * Apply weights diff
    
    * Add fixture descriptions
    
    * Update comments as suggested
    
    * Update reentrant_count_call test to use seal_address
    
    * add missing code
    
    * cargo fmt
    
    * account_entrance_count -> account_reentrance_count
    
    * fix tests
    
    * fmt
    
    * normalize signatures
    
    Co-authored-by: yarikbratashchuk <yarik.bratashchuk@gmail.com>
    Artemka374 and yarikbratashchuk authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    cd30493 View commit details
    Browse the repository at this point in the history
  5. Assets Pallet: reintroduce fungibles::Destroy trait (#12708)

    * update docs formatting
    
    * reintroduce the destroy trait
    
    * copy changes from original PR
    
    * remove witness
    
    * Trigger CI
    
    * Trigger CI
    tonyalaribe authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    eb1a2a8 View commit details
    Browse the repository at this point in the history
  6. release sp-core 7.0.0 and sp-runtime 7.0.0 (#12599)

    * chore(release): sp-core v7.0.0
    
    * chore(release): sp-runtime v7.0.0
    
    * fix bad merge
    niklasad1 authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    108d8ee View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Release sp-keyring and pallet-contracts-primitives 7.0.0 (#12716)

    * Bump sp-keyring
    
    * Bump pallet-contracts-primitives
    
    * Cargo.lock
    ascjones authored Nov 16, 2022
    Configuration menu
    Copy the full SHA
    38f473b View commit details
    Browse the repository at this point in the history
  2. Fix cargo check for pallet-contracts-proc-macro (#12706)

    * fix `cargo check` for pallet-contracts-proc-macro
    
    * add test for cargo-check of pallet-contracts-proc-macro
    
    * remove cargo-check-contracts-proc-macro
    
    https://github.com/paritytech/substrate/pull/12706/files#r1022783937
    joao-paulo-parity authored Nov 16, 2022
    Configuration menu
    Copy the full SHA
    b8ba481 View commit details
    Browse the repository at this point in the history
  3. [ci] Improve pipeline stopper (#12717)

    * [ci] Improve pipeline stopper
    
    * break test-linux-stable 1/3
    
    * break test-linux-stable 2/3
    
    * break test-linux-stable 3/3
    
    * break cargo-check-benches 1/2
    
    * break cargo-check-benches 2/2
    
    * fix benches
    alvicsam authored Nov 16, 2022
    Configuration menu
    Copy the full SHA
    0699880 View commit details
    Browse the repository at this point in the history
  4. sc-chainspec: Switch to assimilate_storage (#12720)

    Before it was using `build_storage` and `assimilate_storage` was returning an error. However, there
    was no real reason for `assimilate_storage` to return an error. This pr implements
    `assimilate_storage` and uses the default `build_storage` of the trait.
    bkchr authored Nov 16, 2022
    Configuration menu
    Copy the full SHA
    a7ba55d View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. [Cleanup] Remove obsolete event from fast-unstake (#12725)

    Trivial, just removing unused code.
    ruseinov authored Nov 17, 2022
    Configuration menu
    Copy the full SHA
    35170c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4baabe4 View commit details
    Browse the repository at this point in the history
  3. Add event testing example to pallet template (#12722)

    Add an example of how to test for events into the example pallet. Right now, the information is pretty hard to find without looking into pallet tests or finding some particular posts on the stackoverflow.
    elv-nate authored Nov 17, 2022
    Configuration menu
    Copy the full SHA
    0dc5358 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Remove the wasmtime feature flag (#12684)

    * Remove the `wasmtime` feature flag
    
    * rustfmt
    koute authored Nov 18, 2022
    Configuration menu
    Copy the full SHA
    a73a35e View commit details
    Browse the repository at this point in the history
  2. Fix the light client protocol protobuf schema (#12732)

    * Fix the light client protocol protobuf schema
    
    * Add another test
    
    * Remove unused protobuf struct
    
    * Ok you have to use the nightly rustfmt apparently
    tomaka authored Nov 18, 2022
    Configuration menu
    Copy the full SHA
    7cfaa03 View commit details
    Browse the repository at this point in the history
  3. Update template to remove clippy warnings (#12670)

    * Update template to remove clippy warnings
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
    
    * Update templates from child project
    
    This should remove clippy warnings on generated files
    
    * Update after review
    
    * Update frame-weight-template.hbs
    
    Commit suggestion
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
    
    * Rerun linter on linked project
    
    Updates from child project
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
    
    Co-authored-by: command-bot <>
    simonsso authored Nov 18, 2022
    Configuration menu
    Copy the full SHA
    c290950 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Check all crates (#12709)

    * check all crates individually
    
    It's relevant to check workspace crates individually because otherwise their compilation problems
    due to feature misconfigurations won't be caught, as exemplified by
    paritytech/substrate#12705
    
    * adapt to lack of multiple macos runners
    
    paritytech/substrate#12709 (comment)
    
    * fix cancel-pipeline-cargo-check-each-crate-macos
    
    * fix cargo-check-each-crate-macos again
    
    * time command execution
    
    * fix YAML anchors
    
    * add explanation for rounding division
    
    * ensure the minimum of one crate per group
    
    * collect artifacts for pipeline stopper
    
    * revert hardcoded crates_per_group
    
    * re-add crates_per_group=1
    joao-paulo-parity authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    f80c370 View commit details
    Browse the repository at this point in the history
  2. client/beefy: persist voter state (#12712)

    * client/beefy: prepare worker for persisting state
    
    * client/beefy: persist voter state
    
    * client/beefy: initialize persistent state
    
    * client/beefy: try to vote from the very beginning
    
    Now that voter is initialized from persistent state, it makes
    sense that it can attempt voting right away. This also helps
    the genesis case when we consider block `One` as mandatory.
    
    * client/beefy: add tests for voter state db
    * client/beefy: persist voter state as soon as initialized
    * client/beefy: make sure min-block-delta is at least 1
    * client/beefy: persist state after voting
    
    Persist state after handling self vote to avoid double voting in case
    of voter restarts.
    
    * client/beefy: persist state after handling mandatory block vote
    
    For mandatory blocks we want to make sure we're not losing votes
    in case of crashes or restarts, since voter will not make further
    progress without finalizing them.
    
    * frame/beefy: use GENESIS_AUTHORITY_SET_ID on pallet genesis
    
    * client/beefy: initialize voter at either genesis or last finalized
    To guarantee unbroken chain of mandatory blocks justifications, voter
    will always resume from either last BEEFY-justified block or
    `pallet-beefy` genesis, whichever is more recent.
    
    Initialization walks back the chain from latest GRANDPA finalized
    block looking for one of the above. Along the way, it also records
    and enqueues for processing any BEEFY mandatory blocks that have
    been already GRANDPA finalized but not BEEFY finalized.
    
    * client/beefy: decouple voter init from aux db state load
    * client/beefy: fix voter init tests
    * remove debug prints
    * gadget future must be type ()
    * fix init from last justification
    
    Signed-off-by: Adrian Catangiu <adrian@parity.io>
    acatangiu authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    ee9ddf1 View commit details
    Browse the repository at this point in the history
  3. [Fix] Get target count from TargetList instead of storage (#12748)

    Co-authored-by: parity-processbot <>
    ruseinov authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    69662c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Move block/state/warpc sync requests/responses to ChainSync (#12739)

    * Move block/state/warpc sync requests/responses to `ChainSync`
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Apply review suggestions
    
    * cargo-fmt + doc fix
    
    * Fix tests
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    altonen and bkchr authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    6cb4b67 View commit details
    Browse the repository at this point in the history
  2. perf: generate_initial_session_keys: load runtime only if its relevan…

    …t (#12651)
    
    * perf: generate_initial_session_keys: load runtime only if its relevant
    
    * apply review suggestion
    
    * Update primitives/session/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    librelois and bkchr authored Nov 22, 2022
    Configuration menu
    Copy the full SHA
    06d7a23 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. Prevent epochs pruning while finalizing blocks on epoch 0 (#12758)

    * Prevent epochs pruning while on epoch 0
    davxy authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    431429f View commit details
    Browse the repository at this point in the history
  2. return error instead of expect in feasibility_check (#12745)

    * Update lib.rs
    
    * make defensive
    
    * fmt
    
    * fix batching migration
    
    * fix
    
    * fix
    
    Co-authored-by: parity-processbot <>
    kianenigma authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    269c799 View commit details
    Browse the repository at this point in the history
  3. BEEFY: optimize voter event loop for fewer 'active' wakeups (#12760)

    * client/beefy: remove high-freq network events from main loop
    
    Network events are many and very frequent, remove the net-event-stream
    from the main voter loop and drastically reduce BEEFY voter task
    'wakeups'.
    
    Instead have the `GossipValidator` track known peers as it already
    has callbacks for that coming from `GossipEngine`.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    08d1b2c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Sort crates before splitting them into groups (+ some improvements) (…

    …#12755)
    
    * sort crates before splitting them into groups
    
    this is useful so that crates always get routed to a specific group for a given version of the source code, which means that jobs for each batch can be reliably retried individually
    
    * more verbose output
    
    * misc improvements
    
    * put uniq after sort
    
    uniq filters by adjacent lines
    
    * shellcheck
    
    * rm useless backlashes
    
    * handle edge case of no crates detected
    joao-paulo-parity authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    4e3a12b View commit details
    Browse the repository at this point in the history
  2. contracts: Replace sp-sandbox and wasmi-validation by newest wasm…

    …i (#12501)
    
    * Replace sp-sandbox and wasmi-validation by just wasmi
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Re-check original code on re-instrumentation
    
    * Fix clippy
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Freyler <robin.freyler@gmail.com>
    
    * Replace wasmi by ::wasmi
    
    * Bump wasmi to 0.20
    
    * Add explanation for `unreachable`
    
    * Change proof
    
    * Fixup master merge
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Fixup naming inconsistencies introduced by reentrancy PR
    
    * Fix `scan_imports` docs
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Fixup suggestions
    
    * Remove unnecessary &mut
    
    * Fix test
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Fix benchmark merge fail
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Fix docs as suggested by code review
    
    * Improve docs for `CodeRejected`
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Fix logic bug when setting `deterministic_only`
    
    * Don't panic when module fails to compile
    
    * Apply suggestions from code review
    
    Co-authored-by: Robin Freyler <robin.freyler@gmail.com>
    
    Co-authored-by: command-bot <>
    Co-authored-by: Robin Freyler <robin.freyler@gmail.com>
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    3 people authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    f465fee View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. update DefaultNoBound derive macro (#12723)

    fix derive for empty enums
    
    Update derive & ui tests
    
    clean up
    
    Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    rename variable
    
    formatting & clippy
    
    formatting
    
    Co-authored-by: parity-processbot <>
    benluelo authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    d122169 View commit details
    Browse the repository at this point in the history
  2. Fix rustdoc (#12777)

    * Fix table formatting
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix sp-runtime-interface table
    
    Using HTML now since multi-line tables are not a thing and fmt
    destroys them.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * More rustdoc fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tags
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * More fixes...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use Bastis patch
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add more backticks
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * change ci image
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: alvicsam <alvicsam@gmail.com>
    3 people authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    ab6142f View commit details
    Browse the repository at this point in the history
  3. Allow Alliance Fellows to Give Up Voting Rights (#12730)

    * allow fellows to abdicate voting rights
    
    * rename founders to founding fellows, give equal power
    
    * Drop FoundingFellow role and veto call (#12762)
    
    * drop FoundingFellow role
    
    * drop veto call
    
    * Storage migration to remove founder role (#12766)
    
    * storage migration to remove founder role
    
    * skip migration if no members
    
    * truncate the final fellows set if overflows
    
    * change log - action order
    
    * MemberAbdicated -> FellowAbdicated
    
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    joepetrowski and muharem authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    3e91823 View commit details
    Browse the repository at this point in the history
  4. Add total nb to trie migration rpc (#12770)

    * Add total nb to trie migration rpc
    
    * fix and format
    
    * Use struct instead of tuple
    
    * fixes
    
    Co-authored-by: parity-processbot <>
    cheme authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    a1dc9d8 View commit details
    Browse the repository at this point in the history
  5. add EnsureWithSuccess (#12775)

    * add EnsureWithSuccess
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * add docs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    xlc and bkchr authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    d11846b View commit details
    Browse the repository at this point in the history
  6. Explicitly unset RUSTC_WRAPPER=sccache environment variable (#12771)

    * CI: Explicitly unset RUSTC_WRAPPER=sccache environment variable
    
    * Try with `rusty-cachier` disabled
    
    * Re-enable `rusty-cachier` and try with the staging image
    
    * Bring back `production` image
    
    * Sort crates before splitting them into groups (+ some improvements) (#12755)
    
    * sort crates before splitting them into groups
    
    this is useful so that crates always get routed to a specific group for a given version of the source code, which means that jobs for each batch can be reliably retried individually
    
    * more verbose output
    
    * misc improvements
    
    * put uniq after sort
    
    uniq filters by adjacent lines
    
    * shellcheck
    
    * rm useless backlashes
    
    * handle edge case of no crates detected
    
    * Revert "Sort crates before splitting them into groups (+ some improvements) (#12755)"
    
    This reverts commit fde839183a12a2bd51efc7143ebcddeed81ea6fa.
    
    Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com>
    rcny and joao-paulo-parity authored Nov 25, 2022
    Configuration menu
    Copy the full SHA
    39ef178 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. contracts: Don't put unstable functions in special module (#12781)

    * Don't put unstable functions in special module
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * cargo fmt
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    athei and agryaznov authored Nov 27, 2022
    Configuration menu
    Copy the full SHA
    2eb5128 View commit details
    Browse the repository at this point in the history
  2. ed25519_verify: Support using dalek for historical blocks (#12661)

    * ed25519_verify: Support using dalek for historical blocks
    
    The switch from `ed25519-dalek` to `ed25519-zebra` was actually a breaking change. `ed25519-zebra`
    is more permissive. To support historical blocks when syncing a chain this pull request introduces
    an externalities extension `UseDalekExt`. This extension is just used as a signaling mechanism to
    `ed25519_verify` to use `ed25519-dalek` when it is present. Together with `ExtensionBeforeBlock` it
    can be used to setup a node in way to sync historical blocks that require `ed25519-dalek`, because
    they included a transaction that verified differently as when using `ed25519-zebra`.
    
    This feature can be enabled in the following way. In the chain service file, directly after the
    client is created, the following code should be added:
    
    ```
    use sc_client_api::ExecutorProvider;
    client.execution_extensions().set_extensions_factory(
    	sc_client_api::execution_extensions::ExtensionBeforeBlock::<Block, sp_io::UseDalekExt>::new(BLOCK_NUMBER_UNTIL_DALEK_SHOULD_BE_USED)
    );
    ```
    
    * Fix doc
    
    * More fixes
    
    * Update client/api/src/execution_extensions.rs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * Fix merge and warning
    
    * Fix docs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    bkchr and andresilva authored Nov 27, 2022
    Configuration menu
    Copy the full SHA
    a92005a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. client/beefy: fix on-demand justifications sync for old blocks (#12767)

    * client/beefy: fix on-demand justif sync for old blocks
    
    When receiving BEEFY justifications for old blocks the state might
    be pruned for them, in which case justification verification fails
    because BEEFY validator set cannot be retrieved from runtime state.
    
    Fix this by having the voter give the validator set to the
    `OnDemandJustificationsEngine` as request information. On receiving
    a BEEFY justification for requested block, the provided validator
    set will be used to validate the justification.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * impl review suggestions
    
    * client/beefy: fail initialization if state unavailable
    
    * beefy: remove spammy log
    
    Signed-off-by: acatangiu <adrian@parity.io>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    acatangiu and bkchr authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    d833e15 View commit details
    Browse the repository at this point in the history
  2. Remove Default, HasCompact, and TypeInfo trait bounds on AssetId (#12…

    …740)
    
    * Remove Default, HasCompact, and TypeInfo trait bounds on AssetId
    
    * don't use default in benchmarking
    
    * add helper trait
    
    * add helper to assets tx payment test
    
    * docs fixes
    
    * i'm confused
    
    * aha, cargo
    
    * move affected dispatchable calls into new indices
    
    * Helper -> BenchmarkHelper
    
    * benchmark use of helper
    
    * actually, don't break every call interface
    
    * use into on AssetIdParameter
    
    * Remove From from AssetIdParameter and use it in BenchmarkHelper
    
    * include from
    
    Co-authored-by: parity-processbot <>
    joepetrowski authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    a0e00dc View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. pallet-mmr: move offchain logic to client-side gadget (#12753)

    * Move MMR utils methods from pallet to primitives
    
    Signed-off-by: Serban Iorga <serban@parity.io>
    
    * Add method to MmrApi
    
    * Move forks expanding logic from babe to primitives
    
    * Implement MMR gadget
    
    * Remove prunning logic from the MMR pallet
    
    * Code review changes: 1st iteration
    
    * Replace MaybeCanonEngine with CanonEngineBuilder
    
    * fix mmr_leaves_count() for kitchen sink demo
    
    * Update client/merkle-mountain-range/src/canon_engine.rs
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    
    * Code review changes: 2nd iteration
    
    * fix INDEXING_PREFIX
    
    * impl review comments
    
    * add documentation and minor rename
    
    Signed-off-by: Serban Iorga <serban@parity.io>
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    serban300 and acatangiu authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    9ce75af View commit details
    Browse the repository at this point in the history
  2. Require rust-features check (#12796)

    * Typo
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Move rust feature check to docker and require not to fail
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add .docker-env
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Move test-rust-features check back to kubernetes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Nov 29, 2022
    Configuration menu
    Copy the full SHA
    59ca8df View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. MMR: move RPC code from frame/ to client/ (#12805)

    * mmr: move MMR RPC from frame/ to client/
    
    Signed-off-by: Adrian Catangiu <adrian@parity.io>
    
    * client/mmr: adjust logging levels to avoid spam
    
    * cargo fmt
    
    * remove unused imports
    
    Signed-off-by: Adrian Catangiu <adrian@parity.io>
    acatangiu authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    5c8aa7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    357c363 View commit details
    Browse the repository at this point in the history
  3. sc-transaction-handler: Fix potential crashes on exit (#12807)

    This fixes some potential crashes in the stream handling in `sc-transaction-handler`.
    bkchr authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    cc36931 View commit details
    Browse the repository at this point in the history
  4. Don't announce blocks in `sync_to_tip_when_we_sync_together_with_mult…

    …iple_peers` (#12783)
    
    * Fix syncing test
    
    * cargo fmt
    
    * Fix test
    altonen authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    2ed4058 View commit details
    Browse the repository at this point in the history
  5. contracts: Replace cargo feature unstable-interface with config (#1…

    …2787)
    
    * Replace cargo feature with config
    
    * Update frame/contracts/proc-macro/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    athei and agryaznov authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    982f599 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Bounties use SpendOrigin (#12808)

    * Bounties use SpendOrigin
    
    * Fix tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * tests: increase spend limits
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix benchmarks
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix child-bounties tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_bounties
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: command-bot <>
    gavofyork and ggwpez authored Dec 1, 2022
    Configuration menu
    Copy the full SHA
    009c872 View commit details
    Browse the repository at this point in the history
  2. Reduce provisioner work (#12749)

    * Move create_inherent_data call to use side
    
    * Make provide_inherent_data async
    
    * Fix tests
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Log errors
    
    * Fix test
    
    * Fix test
    
    * fix
    
    * Deduplicate test code
    
    * fix
    
    * flag
    
    * Update client/consensus/slots/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Revert "Deduplicate test code"
    
    This reverts commit ba46adbe089329c78cd69ccdb08e27ed67bd77cf.
    
    * Fix test
    
    * remove commented out code
    
    * minor to start CI run
    
    * start CI
    
    * Update client/consensus/slots/src/lib.rs
    
    Co-authored-by: Marcin S. <marcin@bytedude.com>
    
    * Apply PR suggestions
    
    * Apply PR suggestions
    
    * Update client/consensus/slots/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * minor
    
    * kickoff CI
    
    * PR suggestions
    
    * Compute remaining duration instead of using slot_info.duration
    
    * Don't rely on sub implementation for Instant
    
    * Apply PR suggestions
    
    * Use saturating_duration_since
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: Marcin S. <marcin@bytedude.com>
    Co-authored-by: parity-processbot <>
    3 people authored Dec 1, 2022
    Configuration menu
    Copy the full SHA
    5ae8a3b View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Fix quantization in referenda alarm (#12815)

    * Fix quantization in referenda alarm
    
    * Formatting
    
    * alarm interval, test (#12818)
    
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    gavofyork and muharem authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    c17c7d8 View commit details
    Browse the repository at this point in the history
  2. Add Weightless benchmark bailing (#12829)

    * Calls can be 'Weightless'
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix (child)-bounties benches
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Just use one dummy value
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * 🤦
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Dec 2, 2022
    Configuration menu
    Copy the full SHA
    34900ca View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2022

  1. API for registering inactive funds (#12813)

    * API for registering inactive funds
    
    * Build fixes.
    
    * Update frame/treasury/src/lib.rs
    
    * Fix
    
    * Fixes
    
    * Fixes
    gavofyork authored Dec 3, 2022
    Configuration menu
    Copy the full SHA
    9812205 View commit details
    Browse the repository at this point in the history
  2. Tweak to active total migrations (#12832)

    * Tweak to active total migrations
    
    * Formatting
    
    * Expose trait
    
    * Remove empty pre_ and post_upgrade hooks.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    gavofyork and ggwpez authored Dec 3, 2022
    Configuration menu
    Copy the full SHA
    1a0af36 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2022

  1. frame-executive: Reject invalid inherents in the executive (#12365)

    * frame-executive: Reject invalid inherents in the executive
    
    We already had support for making a block fail if an inherent returned, but it was part of the
    signed extension `CheckWeight`. Rejecting blocks with invalid inherents should happen on the
    `frame-executive` level without requiring any special signed extension. This is crucial to prevent
    any kind of spamming of the network that could may happen with blocks that include failing inherents.
    
    * FMT
    
    * Update frame/executive/src/lib.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * Update primitives/runtime/src/transaction_validity.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    bkchr and KiChjang authored Dec 4, 2022
    Configuration menu
    Copy the full SHA
    cb3eaf2 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Upgrade tokio to 1.22.0 and replace async-std with tokio (#12646)

    * Replace deprecated libp2p feature specs with correct ones
    
    * Bump tokio to 1.21.2
    
    * Replace async-std libp2p primitives with tokio ones
    
    * minor: rustfmt
    
    * Fix TestNet to run initialization in the tokio context
    
    * Convert telemetry test from async-std to tokio
    
    * Convert notifications tests from async-std to tokio
    
    * Convert chain sync tests from async-std to tokio
    
    * Ditch async-std completely
    
    * Make executor mandatory
    
    * Bump tokio to 1.22.0
    
    * minor: rustfmt
    
    * Explicitly use tokio runtime in tests
    
    * Move more tests to explicit tokio runtime
    
    * Explicitly set multithreaded runtime in tokio test
    
    * minor: rustfmt
    
    * minor: fix comment
    
    * Replace async-std with tokio in MMR tests
    dmitry-markin authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    2bde8c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62a85fb View commit details
    Browse the repository at this point in the history
  3. Non-Interactive Staking (#12610)

    * Improve naming.
    
    * More improvements to naming
    
    * Fungible counterpart
    
    * Shared pot instead of reserve
    
    * Transferable receipts
    
    * Better naming
    
    * Use u128 for counterpart
    
    * Partial thawing
    
    * Docs
    
    * Remove AdminOrigin
    
    * Integrate into Kitchen Sink
    
    * Thaw throttling
    
    * Remove todo
    
    * Docs
    
    * Fix benchmarks
    
    * Building
    
    * Tests work
    
    * New benchmarks
    
    * Benchmarking tests
    
    * Test new defensive_saturating_* functions
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Formatting
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Apply suggestions from code review
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Events added
    
    * Fix kitchensink
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
    
    * Review niggles
    
    * Remove genesis build requirements
    
    * Grumbles
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update primitives/runtime/src/traits.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Formatting
    
    * Fixes
    
    * Fix node genesis config
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix node chain specs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use free asset ID as counterpart
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Account for rounding errors in fund_deficit bench
    
    Relaxes the check for the NIS account balance in the fund_deficit bench
    from equality from to checking for 99.999% equality. The exact deviation
    for the kitchensink runtime config is 1.24e-10 percent but could vary if
    the config is changed.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix
    
    * Rename
    
    * Fixes
    
    * Fixes
    
    * Formatting
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    4 people authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    0ab43bc View commit details
    Browse the repository at this point in the history
  4. pallet-balances: Fix inactive funds migration (#12840)

    * pallet-balances: Fix inactive funds migration
    
    Fixes the inactive funds migration. It was missing to set the `storage_version` attribute for the
    `Pallet` struct. Besides that it also removes the old `StorageVersion` representation and adds support
    for instances of pallet-balances.
    
    * Fix test
    bkchr authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    2704ab3 View commit details
    Browse the repository at this point in the history
  5. client/beefy: add some bounds on enqueued votes (#12562)

    Introduce bounds on the justifications and votes queues, so they do not grow forever if voter cannot make progress and consume from them. When bounds are hit, new votes or justifications get dropped.
    
    * use a BTreeMap and check for bounds
    
    * cargo fmt
    
    * use usize
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    dharjeezy and acatangiu authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    05ebde1 View commit details
    Browse the repository at this point in the history
  6. OpenGov: Abstentions (#12842)

    * OpenGov: Abstentions
    
    * Tests
    gavofyork authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    404b8c9 View commit details
    Browse the repository at this point in the history
  7. Add with_weight extrinsic (#12848)

    * add with weight extrinsic
    
    * improve test
    shawntabrizi authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    b1396f7 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. [contracts] Add per local weight for function call (#12806)

    * Add per local weight for function call
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Update frame/contracts/src/benchmarking/mod.rs
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * apply suggestions from code review
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * Update frame/contracts/src/benchmarking/mod.rs
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * tune the benchmark
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    * fix benches
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    Co-authored-by: command-bot <>
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    agryaznov and athei authored Dec 6, 2022
    Configuration menu
    Copy the full SHA
    fa42631 View commit details
    Browse the repository at this point in the history
  2. contracts: Add instantiation_nonce API (#12800)

    * Add `instantiation_nonce` API
    
    * Fixes for tests
    
    * Update frame/contracts/src/schedule.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    Co-authored-by: command-bot <>
    athei and agryaznov authored Dec 6, 2022
    Configuration menu
    Copy the full SHA
    234749e View commit details
    Browse the repository at this point in the history
  3. Rename some crates for publishing to crates.io (#12837)

    * rename some crates for publishing to crates.io
    
    * s/remote-ext/frame-remote-externalities
    joao-paulo-parity authored and coderobe committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    1cc97dd View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Configuration menu
    Copy the full SHA
    90eb84a View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    b2bbeb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89ebc92 View commit details
    Browse the repository at this point in the history