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

Mangata dev v0.9.40 #90

Merged
merged 535 commits into from
May 25, 2023
Merged

Mangata dev v0.9.40 #90

merged 535 commits into from
May 25, 2023
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    cbc525f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30641ee View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2023

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

Commits on Jan 16, 2023

  1. pallet-offences-benchmarking: Box events in verify (paritytech#13151)

    * pallet-offences-benchmarking: Box events in verify
    
    Events in frame are represented by an enum in the pallet and the runtime. The size of an enum in
    Rust depends on the size of biggest variant. This means we always need to allocate memory for the
    biggest variant when allocating memory for an event. The offences benchmarking is verifying the
    benchmarking results by checking the events. To check the events it is generating all the expected
    events. With the recent changes in Polkadot the events are too big and lead to issues when running
    this verify functions. The solution is to box each event, as the vector holding all the events will
    then only need to hold fat pointers * expected events, instead of size_of(event) * expected events.
    This issue isn't a problem in production, as we never read the events on chain. When we are reading
    the events, it is done in an offchain context and they are only decoded one by one.
    
    Besides that this also enables the benchmarking verification for everyone running these benchmarks.
    
    * FMT
    
    * Disable checking again
    bkchr authored Jan 16, 2023
    Configuration menu
    Copy the full SHA
    70f2e36 View commit details
    Browse the repository at this point in the history
  2. More improvements for the crate publishing pipeline (paritytech#13153)

    * more improvements for the crate publishing pipeline
    
    * move default definitions to the publish-crates script
    
    * add script to check the crate publishing pipeline at the start
    
    * fix yaml references
    
    * move more variables to .crates-publishing-pipeline
    
    * separate .crates-publishing-pipeline from .crates-publishing-variables
    
    * clean up redundant and unused code
    joao-paulo-parity authored Jan 16, 2023
    Configuration menu
    Copy the full SHA
    ea00240 View commit details
    Browse the repository at this point in the history
  3. txpool: don't maintain the pool during major sync (paritytech#13004)

    * txpool: don't maintain the pool during major sync
    
    Fix shall prevent from wasting the CPU during the major sync. No actions
    are actually required in transaction pool during the major sync.
    
    Fixes: paritytech#12903
    
    * passing sync_oracle to maintain method
    
    * fixed: builder, txpool tests
    
    * do not maintain tx-pool if node gone out of sync
    
    * EnactmentAction: all logic moved to EnactmentState
    
    Tests to be done.
    
    * maintain guard logic moved directly to MaintainedTransactionPool
    
    * minor fixes
    
    * EnactmentAction: all logic moved to EnactmentState (again)
    
    * SyncOracle fixes here and there
    
    * Update client/transaction-pool/src/enactment_state.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/transaction-pool/src/enactment_state.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * sync_oracle removed
    
    * spelling + fmt + doc
    
    * Review suggestions applied
    
    * log::info -> debug
    
    * Update client/transaction-pool/src/enactment_state.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    michalkucharczyk and bkchr authored Jan 16, 2023
    Configuration menu
    Copy the full SHA
    7ff6fa2 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. [client/network] Add support for /wss addresses (paritytech#13152)

    * join dns with another instance of WS transport
    
    Secure Websocket transport needs unresolved addresses, so we join DNS transport with
    yet another instance of Websocket transport.
    
    Closes paritytech#12024
    
    * WSS transport itself need to wrap DNS transport
    
    in order to resolve addresses before passing them down to TCP transport
    
    Refs libp2p/rust-libp2p#3330
    
    * reverse order
    
    * simplify code: remove WS from WSS inner DNS transport
    
    * remove the 2nd instance of WS transport
    melekes authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2893730 View commit details
    Browse the repository at this point in the history
  2. NIS should retain funds in reserve (paritytech#12928)

    * Keep funds with receipt holder
    
    * Counterpart is optional
    
    * Use named reserves
    
    * Tests
    
    * Benchmarks
    
    * Fixes
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * Update frame/nis/src/lib.rs
    
    * Update frame/nis/src/lib.rs
    
    * Update frame/nis/src/tests.rs
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nis/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nis/src/lib.rs
    
    * Update frame/nis/src/lib.rs
    
    * Update frame/nis/src/lib.rs
    
    * Update frame/nis/src/lib.rs
    
    * Formatting
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    3 people authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    6bac243 View commit details
    Browse the repository at this point in the history
  3. Refactory of next_slot method (paritytech#13155)

    Refactory of `next_slot` method
    
    * Prevents slot worker exit if inherent data provider creation fails
    * Failure is not possible anymore
    * Fix potential failure after warp-sync where block headers of not already downloaded blocks are used by the inherent data provider
    davxy authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    414caff View commit details
    Browse the repository at this point in the history
  4. Breakout mock runtimes to separate files (paritytech#13150)

    * break out moch runtimes to separate files
    
    * tranaction-payment: break out tests & mock runtime to separate files
    gilescope authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    f7e53fe View commit details
    Browse the repository at this point in the history
  5. frame-benchmarking: Macros should not force a particular env (parityt…

    …ech#13161)
    
    The macros in frame-benchmarking relied on having all the macros imported, which isn't a behavior
    for a proper macro :D This pr fixes this by making all internal macro usages absolute.
    bkchr authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    42f38db View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Fix the storage_size/state_getStorageSize RPC call (paritytech#13154

    )
    
    * Have `KeyIterator` clone the `prefix` it receives
    
    * Stream keys in `storage_size` RPC and add a runtime limit
    
    * Update client/rpc/Cargo.toml
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/rpc/src/state/utils.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Rename the types to signify that the cancellation is due to a timeout
    
    * Move the test into a `mod tests`
    
    * Add a comment regarding `biased` in `tokio::select`
    
    * Make the `clone` explicit when calling `KeyIterator::{new, new_child}`
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    koute and bkchr authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    cfe9262 View commit details
    Browse the repository at this point in the history
  2. [contracts] Adapt storage reading host functions to Weights V2 (parit…

    …ytech#12976)
    
    * update RuntimeCosts to Weights V2, update tests
    
    * improve docs
    
    * clearer naming and docs to compat_weight helper
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * save before master merge
    
    * HostFnWeights to Weight
    
    * added to_weight! macro
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * RuntimeCosts::ChainExtension to weight_v2
    
    * chain extension to weight v2
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    agryaznov and athei authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    a447f03 View commit details
    Browse the repository at this point in the history
  3. zobmienet tests are not supposed to fail (paritytech#13015)

    * zobmienet tests are not supposed to fail
    
    * Update scripts/ci/gitlab/pipeline/zombienet.yml
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    michalkucharczyk and alvicsam authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    af5a499 View commit details
    Browse the repository at this point in the history
  4. [contracts] Add integrity checks by pallet hook (paritytech#12993)

    * integrity test for MaxCodeLen and CallStack::len()
    
    * integrity test for MaxDebugBufferLen
    
    * addressed review comments
    
    * fix append_debug_buffer()
    
    * ci fix
    
    * updated code_len_limit formula after further discussion
    
    * enlarged mem safe margin after discussion
    
    * +doc to Config trait associated types
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * more lil fixes from code review feedback
    
    * lowered max call depth to satisfy mem limits
    
    * fix node runtime pallet params to satisfy integrity check
    
    * fix max call depth value calc
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    agryaznov and athei authored Jan 18, 2023
    Configuration menu
    Copy the full SHA
    cba5977 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Expose UnknownBlock error via ApiError (paritytech#12707)

    * Expose `UnknownBlock` error via `ApiError`
    
    In [certain cases](https://github.com/paritytech/polkadot/issues/5885) a
    runtime api is called for an unknown block. For example a block which is
    already pruned or on an abandon fork.
    
    In such cases the correct error is returned but it is wrapped in
    `ApiError::Application` and the only way to figure out what is the
    problem is to inspect the actual message in the error. In polkadot for
    example this usually happens when the runtime api version is being
    queried. It's beneficial to be able to clearly separate such errors so i
    that when they occur the client side can handle them more gracefully.
    E.g. log less stressful error message than `State already discarded for
    BlockId` or cancel any pending work related on this block.
    
    * Update primitives/api/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    tdimitrov and bkchr authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    911c9ab View commit details
    Browse the repository at this point in the history
  2. Notification-based block pinning (paritytech#13157)

    * Worker
    
    * Reorganize and unpin onnotification drop
    
    * Pin in state-db, pass block number
    
    * Pin blocks in blockchain db
    
    * Switch to reference counted LRU
    
    * Disable pinning when we keep all blocks
    
    * Fix pinning hint for state-db
    
    * Remove pinning from backend layer
    
    * Improve readability
    
    * Add justifications to test
    
    * Fix justification behaviour
    
    * Remove debug prints
    
    * Convert channels to tracing_unbounded
    
    * Add comments to the test
    
    * Documentation and Cleanup
    
    * Move task start to client
    
    * Simplify cache
    
    * Improve test, remove unwanted log
    
    * Add tracing logs, remove expect for block number
    
    * Cleanup
    
    * Add conversion method for unpin handle to Finalitynotification
    
    * Revert unwanted changes
    
    * Improve naming
    
    * Make clippy happy
    
    * Fix docs
    
    Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
    
    * Use `NumberFor` instead of u64 in API
    
    * Hand over weak reference to unpin worker task
    
    * Unwanted
    
    * &Hash -> Hash
    
    * Remove number from interface, rename `_unpin_handle`, LOG_TARGET
    
    * Move RwLock one layer up
    
    * Apply code style suggestions
    
    * Improve comments
    
    * Replace lru crate by schnellru
    
    * Only insert values for pinned items + better docs
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Improve comments, log target and test
    
    Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    3 people authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    d4384f2 View commit details
    Browse the repository at this point in the history
  3. Make DispatchError impl MEL (paritytech#13169)

    * Make DispatchError impl MEL
    
    * Upgrade SCALE codec to support `codec(skip)` for MEL
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    gavofyork and bkchr authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    0b6aec5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b85d631 View commit details
    Browse the repository at this point in the history
  5. txpool: LOG_TARGET const added (paritytech#13180)

    * txpool: LOG_TARGET const added
    
    part of: paritytech#12873
    
    * LOG_TARGET added to tests mod
    
    * txpool::api for api
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: command-bot <>
    michalkucharczyk and bkchr authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    d7acf9e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Fix potential huge allocation as a result of validate_block output (p…

    …aritytech#13183)
    
    * Fix potential huge allocation as a result of `validate_block` output
    
    * Address review comments; add more tests
    
    * Update client/executor/wasmtime/src/runtime.rs
    
    * Remove unnecessary comments
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    mrcnski and bkchr authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    de943ee View commit details
    Browse the repository at this point in the history
  2. sc-network: Ensure private addresses are disabled if requested (parit…

    …ytech#13185)
    
    When running with `--no-private-ipv4` the node should not trying to connect to any private ip
    addresses. With the switch to libp2p this behavior was broken. Part of this version upgrade was the
    following pr: libp2p/rust-libp2p#2995. This pr changed the default cache
    size of `libp2p-identity` from `0` aka disabled to `100`. Together with our implementation that was
    calling into `identity` to request addresses for a given peer. Before the switch to libp2p 0.50.0
    this was returning zero addresses, but now with the cache enabled it started to return addresses.
    This pr fixes this by only letting discovery return addresses for a peer. It also ensures that we
    filter private addresses if requested. The cache is also disabled to restore the previous caching
    behavior, but it will actually not be called anymore.
    bkchr authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    593c76b View commit details
    Browse the repository at this point in the history
  3. Warn validators with slow hardware (paritytech#12620)

    * move Metric
    
    * run hardware bench if validiator flag is being used
    
    * fix rustdoc & update node-template
    
    * fix
    
    * unused improt
    
    * warn
    
    * move Requirement
    
    * bench_result
    
    * ensure_requirements
    
    * make the code compile
    
    * check if authority
    
    * Update client/sysinfo/src/sysinfo.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * nit fixes
    
    * warning signs
    
    * Update client/sysinfo/src/sysinfo.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Szegoo and ggwpez authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    38ec2d8 View commit details
    Browse the repository at this point in the history
  4. Use year 2023 in the License headers (paritytech#13193)

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    2c16842 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2023

  1. Move slow hardware warning print logic to CLI (paritytech#13198)

    * Move slow hardware warning print logic to CLI
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update client/sysinfo/src/sysinfo.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fmt
    
    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: Bastian Köcher <git@kchr.de>
    ggwpez and bkchr authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    355e4a9 View commit details
    Browse the repository at this point in the history
  2. Fix flaky BABE test (paritytech#13199)

    The `authoring_blocks` test of BABE was calculating the slot based on the timestamp it sometimes
    failed in CI. The problem is that we combine all the notifications and authoring futures in one big
    future. This one big future may first polls one authoring future to build a block. Then it polls all
    notification futures again to import the block. Then some other authoring future is polled and
    builds on the imported block using the same slot and making the import fail. The solution is that we
    just artificially increase the slot to make the test work.
    bkchr authored Jan 21, 2023
    Configuration menu
    Copy the full SHA
    79cb2e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. Add debug info in assert_has_event and assert_last_event (paritytech#…

    …12979)
    
    * improve debug info in assert_has_event and assert_last_event
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    zjb0807 and bkchr authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    1f70226 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. new proc-macro-based benchmarking syntax (paritytech#12924)

    * add stub for new benchmark macro
    
    * benchmark syntax
    
    * add #[extrinsic call] separator
    
    * parse #[benchmark] item as a function
    
    * proper emission of error when #[extrinsic_call] annotation is missing
    
    * clean up
    
    * enclosing module via benchmarks! { } working
    
    * use an attribute macro on the module instead of benchmarks! { }
    
    * cargo fmt
    
    * working component implementation
    
    * WIP
    
    * working
    
    * add syntax for Linear<A, B>
    
    * parsing of param ranges (still need to build tuple though)
    
    * params parsing WIP
    
    * clean up (don't need extrinsic call name)
    
    * use proper Result syntax for BenchmarkDef parsing
    
    * proper parsing of Linear<0, 1> style args
    
    * successfully parse and make use of linear component ranges 💥
    
    * rename support variable => home because eventually will be moved
    
    * compile-time check that param range types implement ParamRange
    
    * switch to using balances as example, failing on instance pallet
    
    * successfully set up __origin and __call with balances 💥
    
    * clean up
    
    * use a module
    
    * don't need a variable for transfer
    
    * rename benchmark_transfer -> transfer because no longer conflicts
    
    * clean up
    
    * working with transfer_increasing_users as well 💥
    
    * re-add BareBlock
    
    * add comments for undocumented structs+functions+traits
    
    * refactor in preparation for removing module requirements
    
    * switch to a block instead of a module
    
    * use the outer macro pattern to to enable #[benchmarks] aggregation
    
    * successfully generate SelectedBenchmark 💥
    
    * implement components for SelectedBenchmark
    
    * implement instance for SelectedBenchmark
    
    * properly track #[extra]
    
    * working impl for fn benchmarks()
    
    * run_benchmarks WIP
    
    * finish run_benchmark! impl 💥
    
    * import balances transfer_best_case benchmark
    
    * import transfer_keep_alive balances pallet benchmark
    
    * import set_balance_creating balances pallet benchmark
    
    * import set_balance_killing balances pallet benchmark
    
    * import force_transfer balances pallet benchmark
    
    * add #[extra] annotation and docs to transfer_increasing_users
    
    * import transfer_all balances pallet benchmark
    
    * import force_unreserve balances pallet benchmark
    
    * prepare to implement impl_benchmark_test_suite!
    
    * ensure tests cover #[extra] before and after #[benchmark] tag
    
    * refactor
    
    * clean up
    
    * fix
    
    * move to outer
    
    * switch to benchmarks/instance_benchmarks
    
    * test impl almost done, strange compiler error
    
    * benchmark test suites working 💥
    
    * clean up
    
    * add stub and basic parsing for where_clause
    
    * working except where clause and extrinsic calls containing method chains
    
    * assume option (2) for now wrt paritytech#12924 (comment)
    
    * clean up
    
    * switch to attribute-style
    
    * properly handle where clauses
    
    * fix subtle missing where clause, now just MessageQueue issues
    
    * fix block formatting in message-queue pallet
    
    * switch to block vs non-block parsing of extrinsic call
    
    * working now but some benchmark tests failing
    
    * message-queue tests working (run order issue fixed) 🎉
    
    * add comments and internal docs for fame_support_procedural::benchmark
    
    * fix license years
    
    * docs for lib.rs
    
    * add docs to new support procedural macros
    
    * don't allow #[benchmark] outside of benchmarking module
    
    * add docs
    
    * use benchmark(extra, skip_meta) style args
    
    * update docs accordingly
    
    * appease clippy
    
    * bump ci
    
    * add notes about `extra` and `skip_meta`
    
    * fix doc tests
    
    * re-run CI
    
    * use `ignore` instead of `no_run` on doc examples
    
    * bump CI
    
    * replace some if-lets with if-elses
    
    * more refactoring of if-let statements
    
    * fix remaining if-lets in BenchmarkDef::from()
    
    * fix if-lets in benchmarks()
    
    * fix remaining if-lets, use nested find_map for extrinsic call
    
    * switch to use #[extrinsic_call] or #[block] situationally
    
    * refactor ExtrinsicCallDef => BenchmarkCallDef
    
    * update docs with info about #[block]
    
    * add macro stub for #[extrinsic_call]
    
    * fix docs and add stub for #[block] as well
    
    * remove unused extern crate line
    
    * fix clippy nits
    
    * Use V2 bench syntax in pallet-example-basic
    
    Just testing the dev-ex...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * carry over comment
    
    * use curly-brace style for impl_benchmark_test_suite!
    
    * remove unneeded parenthesis
    
    * proper handling of _() extrinsic call style
    
    * add docs for _() syntax
    
    * fix crate access
    
    * simplify keyword access
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * simplify module content destructuring
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * fix crate access "frame_benchmarking" => "frame-benchmarking", compiles
    
    * use _() extrinsic call syntax where possible in balances
    
    * simplify attr.path.segments.last()
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * fix compile error being suppressed
    
    * simplify extrinsic call keyword parsing
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * use ? operator instead of return None
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * rename generics => type_use_generics
    rename full_generics => type_impl_generics
    
    * simplify extrinsic call extraction with transpose
    
    * bump CI
    
    * nit
    
    * proper handling of too many + too few block/extrinsic call annotations
    
    * change to B >= A
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * remove unneeded ignore
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * remove another ignore
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * add ui tests
    
    * use _() style extrinsic call on accumulate_dummy
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * add range check to ParamRange
    
    * ui test for bad param ranges
    
    * fix failing example
    
    * add ignore back to other failing example
    
    * tweak expr_call span
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * fix typo
    
    * eliminate a match
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * change pub fn benchmarks to return Result<TokenStream>
    
    * fix origin error span
    
    * more informative error for invalid benchmark parameter name
    
    * fix spans on a few benchmark errors
    
    * remove unneeded clone
    
    * refactor inner loop of benchmark function parsing
    
    * preserve mod attributes
    
    * refactor outer loop of benchmark def parsing code, greatly simplified
    
    * simplify to use a ? operator when parsing benchmark attr path
    
    * fix another ? operator
    
    * further simplify benchmark function attr parsing with more ? ops
    
    * refactor extrinsic call handling to use if let rather than match
    
    * replace is_ok => is_err
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * re-use name during expansion of benchmark def
    
    * remove unneeded clone
    
    * fix span for origin missing error
    
    * fix missing semi
    
    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: Keith Yeung <kungfukeith11@gmail.com>
    Co-authored-by: parity-processbot <>
    3 people authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    ed3f055 View commit details
    Browse the repository at this point in the history
  2. Rename *-private-ipv4 to *-private-ip CLI args (paritytech#13208)

    * Rename `*-private-ipv4` to `*-private-ip` CLI args
    
    Renames the `*-private-ipv4` to `*-private-ip` in the CLI interface. The old names are staying as
    alias, thus it will not break for anyone. Besides that it also fixes the naming in the rest of the code.
    
    * FMT
    bkchr authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    d0a2c4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e72f72f View commit details
    Browse the repository at this point in the history
  4. [Fix] CountedMap::set now takes Counter into account (paritytech#13214)

    * [Fix] CountedMap::set now takes Counter into account
    
    * introduce tests for StorageMap
    ruseinov authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    419b840 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52d72b3 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. BlockId removal: refactor: CallExecutor trait (paritytech#13173)

    * BlockId removal: refactor: CallExecutor trait
    
    It changes the arguments of CallExecutor methods:
    -  `call`, 'contextual_call', 'runtime_version', 'prove_execution'
    
    from: `BlockId<Block>` to: `Block::Hash`
    
    This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: command-bot <>
    michalkucharczyk and bkchr authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    9052607 View commit details
    Browse the repository at this point in the history
  2. service: storage monitor added (paritytech#13082)

    * service: storage monitor added
    
    Storage monitor added. It uses `notify` create to get notifications
    about any changes to monitored path (which is database path).
    Notifications are consumed in essential task which terminates when
    available storage space drops below given threshold.
    
    Closes: paritytech#12399
    
    * Cargo.lock updated
    
    * misspell
    
    * fs events throttling added
    
    * minor updates
    
    * filter out non mutating events
    
    * misspell
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * Update client/service/src/storage_monitor.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * storage-monitor crate added
    
    * cleanup: configuration + service builder
    
    * storage_monitor in custom service (wip)
    
    * copy-paste bad desc fixed
    
    * notify removed
    
    * storage_monitor added to node
    
    * fix for clippy
    
    * publish = false
    
    * Update bin/node/cli/src/command.rs
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * crate name: storage-monitor -> sc-storage-monitor
    
    * error handling improved
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * publish=false removed
    
    Co-authored-by: command-bot <>
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    4 people authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    ca5a505 View commit details
    Browse the repository at this point in the history
  3. beefy: Add LOG_TARGET constant (paritytech#13222)

    * LOG_TARGET const
    * fmt
    al3mart authored Jan 24, 2023
    Configuration menu
    Copy the full SHA
    84af672 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09de7b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5749760 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d2afb5d View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. pallet-assets: Rename total_supply to amount (paritytech#13229)

    * pallet-assets: Rename `total_supply` to `amount`
    
    We are actually passing the `amount` on assets being minted and not the total supply.
    
    Closes: paritytech#13210
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * Fix compilation
    
    * FMT
    
    Co-authored-by: command-bot <>
    bkchr authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    1314eec View commit details
    Browse the repository at this point in the history
  2. Babe: bad epoch index with skipped epochs and warp sync (paritytech#1…

    …3135)
    
    * Detect and correct epoch-index for skipped epochs
    
    * Code refactory
    
    * Epoch index should be also be fixed for secondary claims with VRF
    
    * Fix typo
    
    * Make clippy happy
    
    * Fix typo
    
    * Trigger pipeline
    davxy authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    e393874 View commit details
    Browse the repository at this point in the history
  3. contracts: Deprecate random interface (paritytech#13204)

    * Deprecate random interface
    
    * Revert change to runtime file
    
    * Fix docs
    
    * Fix tests
    
    * Rename to not_deprecated
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Deprecate `set_rent_allowance`
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    athei and agryaznov authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    1a1600b View commit details
    Browse the repository at this point in the history
  4. [contracts] Add upfront weight of merkle trie proofs for storage read…

    …ing functions (paritytech#13236)
    
    * Add upfront weight of merkle trie proofs for storage reading functions
    
    * drive-by fixes
    agryaznov authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    d74eab8 View commit details
    Browse the repository at this point in the history
  5. CI: Rewrite check-each-crate in python (paritytech#13238)

    * CI: Rewrite `check-each-crate` in python
    
    This is a much better readable version of the script and it should also work on Macos and not
    siltently fail ;)
    
    * Fix dumb bugs and print everything to stderr
    
    * Don't buffer Python output
    
    * 🤦
    
    * 🤦 🤦
    
    * Use check all until we have more macos runners
    
    * Update scripts/ci/gitlab/check-each-crate.py
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update scripts/ci/gitlab/pipeline/test.yml
    
    Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    3 people authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    d22e68c View commit details
    Browse the repository at this point in the history
  6. Fix try-runtime with create-snapshot (paritytech#13223)

    * Fix try-runtime with create-snapshot
    
    * Apply review suggestions
    zjb0807 authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    d029225 View commit details
    Browse the repository at this point in the history
  7. reduce exec time of fast-unstake benchmarks (paritytech#13120)

    * reduce exec time of fast-unstake benchmarks
    
    * fix test
    
    * fmt
    
    * fix patch the tests
    
    * fix patch the tests
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * add batch size as well
    
    * update some benches to be better
    
    * fix one last test
    
    * fix
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * reduce time even more
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * fix tests
    
    * nit
    
    * remove
    
    * improve the weight calc further
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * fix benchmarks
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * update
    
    * fix
    
    * fix
    
    * fmt
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * lots of changes again...
    
    * smaller input
    
    * update
    
    * fmt
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * cleanup
    
    * small simplification
    
    * fmt
    
    * reduce exec time a bit
    
    * fix
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * test
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * increase again
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    * review comments
    
    * fmt
    
    * fix
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake
    
    Co-authored-by: command-bot <>
    kianenigma authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    8b4331c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Rework the trie cache (paritytech#12982)

    * Rework the trie cache
    
    * Align `state-machine` tests
    
    * Bump `schnellru` to 0.1.1
    
    * Fix off-by-one
    
    * Align to review comments
    
    * Bump `ahash` to 0.8.2
    
    * Bump `schnellru` to 0.2.0
    
    * Bump `schnellru` to 0.2.1
    
    * Remove unnecessary bound
    
    * Remove unnecessary loop when calculating maximum memory usage
    
    * Remove unnecessary `mut`s
    koute authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    9db957c View commit details
    Browse the repository at this point in the history
  2. Add task type label to metrics (paritytech#13240)

    Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
    
    Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
    sandreim authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    64a1a36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4bc993 View commit details
    Browse the repository at this point in the history
  4. Add WeightToFee and LengthToFee impls to transaction-payment Runtime …

    …API (paritytech#13110)
    
    * Add WeightToFee and LengthToFee impls to RPC
    
    * Remove RPC additions
    
    * Update frame/transaction-payment/rpc/runtime-api/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Add comments to length_to_fee and weight_to_fee
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    3 people authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    2dbf625 View commit details
    Browse the repository at this point in the history
  5. Correct arithmetical semantic of PerDispatchClass (paritytech#13194)

    * Fix PerDispatchClass arithmetic
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Test PerDispatchClass arithmetic
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add helpers for Weight
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove stale doc
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Dont mention Polkadot in Substrate
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove saturating_ prefix
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix usage
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    495cc0e View commit details
    Browse the repository at this point in the history
  6. Aura: Fix warp syncing (paritytech#13221)

    * Aura: Fix warp syncing
    
    We need to set the fork choice rule! When using Cumulus this is done by the `ParachainsBlockImport`,
    but for standalone chains we still need this!
    
    Closes: paritytech#13220
    
    * Improve fork choice
    bkchr authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    65d1d03 View commit details
    Browse the repository at this point in the history
  7. Add Proof Size to Weight Output (paritytech#11637)

    * initial impl
    
    * add template test
    
    * linear fit proof size
    
    * always record proof when tracking storage
    
    * calculate worst case pov
    
    * remove duplicate worst case
    
    * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * more comment output
    
    * add cli for worst case map size
    
    * update name
    
    * clap does not support underscores
    
    * rename
    
    * expose worst case map values
    
    * improve some comments
    
    * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * update template
    
    * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * fix fmt
    
    * more fmt
    
    * more fmt
    
    * Dont panic when there is no proof
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix test features
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Whitelist :extrinsic_index
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use whitelist when recording proof
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add logs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add PoV testing pallet
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Deploy PoV testing pallet
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Storage benches reside in the PoV pallet
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Linear regress PoV per component
    
    Splits the PoV calculation into "measured" and "estimated".
    The measured part is reported by the Proof recorder and linear
    regressed over all components at once.
    The estimated part is calculated as worst-case by using the max
    PoV size per storage access and calculating one linear regress per
    component. This gives each component a (possibly) independent PoV.
    For now the measured size will always be lower than the PoV on
    Polkadot since it is measured on an empty snapshot. The measured
    part is therefor only used as diagnostic for debugging.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Put PoV into the weight templates
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Extra alanysis choise for PoV
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add+Fix tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make benches faster
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Cleanup
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use same template comments
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_balances
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy
    
    * Update referenda mock BlockWeights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Take measured value size into account
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_scheduler
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * proof_size: None
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ugly, but works
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * wup
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * WIP
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add pov_mode attribute to the benchmarks! macro
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use pov_mode attribute in PoV benchmarking
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Scheduler, Whitelist: Add pov_mode attr
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update PoV weights
    
    * Add CLI arg: default-pov-mode
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * 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>
    
    * fix
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Revert "Update PoV weights"
    
    This reverts commit 2f3ac23.
    
    * Revert "WIP"
    
    This reverts commit c34b538.
    
    * Revert first approach
    
    This reverts commit range 8ddaa2f^..4c84f87
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add extra benchmarks
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_alliance
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_whitelist
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_scheduler
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy 🤦
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add reference benchmarks
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix doc comments
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Undo logging
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add 'Ignored' pov_mode
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Allow multiple attributes per benchmark
    
    Turns out that the current benchmarking syntax does not support
    multiple attributes per bench 🤦. Changing it to support that
    since otherwise the `pov_mode` would conflict with the others.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Validate pov_mode syntax
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Ignore PoV for all contract benchmarks
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Bump macro recursion limit
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update contract weights
    
    They dont have a PoV component anymore.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix test ffs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * pov_mode is unsupported in V2 syntax
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix pallet ui tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * update pallet ui
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix pallet ui tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update weights
    
    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: Parity Bot <admin@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: command-bot <>
    Co-authored-by: Your Name <you@example.com>
    4 people authored Jan 26, 2023
    Configuration menu
    Copy the full SHA
    ff9921a View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Use non-binary pronouns in comments. (paritytech#13209)

    * use non binary pronouns in comments
    
    * cargo fmt
    
    * fix the use of "it" with "they" when dealing about an opperations identity
    DanHenton authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    248fdf0 View commit details
    Browse the repository at this point in the history
  2. migrate new benchmarking syntax from frame_support::benchmarking to…

    … `frame_benchmarking::v2` (paritytech#13235)
    
    * * re-export frame_support::benchmarking in frame_benchmarking::
    * prefer use frame_benchmarking::*; in examples, etc
    
    * switch to frame_benchmarking::v2
    
    * completely migrate new benchmarking code out of frame_support
    
    * fix doc links
    
    * remove unneeded return
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * remove another unneeded return
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * properly export all macros in v1
    
    * refactor existing frame_benchmarking imports to use ::v1
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    sam0x17 and bkchr authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ce2cee3 View commit details
    Browse the repository at this point in the history
  3. mutate_exists for StorageValue with ValueQuery (paritytech#13245)

    * mutate_exists for StorageValue with ValueQuery
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * added `#[crate::storage_alias]` to tests
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * added StorageEntryMetadata
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * Update frame/support/src/lib.rs
    
    ---------
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    muraca and ggwpez authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    9762613 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Fix derive PassByInner with generics (paritytech#13247)

    * Fix derive PassByInner with generics
    
    * Update primitives/runtime-interface/proc-macro/src/pass_by/inner.rs
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    conr2d and bkchr authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    1e6b892 View commit details
    Browse the repository at this point in the history
  2. docs: Fix broken documentation links for pallets (paritytech#13241)

    Fixes broken links to `Config` and `Call`, for READMEs the link has
    been fixed by adding the missing "/pallet" path, and for rust docs we
    let the compiler figure out the type's link by itself
    
    Signed-off-by: Jonathas-Conceicao <jonathasaoc@gmail.com>
    Jonathas-Conceicao authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    ece32a7 View commit details
    Browse the repository at this point in the history
  3. sc-finality-grandpa: Warp proof generation can not expect justificati…

    …ons (paritytech#13249)
    
    When a node is running with `--blocks-pruning` it will also prunes justifications. So, the warp
    proof generation can not use `expect` for unwrapping the justification.
    bkchr authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    0100b3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c11190 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Configuration menu
    Copy the full SHA
    f4caddb View commit details
    Browse the repository at this point in the history
  2. Remove uncles related code (paritytech#13216)

    The code was added without any clear usage. The inherent for example is not benchmarked and not used.
    bkchr authored Jan 29, 2023
    Configuration menu
    Copy the full SHA
    fdff2b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    a9c4334 View commit details
    Browse the repository at this point in the history
  2. grandpa: cleanup stale entries in set id session mapping (paritytech#…

    …13237)
    
    * grandpa: cleanup stale entries in set id session mapping
    
    * Update frame/grandpa/src/migrations.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * grandpa: remove unused import
    
    * grandpa: migration off-by-one
    
    * Update frame/grandpa/src/lib.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Update frame/grandpa/src/lib.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * grandpa: MaxSetIdSessionEntries as u64
    
    * node-template: fix MaxSetIdSessionEntries type
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    3 people authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    129fee7 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Benchmark's successful origin api update (paritytech#13146)

    * try successful origin unimplemented by default
    
    * error as a default impl for try_successful_origin
    
    * remove successful_origin func of EnsureOrigin trait
    
    * default impl -> unimplemented!()
    
    * update EnsureOriginWithArg
    
    * fix EnsureOriginWithArg
    
    * prefix unused arg with underscore
    
    * use try_successful_origin instead successful_origin, map err to Weightless
    
    * fix tests
    
    * remove default impl
    
    * unwrap for indirect origin dep
    
    * replace unwrap by expect with a message
    
    ---------
    
    Co-authored-by: parity-processbot <>
    muharem authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    8cfe326 View commit details
    Browse the repository at this point in the history
  2. hooks default impl missing where clause (paritytech#13264)

    * hooks default impl missing where clause
    
    * add tests
    
    * Update frame/support/test/tests/pallet_ui/pass/where_clause_missing_hooks.rs
    
    ---------
    
    Co-authored-by: parity-processbot <>
    kianenigma authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    c4b2db5 View commit details
    Browse the repository at this point in the history
  3. implemented contains_prefix for StorageDoubleMap and StorageNMap (p…

    …aritytech#13232)
    
    * implemented `contains_prefix` for StorageDoubleMap and StorageNMap
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * match prefix to next_key
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * warning unexpected behaviour with empty keys
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * clarifications for unhashed::contains_prefixed_key
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    * added tests for StorageNMap
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    
    ---------
    
    Signed-off-by: muraca <mmuraca247@gmail.com>
    muraca authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    b2b2e65 View commit details
    Browse the repository at this point in the history
  4. Calling proxy doesn't remove announcement (paritytech#13267)

    * Calling proxy doesn't remove announcement
    
    * Update frame/proxy/src/tests.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * fmt
    
    ---------
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Szegoo and kianenigma authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    3bc3742 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Fee and tip represented as asset ID inside AssetTxFeePaid (parityte…

    …ch#13083)
    
    * fee & tip in the asset ID Balance type
    
    * docs
    
    * rewrite
    
    * update runtime config
    
    * docs
    Szegoo authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    68d00e2 View commit details
    Browse the repository at this point in the history
  2. Move beefy-merkle-tree to utils/binary-merkle-tree and make it generic (

    paritytech#13076)
    
    * move BeefyMmrApi to pallet-beefy-mmr
    
    * fix test_utils use pallet-beefy-mmr BeefyMmrApi
    
    * Move beefy-merkle-tree to utils and Rename to Merkle-tree
    
    * fix fmt and test
    
    * Update merkle-tree to binary-merkle-tree and Remove Keccak256 mod from merkle-tree
    
    * change merkle-tree name to binary-merkle-tree
    
    * mirr fix
    DaviRain-Su authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    5d0867c View commit details
    Browse the repository at this point in the history
  3. Metadata V15: Derive TypeInfo for describing runtime types (parityt…

    …ech#13272)
    
    * scale_info: Derive TypeInfo for types present in runtime API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * cargo: Update Cargo.lock
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    ---------
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    a69a08e View commit details
    Browse the repository at this point in the history
  4. benchmarks: EnsureRankedMember must add ranked members (paritytech#13297

    )
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    9c00c90 View commit details
    Browse the repository at this point in the history
  5. Minor: Update output validity tests (paritytech#13190)

    * Minor: Update output validity tests
    
    Quick follow-up to paritytech#13183.
    
    Mainly, I wanted to double check that the `test_return_max_memory_offset` test doesn't pass just
    because the output length is 0.
    
    I also:
    
    - Organized these tests into a module.
    - Added a comment explaining why we don't use the `wasm_export_functions` macro.
    
    * Update test based on review comment
    mrcnski authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    83de509 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. BEEFY: define on-chain beefy-genesis and use it to coordinate voter i…

    …nitialization (paritytech#13215)
    
    * beefy: add support to configure BEEFY genesis
    
    * client/beefy: more flexible test runtime api
    
    * client/beefy: add tests for custom BEEFY genesis
    
    * client/beefy: ignore old state that didn't account for pallet genesis
    
    * client/beefy: fix clippy
    
    * frame/beefy: default BEEFY-genesis is block One::one()
    
    * frame/beefy: add extra doc comments
    
    ---------
    
    Co-authored-by: parity-processbot <>
    acatangiu authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    1d67b0f View commit details
    Browse the repository at this point in the history
  2. feat: add event SkepticsChosen event in society (paritytech#13291)

    * feat: add event SkepticsChosen event in society
    
    * feat: add test for SkepticsChosen event
    gitofdeepanshu authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    12823c2 View commit details
    Browse the repository at this point in the history
  3. feat(client): significantly increase wasm instance limits (paritytech…

    …#13298)
    
    Following paritytech#11949, this PR will allow parachains with runtimes bigger than Kusama to use the pooling strategy.
    hussein-aitlahcen authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    09ae0e0 View commit details
    Browse the repository at this point in the history
  4. Remove in-tree bounded types and use bounded-collections crate (parit…

    …ytech#13243)
    
    * Remove in-tree bounded types and use bounded-collections crate
    
    * Fixes
    
    * Bump bounded-collections version
    
    * cargo fmt
    
    * Bump bounded-collections
    
    * Only export non-bounded types at the top level
    
    * Fixes
    
    * Bump bounded-collections
    KiChjang authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    8186c51 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. update linregress in frame-benchmarking to 0.5.1 (paritytech#13310)

    * update nalgebra in frame-benchmarking to 0.5.0
    
    * upgrade to 0.5.1 to incorporate upstream fix in linregress
    sam0x17 authored Feb 5, 2023
    Configuration menu
    Copy the full SHA
    dfc9223 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. [client/network] remove peer entry from ephemeral_addresses (parity…

    …tech#13084)
    
    * [client/network] remove peer entry from `ephemeral_addresses`
    
    if there are no addresses associated with that peer
    
    * refactor as per @bkchr suggestion
    
    paritytech#13084 (comment)
    
    * add missing import
    
    * fix error
    melekes authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    550e6a1 View commit details
    Browse the repository at this point in the history
  2. rpc-spec-v2/tx: Fix error typo (paritytech#13307)

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    f5e370d View commit details
    Browse the repository at this point in the history
  3. BEEFY: client support for detecting equivocated votes (paritytech#13285)

    * client/beefy: detect equivocated votes
    
    * client/beefy: make sure to persist state after voting
    
    * client/beefy: drop never-used aux-schema v2 migration
    
    * impl review suggestion
    
    ---------
    
    Signed-off-by: Adrian Catangiu <adrian@parity.io>
    acatangiu authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    51cf2e7 View commit details
    Browse the repository at this point in the history
  4. Bump wasmtime to 5.0.0 (and a few other deps) (paritytech#13160)

    * Bump `wasmtime` to 4.0.0 (and a few other deps)
    
    * Use `Error::msg` instead of `anyhow!`
    
    * Bump `wasmtime` to 5.0.0
    
    * Update `Cargo.lock`
    
    * Add `wasmtime` feature to `sp-wasm-interface` dependency
    koute authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    47ecdb6 View commit details
    Browse the repository at this point in the history
  5. Fix: Off-chain-worker example (paritytech#13300)

    * fix: divider
    
    * update comment
    cuteolaf authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    fe7f0a9 View commit details
    Browse the repository at this point in the history
  6. Rename pallet-random-collective-flip to Insecure... (paritytech#13301)

    * Rename pallet-random-collective-flip to Insecure...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Feb 6, 2023
    Configuration menu
    Copy the full SHA
    dd4497d View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. zombienet: warp-sync tests for validators (paritytech#13078)

    * zombienet validators warp sync draft
    
    Sketch of warp-sync test for validators.
    Not tested.
    
    Follow-up of: paritytech#12769
    
    * yet another warp-sync scenario added
    
    - all validators are synced from DB,
    - some full nodes are synced from DB,
    - full-node is warp-synced
    
    * fixes
    
    * fixes
    
    * missing files
    
    * path fixed
    
    ---------
    
    Co-authored-by: parity-processbot <>
    michalkucharczyk authored Feb 7, 2023
    Configuration menu
    Copy the full SHA
    41ae908 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d60070 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38c3e5e View commit details
    Browse the repository at this point in the history
  4. Fix block pruning (paritytech#13323)

    arkpar authored and bkchr committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    5a281ce View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Referendum proposal's metadata (paritytech#12568)

    * referenda metadata
    
    * todo comment
    
    * remove TODO, update rustdocs
    
    * referenda clear_metadata origin signed or root
    
    * referenda metadata unit tests
    
    * drop schema type for referenda metadata
    
    * remove metadata type
    
    * referenda metadata benches
    
    * note different preimages
    
    * metadata for democracy pallet
    
    * metadata democracy pallet tests and benches
    
    * fix cargo clippy
    
    * update docs
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_referenda
    
    * Update the doc frame/democracy/src/lib.rs
    
    Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
    
    * Update the doc frame/democracy/src/lib.rs
    
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    
    * reference instead clone for take
    
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    
    * error rename BadMetadata to PreimageNotExist
    
    * clear metadata within internal_cancel_referendum fn
    
    * remove redundant clone
    
    * collapse metadata api into one set_metadata method
    
    * fmt
    
    * review fixes
    
    * not request preimage on set_metadata
    
    * rename events and update docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_democracy
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_referenda
    
    * rename reset_metadata to transfer_metadata
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    3 people authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    2f16448 View commit details
    Browse the repository at this point in the history
  2. Improve test coverage of the Notifications protocol (paritytech#13033)

    * Add handler and upgrade tests
    
    * Add tests for `behaviour.rs`
    
    * Apply review comments
    
    * Update dependencies
    
    * Apply suggestions from code review
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * Apply review comments
    
    * Fix clippy
    
    * Update mockall
    
    * Apply review comment
    
    ---------
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    altonen and dmitry-markin authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    2a636e2 View commit details
    Browse the repository at this point in the history
  3. Configurable voting-degree in council elections pallet (paritytech#13305

    )
    
    * configurable council elections pallet
    
    * configurable council elections pallet
    
    * add warning
    
    * reduce sizes
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_elections_phragmen
    
    * fix stuff
    
    * make assert
    
    * fix docs
    
    * fix docs again
    
    * fix docs again
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * fix docs
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    kianenigma and gpestana authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    6a504b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f72780 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. pallet-scheduler: Ensure we request a preimage (paritytech#13340)

    * pallet-scheduler: Ensure we request a preimage
    
    The scheduler was not requesting a preimage. When a preimage is requested, a user can deposit it
    without paying any fees.
    
    * Review changes
    bkchr authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    0d611e0 View commit details
    Browse the repository at this point in the history
  2. [Fix] Try-state feature-gated for BagsList (paritytech#13296)

    * [Fix] Try-state feature-gated for BagsList
    
    * fix comment
    
    * fix try_state remote-tests
    
    * feature-gate try-state remote test for bags-list
    
    * remove try-state from a migration
    
    * more SortedListProvider fixes
    
    * more fixes
    
    * more fixes to allow do_try_state usage in other crates
    
    * do-try-state for fuzz
    
    * more fixes
    
    * more fixes
    
    * remove feature-flag
    
    * do-try-state
    
    * fix review comments
    
    * Update frame/bags-list/src/mock.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    ---------
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    ruseinov and melekes authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    2ced413 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

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

Commits on Feb 11, 2023

  1. Fix longest chain finalization target lookup (paritytech#13289)

    * Finalization target should be chosed as some ancestor of SelectChain::best_chain
    
    * More test assertions
    
    * Improve docs
    
    * Removed stale docs
    
    * Rename 'target' to 'base' in lookup method
    
    * Fix typo
    
    * Apply suggestions from code review
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * Rename 'target_hash' to 'base_hash' in 'SelectChain::finality_target()'
    
    * Apply suggestions from code review
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Docs improvement
    
    * Doc fix
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Apply more code suggestions
    
    ---------
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    4 people authored Feb 11, 2023
    Configuration menu
    Copy the full SHA
    ccd768f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2023

  1. SetMembers configurable origin (paritytech#13159)

    * SetMembers configurable origin
    
    * root origin comment replaced
    
    * fmt
    girazoki authored Feb 12, 2023
    Configuration menu
    Copy the full SHA
    11bd6cd View commit details
    Browse the repository at this point in the history
  2. grandpa: don't error if best block and finality target are inconsiste…

    …nt (paritytech#13364)
    
    * grandpa: don't error if best block and finality target are inconsistent
    
    * grandpa: add test for best block override
    
    * grandpa: make clippy happy
    
    * grandpa: log selectchain override as debug instead of warn
    andresilva authored Feb 12, 2023
    Configuration menu
    Copy the full SHA
    5590a4e View commit details
    Browse the repository at this point in the history
  3. grandpa: don't error if best block and finality target are inconsiste…

    …nt (paritytech#13364)
    
    * grandpa: don't error if best block and finality target are inconsistent
    
    * grandpa: add test for best block override
    
    * grandpa: make clippy happy
    
    * grandpa: log selectchain override as debug instead of warn
    andresilva authored and bkchr committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    15e218a View commit details
    Browse the repository at this point in the history
  4. Improve Weight Template and API (paritytech#13355)

    * improve weights template and api
    
    * follow template
    shawntabrizi authored Feb 12, 2023
    Configuration menu
    Copy the full SHA
    4fadc98 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. [ci] Change label checker (paritytech#13360)

    * [ci] Change label checker
    
    * rm pr autolabel
    
    * fix specs file name to substrate
    alvicsam authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    14fba11 View commit details
    Browse the repository at this point in the history
  2. client/beefy: request justifs from peers further in consensus (parity…

    …tech#13343)
    
    For on-demand justifications, peer selection is based on witnessed
    gossip votes. This commit changes the condition for selecting a peer
    to request justification for `block` from
    "last voted on >= `block`" to "peer last voted on strict > `block`".
    
    When allowing `>=` we see nodes continuously spamming unsuccessful
    on-demand requests to nodes which are still voting on a block without
    having a justification available.
    
    One way to fix the spam would be to add some rate-limiting or backoff
    period when requesting justifications.
    
    The other solution (present in this commit) is to simply request
    justifications from peers that are voting on future blocks so we know
    they're _guaranteed_ to have the wanted mandatory justification
    available to send back.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    fc49ddd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6142fc2 View commit details
    Browse the repository at this point in the history
  4. sc-client-db: Fix PruningMode::ArchiveCanonical (paritytech#13361)

    * sc-client-db: Fix `PruningMode::ArchiveCanonical`
    
    When running a node with `--state-pruning archive-canonical` it was directly failing on genesis.
    There was an issue in the state-db `pin` implementation. It was not checking the state of a block
    correctly when running with archive canonical (and also not for every other block after they are canonicalized).
    
    * FMT
    bkchr authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    10bf4bd View commit details
    Browse the repository at this point in the history
  5. benchmarks: EnsureRankedMember must add ranked members (paritytech#13297

    ) (paritytech#13348)
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    muharem and ggwpez authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    18bb7c7 View commit details
    Browse the repository at this point in the history
  6. subkey: only decode hex if requested, CLI 0x prefixed hex for all `…

    …stdout` (paritytech#13258)
    
    * Only decode hex if requested
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Cleanup code
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add some tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add license
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Docs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * bump version, breaking (tiny) change in output.
    
    * Move integration tests to own folder
    
    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: Dan Shields <nukemandan@protonmail.com>
    ggwpez and nuke-web3 authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    1cc2a00 View commit details
    Browse the repository at this point in the history
  7. [Feature] Introduce storage_alias for CountedStorageMap (paritytech#1…

    …3366)
    
    * [Feature] Introduce storagage_alias for CountedStorageMap
    
    * bit more dry
    
    * bit more dry
    
    * address review comments
    
    * some tests and fixes
    
    * fix ui tests
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * compare metadata
    
    ---------
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    ruseinov and bkchr authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    a1d42aa View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. [NFTs] Offchain mint (paritytech#13158)

    * Allow to mint with the pre-signed signatures
    
    * Another try
    
    * WIP: test encoder
    
    * Fix the deposits
    
    * Refactoring + tests + benchmarks
    
    * Add sp-core/runtime-benchmarks
    
    * Remove sp-core from dev deps
    
    * Enable full_crypto for benchmarks
    
    * Typo
    
    * Fix
    
    * Update frame/nfts/src/mock.rs
    
    Co-authored-by: Squirrel <gilescope@gmail.com>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    * Add docs
    
    * Add attributes into the pre-signed object & track the deposit owner for attributes
    
    * Update docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    * Add the number of attributes provided to weights
    
    * Apply suggestions
    
    * Remove dead code
    
    * Remove Copy
    
    * Fix docs
    
    * Update frame/nfts/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nfts/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Co-authored-by: Squirrel <gilescope@gmail.com>
    Co-authored-by: command-bot <>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    3 people authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    0ce3920 View commit details
    Browse the repository at this point in the history
  2. feat: improve FinalityProofProvider api (paritytech#13374)

    * feat: improve prove_finality api and export it
    
    * fmt
    
    * fix
    
    * improve prove_finality and kept private
    
    * Update client/finality-grandpa/src/finality_proof.rs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * add `prove_finality_proof` to `FinalityProofProvider`
    
    * fix some and impl Clone for FinalityProofProvider
    
    * improve by suggestions
    
    ---------
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    yjhmelody and andresilva authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    ef1c361 View commit details
    Browse the repository at this point in the history
  3. cleanup <weight></weight> from docs comments (paritytech#13350)

    * cleanup <weight></weight> from docs comments
    
    * Changes to address review commnets
    
    * Fix CI cargo test --docs
    
    ---------
    
    Co-authored-by: parity-processbot <>
    vivekvpandya authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    e6f6c8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ca3f77 View commit details
    Browse the repository at this point in the history
  5. pallet-timestamp: Remove ValidAtTimestamp error variant (paritytech…

    …#13346)
    
    * pallet-timestamp: Remove `ValidAtTimestamp` error variant
    
    The error variant wasn't that useful and it was also used wrongly in the code. In the code we
    returned this variant when the `timestamp < minimum`. The problem of this is that we waited on the
    node side some time, but then `set` function rejects the timestamp because of the same check (the
    timestamp in the block stays the same). We ensure that the timestamp isn't drifting too much in the
    future, but waiting for the timestamp to be "valid" would open some attack vector. The consensus
    protocols also compare the slots in the blocks to ensure that there isn't a block from the future
    and in the runtime we then ensure that `slot = timestamp / slot_duration`. So, we can just remove
    this variant and replace it with a new variant `TimeBetweenBlocksTooShort` to not even try importing
    a block which uses a too short delay since the last block.
    
    * Update primitives/timestamp/src/lib.rs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * Rename to `TooEarly`
    
    * FMT
    
    ---------
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    bkchr and andresilva authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    c3ffbcd View commit details
    Browse the repository at this point in the history
  6. add warp to target block for parachains (paritytech#12761)

    * add warp to target block for parachains
    
    * fix for failing tests
    
    * format using  `Cargo +nightly fmt`
    
    * Remove blocking based on PR comments and create new `WarpSync` on poll
    
    * remove method from trait
    
    * add tests for wait for target
    
    * Update client/network/common/src/sync/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/common/src/sync/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * code refactor based on pr comments
    
    * Second round of PR comments
    
    * Third round of pr comments
    
    * add comments to explain logic
    
    * Update client/network/sync/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * code refactor based on last PR comments
    
    * move warp sync polling before `process_outbound_requests`
    
    Add error message if target block fails to be retreived
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com>
    
    * Update client/network/sync/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fmt after code suggestions
    
    * rebase changes
    
    * Bring down the node if the target block fails to return
    
    * Revert "Bring down the node if the target block fails to return"
    
    This reverts commit c0ecb22.
    
    * Update client/network/common/src/sync/warp.rs
    
    Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
    
    * Update client/network/common/src/sync/warp.rs
    
    Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
    
    * use matching on polling to avoid calling poll more than once
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/sync/src/warp.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fix typo on comment
    
    * update snapshot with new folder structure
    
    * Upload snapshot
    
    * Bump zombienet
    
    * bump zombienet again
    
    * Improve test
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/network/test/src/sync.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fix tests
    
    * dummy commit to restart builds
    
    * Converted the target block to an optional value that is set to `None` when an error occurs
    
    * dummy commit to restart builds
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com>
    Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    5 people authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    74ee521 View commit details
    Browse the repository at this point in the history
  7. [contracts] make debug_message execution outcome invariant to node …

    …debug logging setting (paritytech#13197)
    
    * update benchmark for seal_debug_message
    
    * add seal_debug_message_per_kb benchmark
    
    * un-fallable debug buffer: silently drops excessive and wrong utf-8 encoded messages
    
    * charge debug_message per byte of the message
    
    * improved benchmark
    
    * cap debug_message
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * fix applied buggy suggestion
    
    * make sure i*1024 < MaxDebugBufferLen
    
    * fix schedule for our non-batched benchmark
    
    * Switch to a `wasmtime` fork with LTO linking failure workaround
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    Co-authored-by: Jan Bujak <jan@parity.io>
    3 people authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    169c3f0 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Fork tree prune assumptions removal v2 (paritytech#13327)

    * Removed assumptions about ancestry from fork tree prune method
    
    * Tests improvement
    
    * Fork tree prune refactory
    
    * Code refactory
    
    * Correctly handle borderline, but legit, case
    
    * Apply suggestions from code review
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * Removed duplicated test
    
    ---------
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    davxy and andresilva authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    a10ccb5 View commit details
    Browse the repository at this point in the history
  2. CI add subkey docker image description and CI job to publish it to th…

    …e hub.docker.com (paritytech#13392)
    
    * Add subkey docker image description and ci job to publish it
    
    * Add link to docs
    
    * fix formatting
    
    * fix ci
    sergejparity authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    725e47a View commit details
    Browse the repository at this point in the history
  3. contracts: Use proof_size from benchmarks (paritytech#13268)

    * Avoid reading contract code when it is supplied in the extrinsic
    
    * Remove custom proof size injection from schedule
    
    * Set benchmarks pov_mode to Measure
    
    * Reduce overestimation of code size on re-instrument
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * Do not override proof size from benchmark
    
    * Do not charge proof size for basic block
    
    * Incrase gas limit for tests
    
    * Fix deletion queue to also use `proof_size`
    
    * Fix tests
    
    * Update frame/contracts/src/schedule.rs
    
    Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
    
    * Fix wrong schedule macro invocations
    
    * Remove stale docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * Handle zero components
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * Fix instruction weight
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
    athei and xermicus authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    7732f88 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    528e71f View commit details
    Browse the repository at this point in the history
  2. [ci] Add dependencies for publish-crates (paritytech#13397)

    * [ci] Add dependencies for publishsing crates
    
    * apply review comments
    
    * fix needs
    alvicsam authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    c24969a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a36704 View commit details
    Browse the repository at this point in the history
  4. client/beefy: add more metrics for production visibility (paritytech#…

    …12910)
    
    * few beefy metrics
    
    * more beefy metrics
    
    * some beefy metrics
    
    * some beefy metrics
    
    * more metrics
    
    * other metrics
    
    * fix tests
    
    * merge changes
    
    * Apply suggestions from code review
    
    * client/beefy: fix metrics
    
    * client/beefy: separate metrics per component, avoid double registering
    
    * client/beefy: deduplicate metrics registration code
    
    * remove unused metric
    
    * impl review suggestions
    
    ---------
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    dharjeezy and acatangiu authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    46c1bd5 View commit details
    Browse the repository at this point in the history
  5. contracts: Don't rely on reserved balances keeping an account alive (p…

    …aritytech#13369)
    
    * Move storage deposits to their own account
    
    * Take ed for contract's account from origin
    
    * Apply suggestions from code review
    
    Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Update stale docs
    
    * Use 16 bytes prefix for address derivation
    
    * Update frame/contracts/src/address.rs
    
    Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
    
    * Fix merge
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * Update frame/contracts/primitives/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    ---------
    
    Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    Co-authored-by: command-bot <>
    3 people authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    e8178c9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b6c4ab8 View commit details
    Browse the repository at this point in the history
  7. BlockId removal: CallApiAt::state_at (paritytech#13394)

    * BlockId removal: CallApiAt::state_at
    
    It changes the arguments of:
    - `CallApiAt::state_at`,
    - `Client::code_at`,
    - `Client::state_at`
    
    from: `BlockId<Block>` to: `Block::Hash`
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    michalkucharczyk and bkchr authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    873fb68 View commit details
    Browse the repository at this point in the history
  8. BlockId removal: Client::runtime_version_at (paritytech#13393)

    * BlockId removal: Client::runtime_version_at
    
    It changes the arguments of `Client::runtime_version_at` from: `BlockId<Block>` to: `Block::Hash`
    
    * Apply suggestions from code review
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    ---------
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    Co-authored-by: parity-processbot <>
    michalkucharczyk and melekes authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    d97a188 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. BEEFY: implement equivocations detection, reporting and slashing (par…

    …itytech#13121)
    
    * client/beefy: simplify self_vote logic
    
    * client/beefy: migrate to new state version
    
    * client/beefy: detect equivocated votes
    
    * fix typos
    
    * sp-beefy: add equivocation primitives
    
    * client/beefy: refactor vote processing
    
    * fix version migration for new rounds struct
    
    * client/beefy: track equivocations and create proofs
    
    * client/beefy: adjust tests for new voting logic
    
    * sp-beefy: fix commitment ordering and equality
    
    * client/beefy: simplify handle_vote() a bit
    
    * client/beefy: add simple equivocation test
    
    * client/beefy: submit equivocation proof - WIP
    
    * frame/beefy: add equivocation report runtime api - part 1
    
    * frame/beefy: report equivocation logic - part 2
    
    * frame/beefy: add pluggable Equivocation handler - part 3
    
    * frame/beefy: impl ValidateUnsigned for equivocations reporting
    
    * client/beefy: submit report equivocation unsigned extrinsic
    
    * primitives/beefy: fix tests
    
    * frame/beefy: add default weights
    
    * frame/beefy: fix tests
    
    * client/beefy: fix tests
    
    * frame/beefy-mmr: fix tests
    
    * frame/beefy: cross-check session index with equivocation report
    
    * sp-beefy: make test Keyring useable in pallet
    
    * frame/beefy: add basic equivocation test
    
    * frame/beefy: test verify equivocation results in slashing
    
    * frame/beefy: test report_equivocation_old_set
    
    * frame/beefy: add more equivocation tests
    
    * sp-beefy: fix docs
    
    * beefy: simplify equivocations and fix tests
    
    * client/beefy: address review comments
    
    * frame/beefy: add ValidateUnsigned to test/mock runtime
    
    * client/beefy: fixes after merge master
    
    * fix missed merge damage
    
    * client/beefy: add test for reporting equivocations
    
    Also validated there's no unexpected equivocations reported in the
    other tests.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * sp-beefy: move test utils to their own file
    
    * client/beefy: add negative test for equivocation reports
    
    * sp-beefy: move back MmrRootProvider - used in polkadot-service
    
    * impl review suggestions
    
    * client/beefy: add equivocation metrics
    
    ---------
    
    Signed-off-by: acatangiu <adrian@parity.io>
    Co-authored-by: parity-processbot <>
    acatangiu authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    63a2458 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dfa654d View commit details
    Browse the repository at this point in the history
  3. babe: account for skipped epochs when handling equivocations (parityt…

    …ech#13335)
    
    * babe: account for skipped epochs when handling equivocations
    
    * typos
    
    * babe: enforce epoch index >= session index
    andresilva authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    ea4fbcb View commit details
    Browse the repository at this point in the history
  4. try-runtime::fast-forward (paritytech#12896)

    * try-runtime::fast-forward
    
    * Revert un`pub`ing command's fields
    
    * Handle storage change failure
    
    * Adjust Substrate node
    
    * Feature-gated imports
    
    * doc link
    
    * Feature-gated imports in node-template
    
    * Move trait, blanket implementation and auxiliary functions to a new module
    
    * Distinguish between plain babe+timestamp and substrate enhanced info
    
    * Remove uncles inherents
    
    * Missing argument
    
    * Add doc comment about `blocktime_millis`
    
    * Add licenses
    pmikolajczyk41 authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    a330912 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    30cb4d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2023

  1. state-db: Print warning when using large pruning window on RocksDb (p…

    …aritytech#13414)
    
    * state-db: Print warning when using large pruning window on RocksDb
    
    This pr changes state-db to print a warning when using a large pruning window and running with a
    database that isn't supporting ref-counting like RocksDb. This makes the user aware of potential out
    of memory errors because this option together with RocksDb etc puts the entire pruning window into
    memory. Besides that the pr introduces `LOG_TARGET` for having the target declared central!
    
    * Review comments
    bkchr authored Feb 18, 2023
    Configuration menu
    Copy the full SHA
    7ffae37 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Use async/await instead of manual polling of NetworkWorker (parityt…

    …ech#13219)
    
    * Convert `NetworkWorker::poll()` into async `next_action()`
    
    * Use `NetworkWorker::next_action` instead of `poll` in `sc-network-test`
    
    * Revert "Use `NetworkWorker::next_action` instead of `poll` in `sc-network-test`"
    
    This reverts commit 4b5d851.
    
    * Fix `sc-network-test` to poll `NetworkWorker::next_action`
    
    * Fix `sc_network::service` tests to poll `NetworkWorker::next_action`
    
    * Fix docs
    
    * kick CI
    
    * Factor out `next_worker_message()` & `next_swarm_event()`
    
    * Error handling: replace `futures::pending!()` with `expect()`
    
    * Simplify stream polling in `select!`
    
    * Replace `NetworkWorker::next_action()` with `run()`
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * minor: comment
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Print debug log when network future is shut down
    
    * Evaluate `NetworkWorker::run()` future once before the loop
    
    * Fix client code to match new `NetworkService` interfaces
    
    * Make clippy happy
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Revert "Apply suggestions from code review"
    
    This reverts commit 9fa646d.
    
    * Make `NetworkWorker::run()` consume `self`
    
    * Terminate system RPC future if RPC rx stream has terminated.
    
    * Rewrite with let-else
    
    * Fix comments
    
    * Get `best_seen_block` and call `on_block_finalized` via `ChainSync` instead of `NetworkService`
    
    * rustfmt
    
    * make clippy happy
    
    * Tests: schedule wake if `next_action()` returned true
    
    * minor: comment
    
    * minor: fix `NetworkWorker` rustdoc
    
    * minor: amend the rustdoc
    
    * Fix bug that caused `on_demand_beefy_justification_sync` test to hang
    
    * rustfmt
    
    * Apply review suggestions
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    dmitry-markin and bkchr authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    76208c8 View commit details
    Browse the repository at this point in the history
  2. client/beefy: drop justification on import if pallet not enabled (par…

    …itytech#13422)
    
    BEEFY pallet allows setting on-chain BEEFY genesis to some future
    block. Disregard any BEEFY justifications attached to imported blocks
    that predate configured BEEFY genesis.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    abfa341 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1eff887 View commit details
    Browse the repository at this point in the history
  4. BlockId removal: runtime-api refactor (paritytech#13255)

    * BlockId removal: refactor of runtime API
    
    It changes the arguments of:
    - `ApiExt` methods:  `has_api`, `has_api_with`, `api_version`
    - `CallApiAt` method: `runtime_version_at`
    from: `BlockId<Block>` to: `Block::Hash`
    
    It also changes the first argument of all generated runtime API calls from: `BlockId<Block>` to: `Block::Hash`
    
    This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
    
    * BlockId removal: refactor of runtime API - tests
    
    - tests adjusted to new runtime API,
    - some tests migrated from block number to block hash
    
    * benchmarking-cli: BlockId(0) migrated to info().genesis_hash
    
    `runtime_api.call()` now requires the block hash instead of BlockId::Number.
    To access the genesis hash widely used in benchmarking engine the Client
    was constrained to satisfy `sp_blockchain::HeaderBackend<Block>` trait
    which provides `info().genesis_hash`.
    
    * trivial: api.call(BlockId) -> api.call(Hash)
    
    - Migrated all `runtime_api.calls` to use Hash
    - Noteworthy (?):
    -- `validate_transaction_blocking` in transaction pool,
    
    * CallApiAtParams::at changed to Block::Hash
    
    * missed doc updated
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * BlockId removal: Benchmark::consumed_weight
    
    Little refactor around `Benchmark::consumed_weight`: `BlockId` removed.
    
    * at_hash renamed
    
    * wrong merge fixed
    
    * beefy worker: merged with master
    
    * beefy: tests: missing block problem fixed
    
    * Apply review suggestion
    
    * fix
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: command-bot <>
    michalkucharczyk and bkchr authored Feb 20, 2023
    Configuration menu
    Copy the full SHA
    5b6519a View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. frame/beefy: prune entries in set id session mapping (paritytech#13411)

    Add limit for the number of entries in the `SetIdSession` mapping.
    For example, it can be set to the bonding duration (in sessions).
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    49fa611 View commit details
    Browse the repository at this point in the history
  2. Staking and nomination pools runtime API improvements (paritytech#13119)

    * Adds StakingAPI_nominations_quota and NominationPoolsApi_balanceToPoint and NominationPoolsApi_pointsToBalance runtime APIs
    
    * Adds balance param to api_nominations_quota
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Addresses comments - returns zero instead of error in runtime api
    
    * Update frame/staking/runtime-api/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/staking/runtime-api/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Addresses PR comments
    
    * Update frame/nomination-pools/runtime-api/Cargo.toml
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Fixes points_to_balance logic; adds tests
    
    * test comment fix
    
    * Update frame/nomination-pools/runtime-api/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/nomination-pools/runtime-api/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Fix block pruning (paritytech#13323)
    
    * Referendum proposal's metadata (paritytech#12568)
    
    * referenda metadata
    
    * todo comment
    
    * remove TODO, update rustdocs
    
    * referenda clear_metadata origin signed or root
    
    * referenda metadata unit tests
    
    * drop schema type for referenda metadata
    
    * remove metadata type
    
    * referenda metadata benches
    
    * note different preimages
    
    * metadata for democracy pallet
    
    * metadata democracy pallet tests and benches
    
    * fix cargo clippy
    
    * update docs
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_referenda
    
    * Update the doc frame/democracy/src/lib.rs
    
    Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
    
    * Update the doc frame/democracy/src/lib.rs
    
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    
    * reference instead clone for take
    
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    
    * error rename BadMetadata to PreimageNotExist
    
    * clear metadata within internal_cancel_referendum fn
    
    * remove redundant clone
    
    * collapse metadata api into one set_metadata method
    
    * fmt
    
    * review fixes
    
    * not request preimage on set_metadata
    
    * rename events and update docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_democracy
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_referenda
    
    * rename reset_metadata to transfer_metadata
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    
    * Improve test coverage of the `Notifications` protocol (paritytech#13033)
    
    * Add handler and upgrade tests
    
    * Add tests for `behaviour.rs`
    
    * Apply review comments
    
    * Update dependencies
    
    * Apply suggestions from code review
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * Apply review comments
    
    * Fix clippy
    
    * Update mockall
    
    * Apply review comment
    
    ---------
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * refactors runtime API logic to own pallet impl block
    
    * removes unrelated changes
    
    * Fixes cargo doc comments lint
    
    * fixes node cargo
    
    * fixes comment
    
    * restart ci
    
    * restart ci
    
    * restart ci
    
    ---------
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com>
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
    Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
    Co-authored-by: Aaro Altonen <48052676+altonen@users.noreply.github.com>
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    9 people authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    425bf6b View commit details
    Browse the repository at this point in the history
  3. Nomination Pools: Rename state-toggler to bouncer (paritytech#13421)

    * rename state-toggler to bouncer
    
    * add migration
    
    * fmt
    
    * bump storage version
    
    * rm migration
    
    * revert version
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    ---------
    
    Co-authored-by: command-bot <>
    Ross Bulat authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    088a7fc View commit details
    Browse the repository at this point in the history
  4. Add defensive_assert! macro (paritytech#13423)

    * Add defensive_assert macro
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Apply review suggestions
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    0e8daf0 View commit details
    Browse the repository at this point in the history
  5. BlockId removal: BlockBuilderProvider::new_block_at (paritytech#1…

    …3401)
    
    * `BlockId` removal: `BlockBuilderProvider::new_block_at`
    
    It changes the arguments of `BlockBuilderProvider::new_block_at` from:
    `BlockId<Block>` to: `Block::Hash`
    
    * fmt
    
    * fix
    
    * more fixes
    michalkucharczyk authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    2d6e555 View commit details
    Browse the repository at this point in the history
  6. Remove years from copyright notes. (paritytech#13415)

    * Change copyright year to 2023 from 2022
    
    * Fix incorrect update of copyright year
    
    * Remove years from copy right header
    
    * Fix remaining files
    
    * Fix typo in a header and remove update-copyright.sh
    vivekvpandya authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    e374a33 View commit details
    Browse the repository at this point in the history
  7. Update Template README (paritytech#12741)

    * update README
    remove matrix links
    remove playground references (service reported as sunsetting)
    OSPL rule per Docs style guide
    
    * Apply suggestions from code review
    
    Co-authored-by: Sacha Lansky <sacha@parity.io>
    
    * Update README.md
    
    * Apply suggestions from code review
    
    Co-authored-by: lisa-parity <92225469+lisa-parity@users.noreply.github.com>
    
    * (fix) chmod +x script
    
    ---------
    
    Co-authored-by: Sacha Lansky <sacha@parity.io>
    Co-authored-by: lisa-parity <92225469+lisa-parity@users.noreply.github.com>
    Co-authored-by: parity-processbot <>
    3 people authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    59fd2ac View commit details
    Browse the repository at this point in the history
  8. Glutton pallet (paritytech#12833)

    * Pov-Limit pallet
    
    * use Perbill & fixes
    
    * fixes
    
    * reads & writes
    
    * update docs
    
    * tests
    
    * calculate weight
    
    * fmt
    
    * benchmark
    
    * logic fix
    
    * naming fix
    
    * caclulate computation weight limit
    
    * make the Hasher generic
    
    * make the code compile
    
    * generate weight
    
    * fix on_idle
    
    * fix
    
    * fix
    
    * make reading generic
    
    * fix?
    
    * fixes
    
    * remove warning
    
    * fix
    
    * hasher fix :D
    
    * change value
    
    * test
    
    * actual weight and expected weight are the same
    
    * update
    
    * fix
    
    * add events
    
    * remove useless line
    
    * using actual hashing algorithm
    
    * better readability
    
    * fix nits
    
    * Update
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * add migration
    
    * hardcode proof_size in weights.rs
    
    * format
    
    * fixes
    
    * Fix weight
    
    * docs
    
    * fix
    
    * Update frame/pov-limit/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/pov-limit/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * empty on_ilde & update weight.rs
    
    * remove migration & fix benchmark
    
    * remove migration from migrations
    
    * initialize_pallet
    
    * use blake2
    
    * Update frame/pov-limit/Cargo.toml
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/pov-limit/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/pov-limit/Cargo.toml
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * rename pallet
    
    * make the wasters non-generic
    
    * rename to glutton
    
    * fix
    
    * small fixes & run benchmark
    
    * increase left over ref-time in tests
    
    * Update frame/glutton/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * or values
    
    * fix
    
    * generate weight
    
    * Update frame/glutton/Cargo.toml
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix nits
    
    * Adjustments
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix
    
    * Update weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Tweak constants
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * remove genesis config
    
    * passing tests
    
    * More precise results
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * update node-executor test
    
    * Calculate number of iterations in advance
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * increase criteria
    
    * Final fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/glutton/src/tests.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/glutton/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/glutton/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * fix typos
    
    * Update frame/glutton/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/glutton/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * expand/shrink
    
    * fmt
    
    * Revert "Update frame/glutton/src/lib.rs"
    
    This reverts commit 98a237a.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use CountedStorageMap
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add benchmark
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use manual map counter
    
    Something with the R/W count in the benchmarking result did not add
    up. Need to investigate but for now just using a manual counter.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use new template
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Doc+typos
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton
    
    * Apply suggestions from code review
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Add minimal README
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton
    
    ---------
    
    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: Bastian Köcher <git@kchr.de>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: command-bot <>
    Co-authored-by: Koute <koute@users.noreply.github.com>
    5 people authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    ea18266 View commit details
    Browse the repository at this point in the history
  9. Introduce EnsureOrigin to democracy.propose (paritytech#13410)

    * feat: add submitorigin to democracy
    
    * fix: democracy tests
    
    * fix: SubmitOrigin doc comment
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    mrshiposha and kianenigma authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    b77175d View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Rework storage iterators (paritytech#13284)

    * Rework storage iterators
    
    * Make sure storage iteration is also accounted for when benchmarking
    
    * Use `trie-db` from crates.io
    
    * Appease clippy
    
    * Bump `trie-bench` to 0.35.0
    
    * Fix tests' compilation
    
    * Update comment to clarify how `IterArgs::start_at` works
    
    * Add extra tests
    
    * Fix iterators on `Client` so that they behave as before
    
    * Add extra `unwrap`s in tests
    
    * More clippy fixes
    
    * Come on clippy, give me a break already
    
    * Rename `allow_missing` to `stop_on_incomplete_database`
    
    * Add `#[inline]` to `with_recorder_and_cache`
    
    * Use `with_recorder_and_cache` in `with_trie_db`; add doc comment
    
    * Simplify code: use `with_trie_db` in `next_storage_key_from_root`
    
    * Remove `expect`s in the benchmarking CLI
    
    * Add extra doc comments
    
    * Move `RawIter` before `TrieBackendEssence` (no code changes; just cut-paste)
    
    * Remove a TODO in tests
    
    * Update comment for `StorageIterator::was_complete`
    
    * Update `trie-db` to 0.25.1
    koute authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    86c6bb9 View commit details
    Browse the repository at this point in the history
  2. permissionless bond_extra in nomination pools (paritytech#12608)

    * create enum
    
    * logic check
    
    * add benchmarks
    
    * -enum
    
    * update
    
    * bond extra other
    
    * update
    
    * update
    
    * update
    
    * cargo fmt
    
    * Permissioned
    
    * update
    
    * cargo fmt
    
    * update
    
    * update index
    
    * doc update
    
    Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
    
    * doc update
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * cargo fmt
    
    * bond_extra auto compound
    
    * bond_extra_other
    
    * Apply suggestions from code review
    
    * Fixes from kian
    
    * updates docs & test
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update frame/nomination-pools/src/tests.rs
    
    * fixes + fmt
    
    * expand ClaimPermissions + add benchmarks
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nomination_pools
    
    * tidy up claim payout benches
    
    * fix
    
    * + test: claim_payout_other_works
    
    * comments, rename to set_claim_permission
    
    * fix comment
    
    * remove ClaimPermission on leave pool
    
    * fix test
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * + test for ClaimPermissions::remove()
    
    * impl can_bond_extra & can_claim_payout
    
    ---------
    
    Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: kianenigma <kian@parity.io>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Ross Bulat <ross@parity.io>
    5 people authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    473b5d0 View commit details
    Browse the repository at this point in the history
  3. [NFTs] Update attributes with offchain signature (paritytech#13390)

    * Allow to mint with the pre-signed signatures
    
    * Another try
    
    * WIP: test encoder
    
    * Fix the deposits
    
    * Refactoring + tests + benchmarks
    
    * Add sp-core/runtime-benchmarks
    
    * Remove sp-core from dev deps
    
    * Enable full_crypto for benchmarks
    
    * Typo
    
    * Fix
    
    * Update frame/nfts/src/mock.rs
    
    Co-authored-by: Squirrel <gilescope@gmail.com>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    * Add docs
    
    * Add attributes into the pre-signed object & track the deposit owner for attributes
    
    * Update docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    * Add the number of attributes provided to weights
    
    * Support pre-signed attributes
    
    * Update docs
    
    * Fix merge artifacts
    
    * Update docs
    
    * Add more tests
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    * Update frame/nfts/src/types.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Update types.rs
    
    ---------
    
    Co-authored-by: Squirrel <gilescope@gmail.com>
    Co-authored-by: command-bot <>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    3 people authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    b0ed48e View commit details
    Browse the repository at this point in the history
  4. generation of real benchmark functions for benchmarking v2 (paritytec…

    …h#13224)
    
    * function generation with _name working, need to modify signature
    
    * WIP
    
    * support custom BenchmarkResult<T> type
    
    * full support for BenchmarkResult<T> on benchmark function defs
    
    * support () return type for benchmark function defs that don't use ?
    
    * uncomment
    
    * fix where clause handling
    
    * fix benchmark function call bodies
    
    * proper parsing of return type
    
    * add UI tests for bad return type
    
    * fix detection of missing last_stmt with defined return type
    
    * UI tests covering missing last_stmt
    
    * properly detect and complain about empty benchmark function defs
    
    * fix missing Comma in Result<T, BenchmarkError> parsing + test
    
    * add additional UI test
    
    * allow complex path for BenchmarkResult and BenchmarkError in fn defs
    
    * add UI tests covering complex path for BenchmarkResult, BenchmarkError
    
    * retain doc comments and attributes
    
    * also add attributes to struct
    
    * add docs for benchmark function definition support
    
    * fix imports on benchmark example
    
    * fix issue with unused variables in extrinsic call fn def
    
    * fix up docs
    
    * remove support for v2::BenchmarkResult because it was confusing
    
    * fix typo
    
    * remove ability to use custom T for Result<T, BenchmarkError> in v2
    
    * use missing call error instead of empty_fn()
    
    * remove unneeded match statement
    
    * Add a proper QED
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * fix other QED
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * cargo fmt
    
    * add an explicit error for non TypePath as return type
    
    * tweak error warning and add a UI test for non TypePath return
    
    * remove comment
    
    * add docs about T and I generic params
    
    * improve docs referring to section "below"
    
    * pull out return type checking logic into its own function
    
    * pull out params parsing into its own function
    
    * pull out call_def parsing into its own function
    
    * add doc comment for missing_call()
    
    * replace spaces with tabs
    
    * add a result-based example to the benchmarking examples
    
    ---------
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    sam0x17 and KiChjang authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    56de870 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Bump wasmtime to 6.0.0 (paritytech#13429)

    * Bump `wasmtime` to 6.0.0
    
    * Disable cranelift egraphs
    koute authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    5a1d521 View commit details
    Browse the repository at this point in the history
  2. Abstracts elections-phragmen pallet to use NposSolver (paritytech#12588)

    * Abstracts elections-phragmen pallet to use NposSolver
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * changes the name of the pallet; adds changelog
    
    * update changelog
    
    * Adds weight testing
    
    * Adds log macro_rules
    
    * renames elections-phragment dir to elections
    
    * weights rename
    
    * fixes typo in cargo toml
    
    * pre/post solve weight scafolding
    
    * refactor do_post_election
    
    * refactors into pre and post election solve for independent benchmarking
    
    * deconstructs PreElectionResults struct
    
    * updates benchmarking pre and post election solve; mock weights
    
    * Update frame/elections/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/elections/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * addresses PR comments
    
    * adds pre_solve and post_sove weights
    
    * Adds comments on election pallet id param name change
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_elections
    
    * Finishes pre-post solve weights
    
    * Update frame/elections/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/elections/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Addresses PR comments: no panic in on_init path; nits
    
    * Fixes node build
    
    * Implements approval voting to use as a `NposSolver` (paritytech#13367)
    
    * Implements the approval voting methods in sp_npos_elections
    
    * fmt
    
    * remove unecessary file
    
    * comment clarification
    
    * re-run weights
    
    * fix typo
    
    * updates MaxVoters in tests for integrity_tests to pass
    
    * Refactors election provider support benchmarks outside its own crate (paritytech#13431)
    
    * Refactors election provider support benchmarks outside its own crate
    ---------
    
    Co-authored-by: command-bot <>
    
    ---------
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Ross Bulat <ross@parity.io>
    3 people authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4be5dd2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    919d5cf View commit details
    Browse the repository at this point in the history
  4. Nfts attribute read interface (paritytech#13349)

    * feat: add custom and system attributes to Inspect
    
    * feat: add nfts runtime api
    
    * fix: pass std feature to runtime api
    
    * fix: api copyright
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    mrshiposha and joepetrowski authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    91b4739 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fbddfbd View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. wasm-executor: Support growing the memory (paritytech#12520)

    * As always, start with something :P
    
    * Add support for max_heap_pages
    
    * Add support for wasmtime
    
    * Make it compile
    
    * Fix compilation
    
    * Copy wrongly merged code
    
    * Fix compilation
    
    * Some fixes
    
    * Fix
    
    * Get stuff working
    
    * More work
    
    * More fixes
    
    * ...
    
    * More
    
    * FIXEs
    
    * Switch wasmi to use `RuntimeBlob` like wasmtime
    
    * Removed unused stuff
    
    * Cleanup
    
    * More cleanups
    
    * Introduce `CallContext`
    
    * Fixes
    
    * More fixes
    
    * Add builder for creating the `WasmExecutor`
    
    * Adds some docs
    
    * FMT
    
    * First round of feedback.
    
    * Review feedback round 2
    
    * More fixes
    
    * Fix try-runtime
    
    * Update client/executor/wasmtime/src/instance_wrapper.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/executor/common/src/wasm_runtime.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/executor/common/src/runtime_blob/runtime_blob.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/executor/common/src/wasm_runtime.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/allocator/src/freeing_bump.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Update client/allocator/src/freeing_bump.rs
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Feedback round 3
    
    * FMT
    
    * Review comments
    
    ---------
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    bkchr and koute authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    1837f42 View commit details
    Browse the repository at this point in the history
  2. Automatically format ci pipeline specs with prettier (paritytech#13441)

    * [ci] Deduplicate variables: sections in pipeline specs
    
    The prettier yaml parser doesn't like these.
    
    * [ci] provide git clean filter to format pipeline specs
    
    * [ci] Reformat pipeline specs with prettier
    Mira Ressel authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    37e3abd View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2023

  1. Yieldable queues for pallet MessageQueue (paritytech#13424)

    * Add Yield message processing error
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add NoopServiceQueues
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Implement temporary error aka Yield
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make NoopMessageProcessor generic
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Mock pausable message processor
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Test paused queues
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Integration test paused queues
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use WeightMeter instead of weight return
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make compile
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_message_queue
    
    * Fix 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: command-bot <>
    ggwpez authored Feb 25, 2023
    Configuration menu
    Copy the full SHA
    9526f04 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Support the subscription of every imported block (paritytech#13372)

    * Support the subscription of every import block
    
    Close paritytech#13315
    
    * Clean up any closed block import notification sinks
    
    * Apply review suggestions
    
    * Nit
    
    * `every_block_import_notification_sinks` -> `every_import_notification_sinks`
    
    * Apply review suggestions
    liuchengxu authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3d8a025 View commit details
    Browse the repository at this point in the history
  2. [client/network] Remove unused argument (paritytech#13444)

    * improve error message
    
    * removed unused argument
    
    * docs: disconnect_peer_inner no longer accepts `ban`
    
    * remove redundant trace message
    
    ```
    sync: Too many full nodes, rejecting 12D3KooWSQAP2fh4qBkLXBW4mvCtbAiK8sqMnExWHHTZtVAxZ8bQ
    sync: 12D3KooWSQAP2fh4qBkLXBW4mvCtbAiK8sqMnExWHHTZtVAxZ8bQ disconnected
    ```
    
    is enough to understand that we've refused to connect to the given peer
    
    * Revert "removed unused argument"
    
    This reverts commit c87f755.
    
    * ban peer for 10s after disconnect
    
    * do not accept incoming conns if peer was banned
    
    * Revert "do not accept incoming conns if peer was banned"
    
    This reverts commit 7e59d05.
    
    * Revert "ban peer for 10s after disconnect"
    
    This reverts commit 3859201.
    
    * Revert "Revert "removed unused argument""
    
    This reverts commit f1dc623.
    
    * format code
    
    * Revert "remove redundant trace message"
    
    This reverts commit a87e65f.
    melekes authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    4ad96cf View commit details
    Browse the repository at this point in the history
  3. Further storage iterator refactoring (paritytech#13445)

    * Remove `Backend::apply_to_key_values_while`
    
    * Add `IterArgs::start_at_exclusive`
    
    * Use `start_at_exclusive` in functions which used `Backend::apply_to_key_values_while`
    
    * Remove `Backend::apply_to_keys_while`
    
    * Remove `for_keys_with_prefix`, `for_key_values_with_prefix` and `for_child_keys_with_prefix`
    
    * Remove unnecessary `to_vec` calls
    
    * Fix unused method warning in no_std
    
    * Remove unnecessary import
    
    * Also check proof sizes in the test
    
    * Iterate over both keys and values in `prove_range_read_with_size` and add a test
    koute authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    7d76719 View commit details
    Browse the repository at this point in the history
  4. Move grandpa crates to consensus folder (paritytech#13458)

    * Move grandpa under consensus dir
    * Rename grandpa folder
    * Finish grandpa renaming
    * Minor tweaks
    * Cargo fmt
    * Adjust path to chain spec
    davxy authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    7c8b89b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1cbb2ef View commit details
    Browse the repository at this point in the history
  6. pallet-treasury: Ensure we respect max_amount for spend across ba…

    …tch calls (paritytech#13468)
    
    * `pallet-treasury`: Ensure we respect `max_amount` for spend across batch calls
    
    When calling `spend` the origin defines the `max_amount` of tokens it is allowed to spend. The
    problem is that someone can send a `batch(spend, spend)` to circumvent this restriction as we don't
    check across different calls that the `max_amount` is respected. This pull request fixes this
    behavior by introducing a so-called dispatch context. This dispatch context is created once per
    outer most `dispatch` call. For more information see the docs in this pr. The treasury then uses
    this dispatch context to attach information about already spent funds per `max_amount` (we assume
    that each origin has a different `max_amount` configured). So, a `batch(spend, spend)` is now
    checked to stay inside the allowed spending bounds.
    
    Fixes: paritytech#13167
    
    * Import `Box` for wasm
    
    * FMT
    bkchr authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    2957120 View commit details
    Browse the repository at this point in the history
  7. Add Windows support for storage monitor (paritytech#13466)

    * Add Windows support for storage monitor
    
    * Apply suggested changes
    ark0f authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3d40b17 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0d36e75 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Adjust the ratio of the in-peers/out-peers (paritytech#13477)

    Establish fewer outbound connections in an attempt to allow publicly
    available nodes to accept more full nodes.
    
    Maintain the overall number of connections node should establish.
    altonen authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    f2615a4 View commit details
    Browse the repository at this point in the history
  2. Fix V2 PoV benchmarking (paritytech#13485)

    * Bump default 'additional_trie_layers' to two
    
    The default here only works for extremely small runtimes, which have
    no more than 16 storage prefices. This is changed to a "sane" default
    of 2, which is save for runtimes with up to 4096 storage prefices (eg StorageValue).
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update tests and test weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix PoV weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_message_queue
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_glutton
    
    * Fix sanity check
    
    >0 would also do as a check, but let's try this.
    
    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: command-bot <>
    ggwpez authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    2a7887e View commit details
    Browse the repository at this point in the history
  3. Move BEEFY code to consensus (paritytech#13484)

    * Move beefy primitives to consensus dir
    * Move beefy gadget to client consensus folder
    * Rename beefy crates
    davxy authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b7e0518 View commit details
    Browse the repository at this point in the history
  4. chore: move genesis block builder to chain-spec crate. (paritytech#13427

    )
    
    * chore: move genesis block builder to block builder crate.
    
    * add missing file
    
    * chore: move genesis block builder to sc-chain-spec
    
    * Update client/chain-spec/src/genesis.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update test-utils/runtime/src/genesismap.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update test-utils/runtime/client/src/lib.rs
    
    * fix warnings
    
    * fix warnings
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    yjhmelody and bkchr authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    ad53996 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Speed up storage iteration from within the runtime (paritytech#13479)

    * Speed up storage iteration from within the runtime
    
    * Move the cached iterator into an `Option`
    
    * Use `RefCell` in no_std
    
    * Simplify the code slightly
    
    * Use `Option::replace`
    
    * Update doc comment for `next_storage_key_slow`
    koute authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    aa31d1b View commit details
    Browse the repository at this point in the history
  2. Make unbounded channels size warning exact (part 1) (paritytech#13490)

    * Replace `futures-channel` with `async-channel` in `out_events`
    
    * Apply suggestions from code review
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    
    * Also print the backtrace of `send()` call
    
    * Switch from `backtrace` crate to `std::backtrace`
    
    * Remove outdated `backtrace` dependency
    
    * Remove `backtrace` from `Cargo.lock`
    
    ---------
    
    Co-authored-by: Koute <koute@users.noreply.github.com>
    dmitry-markin and koute authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    5cd4847 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ae4738 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3986560 View commit details
    Browse the repository at this point in the history
  5. Expose ChargedAmount (paritytech#13488)

    * Expose `ChargedAmount`
    
    * Fix imports
    pmikolajczyk41 authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    376ada8 View commit details
    Browse the repository at this point in the history
  6. sc-consensus-beefy: fix metrics: use correct names (paritytech#13494)

    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    024bfce View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Assets pallet: Giving the asset owner the ability to set minimum bala…

    …nce (paritytech#13486)
    
    * set_min_balance
    
    * allow when new_min_balance < old_min_balance
    
    * add more specific event
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/assets/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_assets
    
    * use actual weight
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: command-bot <>
    Szegoo and bkchr authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    4aa213c View commit details
    Browse the repository at this point in the history
  2. network-gossip: Do not report peer on duplicate message if its the fi…

    …rst time (paritytech#13508)
    
    Two peers can send us the same gossip message. Before this pr we would have reported the second peer
    for sending a duplicate message. However, this isn't correct if we haven't seen the message from
    this peer yet. So, we should not report them as they can not be aware of our internal state.
    bkchr authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    7d00033 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df93a0d View commit details
    Browse the repository at this point in the history
  4. Return account's asset balances (paritytech#13352)

    * Runtime method to get user's assets balances
    
    * Fix test (typo)
    
    * Update frame/assets/src/functions.rs
    
    * Remove instance param
    
    * Update frame/assets/src/functions.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Remove instance param
    
    * Refactor
    
    * Chore
    
    * Update doc
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    jsidorenko and bkchr authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    d1d67cd View commit details
    Browse the repository at this point in the history
  5. Deprecate Weight::from_{ref_time, proof_size} (paritytech#13475)

    * Deprecate Weight::from_{ref_time, proof_size}
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update templates
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use from_parts
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use from_parts
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Dont revert comment 🤦
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances
    
    * Update weight files
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * More fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Adapt to Master changes
    
    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: command-bot <>
    ggwpez authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    6e81199 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    6f923ee View commit details
    Browse the repository at this point in the history
  2. [NFTs] Emit new PalletAttributeSet event (paritytech#13525)

    * Emit new PalletAttributeSet event
    
    * Chore
    jsidorenko authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e8f5bc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96a6cd3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2cb4825 View commit details
    Browse the repository at this point in the history
  5. Salary pallet (paritytech#13378)

    * More drafting
    
    * Paymaster pallet
    
    * Fix build
    
    * More tests
    
    * Rename
    
    * Rename
    
    * Renaming
    
    * Revert old changes
    
    * Multi-phase payouts to avoid bank-runs
    
    * Tests
    
    * Tests
    
    * Allow payment to be targeted elsewhere
    
    * Proper ssync payment failure handling
    
    * Test for repayment
    
    * Docs
    
    * Impl RankedMembers for RankedCollective
    
    * Implement Pay for Pot (i.e. basic account).
    
    * Benchmarks
    
    * Weights
    
    * Introduce Salary benchmark into node
    
    * Fix warning
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_salary
    
    * Update primitives/arithmetic/src/traits.rs
    
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    
    * Update lib.rs
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Docs
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Fix
    
    * Fixes
    
    * Fixes
    
    * Move some salary traits stuff to a shared location
    
    * Fix
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Mul floor
    
    * Fix warnings
    
    * Fix test
    
    * Docs
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    4 people authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    48c9de8 View commit details
    Browse the repository at this point in the history
  6. Assets pallet: Don't allow set_min_balance when sufficient (parityt…

    …ech#13510)
    
    * Assets pallet: Don't allow set_min_balance when sufficient
    
    * fix
    
    * fix benchmark
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_assets
    
    * Update frame/assets/src/lib.rs
    
    * fix
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_assets
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Szegoo and bkchr authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e923511 View commit details
    Browse the repository at this point in the history
  7. bump zombienet version to v1.3.37 (paritytech#13447)

    * bump zombienet version to v1.3.35
    
    * remove  checks, since now is checked by zn
    
    * Update .gitlab-ci.yml
    
    ---------
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    pepoviola and melekes authored Mar 3, 2023
    Configuration menu
    Copy the full SHA
    2520ded View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2023

  1. Just a typo (paritytech#13533)

    * Typo
    
    * Update Salary weight
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix 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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    gavofyork and ggwpez authored Mar 4, 2023
    Configuration menu
    Copy the full SHA
    c2034a8 View commit details
    Browse the repository at this point in the history
  2. FRAME: add a basic readme (paritytech#13520)

    abebeos authored Mar 4, 2023
    Configuration menu
    Copy the full SHA
    f57ff37 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

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

Commits on Mar 6, 2023

  1. [contracts] Forbid calling back to contracts after switching to runti…

    …me (paritytech#13443)
    
    * save: compiles and tests pass
    
    * save: added global
    
    * done + test
    
    * cleanup
    
    * changelog update
    
    * cleanup
    
    * address feedback, step 1
    
    * address feedback, step 2
    
    * address feedback, step 3
    
    * returned updated gas_estimation_call_runtime test
    
    * clippy fix
    
    * address feedback, step 4
    
    * address feedback, step 5
    
    * move data from context to inputs
    
    * docs fix
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * address feedback, step 6
    
    ---------
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    agryaznov and athei authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    1d9a139 View commit details
    Browse the repository at this point in the history
  2. chore: reduce copy times for bytes in core-hashing (paritytech#13519)

    * chore: reduce copy bytes for core-hashing
    
    * improve by suggestions and remove unused `xx_into`
    
    * chore: replace sha2 crate by `sp_core::hashing` for pallet-alliance
    
    * fix features
    
    * use sp-core-hashing directly
    
    * add to dev-dep
    yjhmelody authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    435446f View commit details
    Browse the repository at this point in the history
  3. [CI] Remove redundant trigger-review-pipeline job (paritytech#13547)

    This job is now redundant since pipelines are run for each commit, so it can be safely removed. Cheers
    s3krit authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    c408123 View commit details
    Browse the repository at this point in the history
  4. Extract syncing protocol from sc-network (paritytech#12828)

    * Move import queue out of `sc-network`
    
    Add supplementary asynchronous API for the import queue which means
    it can be run as an independent task and communicated with through
    the `ImportQueueService`.
    
    This commit removes removes block and justification imports from
    `sc-network` and provides `ChainSync` with a handle to import queue so
    it can import blocks and justifications. Polling of the import queue is
    moved complete out of `sc-network` and `sc_consensus::Link` is
    implemented for `ChainSyncInterfaceHandled` so the import queue
    can still influence the syncing process.
    
    * Move stuff to SyncingEngine
    
    * Move `ChainSync` instanation to `SyncingEngine`
    
    Some of the tests have to be rewritten
    
    * Move peer hashmap to `SyncingEngine`
    
    * Let `SyncingEngine` to implement `ChainSyncInterface`
    
    * Introduce `SyncStatusProvider`
    
    * Move `sync_peer_(connected|disconnected)` to `SyncingEngine`
    
    * Implement `SyncEventStream`
    
    Remove `SyncConnected`/`SyncDisconnected` events from
    `NetworkEvenStream` and provide those events through
    `ChainSyncInterface` instead.
    
    Modify BEEFY/GRANDPA/transactions protocol and `NetworkGossip` to take
    `SyncEventStream` object which they listen to for incoming sync peer
    events.
    
    * Introduce `ChainSyncInterface`
    
    This interface provides a set of miscellaneous functions that other
    subsystems can use to query, for example, the syncing status.
    
    * Move event stream polling to `SyncingEngine`
    
    Subscribe to `NetworkStreamEvent` and poll the incoming notifications
    and substream events from `SyncingEngine`.
    
    The code needs refactoring.
    
    * Make `SyncingEngine` into an asynchronous runner
    
    This commits removes the last hard dependency of syncing from
    `sc-network` meaning the protocol now lives completely outside of
    `sc-network`, ignoring the hardcoded peerset entry which will be
    addressed in the future.
    
    Code needs a lot of refactoring.
    
    * Fix warnings
    
    * Code refactoring
    
    * Use `SyncingService` for BEEFY
    
    * Use `SyncingService` for GRANDPA
    
    * Remove call delegation from `NetworkService`
    
    * Remove `ChainSyncService`
    
    * Remove `ChainSync` service tests
    
    They were written for the sole purpose of verifying that `NetworWorker`
    continues to function while the calls are being dispatched to
    `ChainSync`.
    
    * Refactor code
    
    * Refactor code
    
    * Update client/finality-grandpa/src/communication/tests.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Fix warnings
    
    * Apply review comments
    
    * Fix docs
    
    * Fix test
    
    * cargo-fmt
    
    * Update client/network/sync/src/engine.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Update client/network/sync/src/engine.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    * Add missing docs
    
    * Refactor code
    
    ---------
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    altonen and melekes authored Mar 6, 2023
    Configuration menu
    Copy the full SHA
    e7aa37e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f5a22a View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    2aa2b4e View commit details
    Browse the repository at this point in the history
  2. Switch to the blake2b_simd crate in sp-core-hashing (paritytech#1…

    …3548)
    
    * Switch to the `blake2b_simd` crate in `sp-core-hashing`
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev frame_benchmarking
    
    ---------
    
    Co-authored-by: command-bot <>
    koute authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    6a15476 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c09ce08 View commit details
    Browse the repository at this point in the history
  4. rpc/chainHead: Fix pruned blocks events from forks (paritytech#13379)

    * rpc/chainhead: Test unpin for noncanonical prunned blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Ensure fork is not reported by the Finalized event
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chainhead: Detect pruned forks to ignore from events
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Check unpin can be called on pruned hashes
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Fix clippy
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Handle race with memory blocks and notifications
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Add data config for the `follow` future
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Address feedback
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Move best block cache on the data config
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Send new events from the finalized stream
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chian_head: Report all pruned blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Move `chainHead_follow` logic on dedicated file
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Delegate follow logic to `chain_head_follow`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Remove subscriptions on drop
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Ignore pruned blocks for a longer fork
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Check all pruned blocks are reported, not just stale heads
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Remove println debug and fix indentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Remove unnecessary trait bounds
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Add debug log for pruned forks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Revert "rpc/chain_head: Add debug log for pruned forks"
    
    This reverts commit 425d6e7.
    
    * Adjust blockID for testing
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update client/rpc-spec-v2/src/chain_head/chain_head_follow.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    * rpc/chain_head: Rename `ChainHeadFollow` to `ChainHeadFollower`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Remove subscriptions manually
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Improve log messages by adding subID and errors
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Ensure `follow` stops sending events on first error
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Use default constructor
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Add `StartupPoint` structure
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Rename `in_memory_blocks`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Fix comment typo
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Keep unique blocks and remove itertools
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Make sure `bestBlocks` events are generated in order
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Maintain order of reported blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Parent of finalized block could be unpinned
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Fix warning
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    ---------
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    lexnv and davxy authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    4d8f3d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d90e41a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cab4851 View commit details
    Browse the repository at this point in the history
  7. Pub enum runtime to pub struct runtime (paritytech#13250)

    * pub enum Runtime -> pub struct Runtime
    
    * changing some more
    
    * fmt
    
    * updating *.stderr files
    
    * re-run trybuild after rust update
    
    * keep a test file for `pub enum Runtime`
    
    * Delete construct_runtime_2.rs
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    a-moreira and bkchr authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    8d0b756 View commit details
    Browse the repository at this point in the history
  8. consensus: remove caching functionality from block import pipeline (p…

    …aritytech#13551)
    
    * consensus: remove caching functionality from block import pipeline
    
    * client: update docs on Verifier::verify
    
    * node: fix block production benchmark
    andresilva authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    8a4746e View commit details
    Browse the repository at this point in the history
  9. MessageQueue: unknit permanently overweight books (paritytech#13528)

    * Unknit permanently overweight books
    
    A book with only permanently overweight messages should be unkit
    from the ready ring. This does currently not happen since perm.
    overweight messages are not counted as "processed" and therefore
    not increase the "total_processed" counter.
    
    This is only a problem when the next and only message that is
    processed is overweight. Eventually this should resolve itself
    when another non-overweight message is enqueued and processed.
    But for correctness it should be unknitted.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * One more tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet-message-queue
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: command-bot <>
    ggwpez authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    306382b View commit details
    Browse the repository at this point in the history
  10. Offences report system rework (paritytech#13425)

    * Experiments with common equivocation trait
    
    * Improved equivocation trait
    
    * Fix grandpa equivocation implementation
    
    * Remove some cruft
    
    * Remove some more cruft
    
    * More generic naming
    
    * Simplification of offences manipilation
    
    * More refactory
    
    * Some prograss with the encapsulation of offence report system
    
    * Finally unit type works as a universal null report system
    
    * Align substrate node code
    
    * Further simplification
    
    * Fix test utils
    
    * Remove not required associated type
    
    * Fix benches
    
    * Rollback to prev field name
    
    * Box big params
    
    * Fix typo
    
    * Remove new tag computation
    
    * Remove default implementations
    
    * Better docs
    
    * Return 'Result' instead of bool
    
    * Change offence report system return types
    
    * Some renaming and documentation
    
    * Improve documentation
    
    * More abstract offence report system
    
    * Rename 'consume_evidence' to 'process_evidence'
    
    * Further docs refinements
    
    * Doc for dummy offence report
    
    * Fix rustdoc
    
    * Fix after master merge
    
    * Apply code review suggestions
    
    * Improve docs
    davxy authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    851e73a View commit details
    Browse the repository at this point in the history
  11. fix: Fixes paritytech#13071 change order of ldd command and update ./…

    …docker/README.md (paritytech#13072)
    
    * fixes paritytech#13071
    
    * remove warning
    ltfschoen authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    f59f501 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    7c3d279 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77c675b View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Bump wasmtime from 6.0.0 to 6.0.1 (paritytech#13566)

    Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.0 to 6.0.1.
    - [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
    - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
    - [Commits](bytecodealliance/wasmtime@v6.0.0...v6.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: wasmtime
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    48e7cb1 View commit details
    Browse the repository at this point in the history
  2. Undeploy insecure randomness pallet (paritytech#13560)

    * Undeploy insecure randomness pallet from node-template
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update lockfile
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove from runtime
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    e46d96c View commit details
    Browse the repository at this point in the history
  3. grandpa: send neighbor packets to light clients on set transition (pa…

    …ritytech#13559)
    
    * grandpa: send neighbor packets to light clients on set transition
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * remove match statement
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    andresilva and bkchr authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    11b9326 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48c8875 View commit details
    Browse the repository at this point in the history
  5. Add amalgamation traits for NFT CollectionId and ItemId (paritytech#1…

    …3514)
    
    * Add amalgamation traits for NFT CollectionId, ItemId, and DestroyWitness
    
    * Apply @bkchr suggests
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    ---------
    
    Co-authored-by: command-bot <>
    jasl authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    33eee69 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    0f3b2a2 View commit details
    Browse the repository at this point in the history
  2. Nfts: minor fixes (paritytech#13576)

    * Rename owner_of_item to owned_item
    
    * Move AttributeNamespace into the types file
    jsidorenko authored Mar 10, 2023
    Configuration menu
    Copy the full SHA
    8f9b074 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. Logic for the (Core) Fellowship (paritytech#13503)

    * More drafting
    
    * Paymaster pallet
    
    * Fix build
    
    * More tests
    
    * Rename
    
    * Rename
    
    * Renaming
    
    * Revert old changes
    
    * Multi-phase payouts to avoid bank-runs
    
    * Tests
    
    * Tests
    
    * Allow payment to be targeted elsewhere
    
    * Proper ssync payment failure handling
    
    * Test for repayment
    
    * Docs
    
    * Impl RankedMembers for RankedCollective
    
    * Implement Pay for Pot (i.e. basic account).
    
    * Benchmarks
    
    * Weights
    
    * Introduce Salary benchmark into node
    
    * Fix warning
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_salary
    
    * Update primitives/arithmetic/src/traits.rs
    
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    
    * Update lib.rs
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Docs
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Fix
    
    * Fixes
    
    * Fixes
    
    * Move some salary traits stuff to a shared location
    
    * Initial draft
    
    * Comment out bits
    
    * Fix
    
    * First couple of tests
    
    * One more test
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/salary/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Mul floor
    
    * Tests
    
    * Mul floor
    
    * Fix warnings
    
    * Fix test
    
    * Tests
    
    * Last tests
    
    * Docs
    
    * Fix warnings
    
    * Benchmarks
    
    * Weights
    
    * Integrate benchmark
    
    * Fixes
    
    * Fix
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship
    
    * Better process flow
    
    * Fix benchmarks & tests
    
    * Docs
    
    * Fixes
    
    * Fixes
    
    * docs
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship
    
    * Docs and allow custom evidence size
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_core_fellowship
    
    * Update frame/core-fellowship/src/lib.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/core-fellowship/src/tests.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/core-fellowship/src/benchmarking.rs
    
    * Update frame/core-fellowship/src/benchmarking.rs
    
    * Apply suggestions from code review
    
    * Rename
    
    * Update primitives/arithmetic/src/traits.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * Reduce magic numbers
    
    * Update frame/core-fellowship/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/core-fellowship/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Benchmark result
    
    * Remove dependency
    
    * set_params should pay
    
    * induct should pay
    
    * Remove some other free calls
    
    ---------
    
    Co-authored-by: command-bot <>
    Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    5 people authored Mar 11, 2023
    Configuration menu
    Copy the full SHA
    9d34fb0 View commit details
    Browse the repository at this point in the history
  2. Fix dependabot labels (paritytech#13578)

    * dependabot: fix label names
    
    * dependabot: apply E2-dependencies label for Cargo.lock changes
    Mira Ressel authored Mar 11, 2023
    Configuration menu
    Copy the full SHA
    3c3b223 View commit details
    Browse the repository at this point in the history
  3. BEEFY: introduce offence report system (paritytech#13564)

    * Trivial adjustments to beefy and grandpa pallets
    
    * Introduce offence report system to beefy pallet
    
    * Minor adjustments
    
    * Fix beefy-mmr mock
    
    * Apply suggestions from code review
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    ---------
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    davxy and melekes authored Mar 11, 2023
    Configuration menu
    Copy the full SHA
    310fe40 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. [NFTs] Rework permissions model (paritytech#13482)

    * Disallow admin to transfer or burn items he doesn't own
    
    * lock_collection should be accessible by collection's owner only
    
    * Allow admin to access lock_item_properties()
    
    * Fix do_lock_item_properties
    
    * Move update_mint_settings() to Issuer
    
    * Rename check_owner to check_origin
    
    * Typo
    
    * Make admin to be in charge of managing the metadata
    
    * Make admin the main attributes manager
    
    * offchain mint should be signed by Issuer
    
    * Remove the special case when the Issuer calls the mint() function
    
    * Rework burn and destroy methods
    
    * Return back item_metadatas
    
    * Don't repatriate the deposit on transfer
    
    * A bit more tests
    
    * One more test
    
    * Add migration
    
    * Chore
    
    * Clippy
    
    * Rename to owned_item
    
    * Address comments
    
    * Replace .filter_map with .find_map
    
    * Improve version validation in pre_upgrade()
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nfts
    
    ---------
    
    Co-authored-by: parity-processbot <>
    jsidorenko authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    f5c2cec View commit details
    Browse the repository at this point in the history
  2. Remove use of trait Store from all pallets and deprecate it. (parityt…

    …ech#13535)
    
    * Remove use of trait Store from staking pallet
    
    * Remove use of trait Store from bounties pallet
    
    * Remove use of trait Store from collective pallet
    
    * Remove use of trait Store from babe pallet
    
    * Remove use of trait Store from assets pallet
    
    * Remove use of trait Store from grandpa pallet
    
    * Remove use of trait Store from balances pallet
    
    * Remove use of trait Store from authorship pallet
    
    * Remove use of trait Store from authority-discovery pallet
    
    * Remove use of trait Store from atomic-swap pallet
    
    * Remove use of trait Store from sudo pallet
    
    * Remove use of trait Store from scheduler pallet
    
    * Remove use of trait Store from scored-pool pallet
    
    * Remove use of trait Store from society pallet
    
    * Remove use of trait Store from lottery pallet
    
    * Remove use of trait Store from executive pallet
    
    * Remove use of trait Store from democracy pallet
    
    * Remove use of trait Store from elections-phragmen pallet
    
    * Remove use of trait Store from indices pallet
    
    * Remove use of trait Store from identity pallet
    
    * Remove use of trait Store from multisig pallet
    
    * Remove use of trait Store from merkle-mountain-range pallet
    
    * Remove use of trait Store from im-online pallet
    
    * Remove use of trait Store from membership pallet
    
    * Remove use of trait Store from nicks pallet
    
    * Remove use of trait Store from session pallet
    
    * Remove use of trait Store from transaction-payment pallet
    
    * Remove use of trait Store from utility pallet
    
    * Remove use of trait Store from child-bounties pallet
    
    * Remove use of trait Store from nis pallet
    
    * Remove use of trait Store from nfts pallet
    
    * Remove use of trait Store from conviction-voting pallet
    
    * Remove use of trait Store from treasury pallet
    
    * Remove use of trait Store from vesting pallet
    
    * Remove use of trait Store from preimage pallet
    
    * Remove use of trait Store from uniques pallet
    
    * Remove use of trait Store from ranked-collective pallet
    
    * Remove use of trait Store from beefy-mmr pallet
    
    * Remove use of trait Store from referenda pallet
    
    * Remove use of trait Store from whitelist pallet
    
    * Remove use of trait Store from alliance pallet
    
    * Remove use of trait Store from nomination-pools pallet
    
    * Remove use of trait Store from state-trie-migration pallet
    
    * Remove use of trait Store from message-queue pallet
    
    * Remove use of trait Store from root-offences pallet
    
    * Remove use of trait Store from root-testing pallet
    
    * Remove use of trait Store from timestamps pallet
    
    * Remove use of trait Store from system pallet
    
    * Remove use of trait Store from offences pallet
    
    * Remove use of trait Store from recovery pallet
    
    * Remove use of trait Store from node-authorization pallet
    
    * Remove use of trait Store from proxy pallet
    
    * Remove use of trait Store from benchmarking pallet
    
    * Remove use of trait Store from bags-list pallet
    
    * Add deprecated warning in store_trait
    
    * Change warning message
    
    * Run cargo fmt
    
    * Fix warning and update tests
    
    * Remove unnecessary allow deprecated
    
    * Remove use of trait Store
    
    * Fix mismatch in expected output
    
    * Minor update to warning message for deprecation of generate_store with Store trait attribute
    
    * Fixes as per review comments
    
    * Fixes as per review suggestions
    
    * Remove use of Store trait from core-fellowship pallet
    
    * Fix type in store_trait.rs
    
    * Fixes as pre review comment
    vivekvpandya authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    1bbde5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30aa444 View commit details
    Browse the repository at this point in the history
  4. Metadata V15: Expose pallet documentation (paritytech#13452)

    * frame/proc: Helpers to parse pallet documentation attributes
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/proc: Expand pallet with runtime metadata documentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/dispatch: Implement doc function getter for dispatch
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/tests: Check exposed runtime metadata documentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/tests: Add UI tests for `pallet_doc` attribute
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/proc: Document pallet_doc attribute
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * frame/support: Use `derive_syn_parse`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update frame/support/procedural/src/lib.rs
    
    Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
    
    * frame/support: Improve documentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    ---------
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
    lexnv and niklasad1 authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    959c5b6 View commit details
    Browse the repository at this point in the history
  5. sc-slots: Cleanup (paritytech#13590)

    Calculate remaining proposal duration once and also use proposal time as timeout for creating the
    inherent data.
    bkchr authored Mar 13, 2023
    Configuration menu
    Copy the full SHA
    3a94009 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. [NFTs] Allow to set the role to None (paritytech#13591)

    * Allow to unset the role
    
    * Chore
    
    * Array instead of vec
    
    ---------
    
    Co-authored-by: parity-processbot <>
    jsidorenko authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    4f28d29 View commit details
    Browse the repository at this point in the history
  2. Move code from sc-network-common back to sc-network (paritytech#1…

    …3592)
    
    * Move service tests to `client/network/tests`
    
    These tests depend on `sc-network` and `sc-network-sync` so they should
    live outside the crate.
    
    * Move some configs from `sc-network-common` to `sc-network`
    
    * Move `NetworkService` traits to `sc-network`
    
    * Move request-responses to `sc-network`
    
    * Remove more stuff
    
    * Remove rest of configs from `sc-network-common` to `sc-network`
    
    * Remove more stuff
    
    * Fix warnings
    
    * Update client/network/src/request_responses.rs
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * Fix cargo doc
    
    ---------
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    altonen and dmitry-markin authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    897b95d View commit details
    Browse the repository at this point in the history
  3. sc-consensus-beefy: fix on-demand async state machine (paritytech#13599)

    `futures_util::pending!()` macro only yields to the event loop once,
    resulting in many calls to the `OnDemandJustificationsEngine::next()`
    made by the tokio reactor even though the on-demand-engine is idle.
    
    Replace it with the correct `futures::future::pending::<()>()` function
    which forever yields to the event loop, which is what we want when
    the engine is idle.
    
    Signed-off-by: Adrian Catangiu <adrian@parity.io>
    acatangiu authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    39510ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03ea99e View commit details
    Browse the repository at this point in the history
  5. sp-api: Support expanding the macro code (paritytech#13573)

    * sp-api: Support expanding the macro code
    
    This pr introduces the `expander` crate to expand the generated source code into a file. This gives
    better error reporting when trying to fix issues in the macro itself as Rustc will point to the line
    in this file. The feature can be enabled by setting `SP_API_EXPAND=1` at compile time.
    
    Besides that the generated code is changed to fix warnings in the exanped version.
    
    * Fixes
    bkchr authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    9eafc96 View commit details
    Browse the repository at this point in the history
  6. frame epm: expose feasibility_check in MinerConfig (paritytech#13555)

    * frame epm: expose feasibity_check in miner
    
    The goal with this commit is to expose the `feasibity_check` such
    that anyone that implements the `MinerConfig trait` can utilize it
    
    * cleanup
    
    * fix tests
    niklasad1 authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    e44038a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Nomination Pool Commission (paritytech#13128)

    * + nomination pool commission
    
    * fmt
    
    * use register_update()
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * fmt
    
    * amend comments
    
    * + test for set_commission
    
    * fix
    
    * Update frame/nomination-pools/fuzzer/src/call.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * rm comment
    
    * use PalletError
    
    * some feedback item amendments
    
    * update weights
    
    * revert PalletError stuff
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * make pool_events_since_last_call more modular
    
    * fmt
    
    * fix call indexes + test
    
    * add payout teste
    
    * add event to max_commisson updating current
    
    * begin refactor
    
    * some debugging
    
    * update
    
    * more tests
    
    * rewardpol not working
    
    * commission refactor
    
    * pending rewards returns commission
    
    * fmt
    
    * add claim_commission call
    
    * + claim_commission
    
    * fix benchmarks
    
    * weight 0 for now
    
    * + claim_commission benchmark
    
    * fmt
    
    * apply commission to benchmarks
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nomination_pools
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * clippy
    
    * + pending
    
    * add RewardPool.total_rewards_acounted
    
    * fixes
    
    * println
    
    * more logs
    
    * Fix plus cleanups
    
    * fix assert
    
    * tidy up
    
    * tests work + tidy up
    
    * rm unused
    
    * clippy fix
    
    * persist reward_pool update
    
    * claim_commission_works tests
    
    * .
    
    * some test formatting
    
    * add high level docs
    
    * add calls
    
    * docs
    
    * rename
    
    * rename
    
    * docs
    
    * rename
    
    * fmt
    
    * use matches!
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * comment
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * .
    
    * weights order
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nomination_pools
    
    * use from_parts
    
    * comment
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * revert clippy suggestions on old migrations
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_nomination_pools
    
    * add InitialGlobalMaxCommission
    
    * fix migration
    
    * reward counter comments & explanations
    
    * format
    
    * add commission implementation note
    
    * fmt
    
    * revert InitialGlobalMaxCommission
    
    * global max commission migration generic
    
    * text
    
    * 100% commission no payout test
    
    * add commission_accumulates_on_multiple_rewards
    
    * non-zero fuzzer GlobalMaxCommission
    
    * add last_recorded_total_payouts_needs_commission
    
    * commission event fix + claim commission test
    
    ---------
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: command-bot <>
    Co-authored-by: Bastian Köcher <info@kchr.de>
    4 people authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ae83a67 View commit details
    Browse the repository at this point in the history
  2. Pallet dispatchable+storage doc module. (paritytech#13341)

    * doc-only pallet
    
    * cargo fmt
    
    * generics fix for dispatchables
    
    * use a module instead
    
    * add doc comment warning that the dispatchable functions are generated
    
    * clean up
    
    * fix typo
    
    * hide Instance4-Instance16 from `pallet` module docs
    
    * revamp Instance1-16 comment
    
    * Document storage types
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * remove unused variables
    
    * crate::Call => Call
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fix indentation
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * remove unneeded block
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * don't need a Vec
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * add "doc only" to coment
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * crate::Call => Call
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * cargo fmt
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Sam Johnson <sam@durosoft.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    4 people authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d3fd543 View commit details
    Browse the repository at this point in the history
  3. timestamp gitlab ci job outputs (paritytech#13605)

    * timestamp gitlab ci job outputs
    
    Based on previous work by @alvicsam in paritytech#13047.
    
    * inline timestamp script
    
    Some of our jobs don't check out the substrate repo.
    
    * include .timestamp in pipelines overriding the default before_script
    
    Still not including it in the zombienet jobs, they have their own
    timestamping anyway.
    
    * move timestamp.yml to shared pipeline repo
    
    https://gitlab.parity.io/parity/infrastructure/ci_cd/shared
    Mira Ressel authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    ba87188 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Reward pool migration fix (paritytech#13715)

    * reward pool migration fix
    
    * comment
    
    * remove generic
    
    * rm max
    
    * foramtting
    
    * Add note to V4 migration
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add more asserts to the V5 migration
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make compile
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/migration.rs
    
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    
    * Make V4 migration re-usable
    
    Otherwise it wont chain together with the V5.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add MigrateV3ToV5 wrapper
    
    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>
    Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
    3 people authored and coderobe committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    76fed9b View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

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

Commits on Mar 29, 2023

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

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    3218566 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb082d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. update to best hash

    devdanco committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    05ddb88 View commit details
    Browse the repository at this point in the history
  2. remove reference

    devdanco committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    d28e97f View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

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

Commits on May 9, 2023

  1. update reference

    devdanco committed May 9, 2023
    Configuration menu
    Copy the full SHA
    f555f67 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. fix fmt

    devdanco committed May 11, 2023
    Configuration menu
    Copy the full SHA
    5863da1 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. wip: unwrap header metadata

    devdanco committed May 15, 2023
    Configuration menu
    Copy the full SHA
    5254e08 View commit details
    Browse the repository at this point in the history
  2. add info logger

    devdanco committed May 15, 2023
    Configuration menu
    Copy the full SHA
    798eaf7 View commit details
    Browse the repository at this point in the history
  3. wip info debug

    devdanco committed May 15, 2023
    Configuration menu
    Copy the full SHA
    f1372ef View commit details
    Browse the repository at this point in the history
  4. wip

    devdanco committed May 15, 2023
    Configuration menu
    Copy the full SHA
    c092254 View commit details
    Browse the repository at this point in the history
  5. wip

    devdanco committed May 15, 2023
    Configuration menu
    Copy the full SHA
    5f519d5 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. wip

    devdanco committed May 16, 2023
    Configuration menu
    Copy the full SHA
    f12ca2b View commit details
    Browse the repository at this point in the history
  2. wip

    devdanco committed May 16, 2023
    Configuration menu
    Copy the full SHA
    17d2768 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. fix bench for overhead

    vanderian committed May 17, 2023
    Configuration menu
    Copy the full SHA
    95f54d8 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. fix header metadata

    devdanco committed May 18, 2023
    Configuration menu
    Copy the full SHA
    135093a View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. remove comments

    devdanco committed May 22, 2023
    Configuration menu
    Copy the full SHA
    89fd020 View commit details
    Browse the repository at this point in the history