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

client: add WebRTC transport #2

Closed
wants to merge 162 commits into from

Commits on Nov 28, 2022

  1. client: add WebRTC transport

    Refs paritytech/smoldot#1712
    Impl libp2p/rust-libp2p#2622
    
    - WebRTC transport is enabled for non-validators and developers by default.
    - The transport will generate and store the certificate, which is required for WebRTC identity, in
    base dir. In the future, when a new version of `ring` library is released, the certificate will be
    deterministically derived from the node's peer ID.
    melekes committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    f793dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e6f631 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. Configuration menu
    Copy the full SHA
    18ead61 View commit details
    Browse the repository at this point in the history
  2. Disallow burning externally locked nfts (paritytech#13054)

    * Disallow burning externally locked nfts
    
    * Update docs
    jsidorenko committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    2967726 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1fe09c View commit details
    Browse the repository at this point in the history
  4. Selectable on-runtime-upgrade checks (paritytech#13045)

    * Make try-runtime checks selectable
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/support/src/traits/try_runtime.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Add Clap wrapper for enum UpgradeCheckSelect
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Revert "Add Clap wrapper for enum UpgradeCheckSelect"
    
    This reverts commit e29538c.
    
    * fix pools sanity check
    
    * Set default for --checks to None
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make --checks backwards comp
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add clap attr comment
    
    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>
    Co-authored-by: kianenigma <kian@parity.io>
    3 people committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    a052224 View commit details
    Browse the repository at this point in the history
  5. grandpa: pass the actual best block to voting rules (paritytech#12477)

    * grandpa: pass the actual best block to voting rules
    
    * grandpa: add test for checking best header is passed to voting rule
    andresilva committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    da3a34f View commit details
    Browse the repository at this point in the history
  6. Remove Copy from Ensure* traits (paritytech#13043)

    * Remove Copy from EnsureOp and EnsureOpAssign
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove Copy from EnsureFrom and EnsureInto
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix default impl
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Reuse assignment code in Ensure trait
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Require Ensure for all BaseArithmetic types
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix assign impls
    
    Co-authored-by: Luis Enrique Muñoz Martín <lemunozm@gmail.com>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add success doc tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    68fc275 View commit details
    Browse the repository at this point in the history
  7. Aura: Do not verify on state import (paritytech#13058)

    * Aura: Do not verify on state import
    
    When we import the state, we can not fetch authorities to verify the seal etc. So, we can directly
    skip any verification.
    
    * Skip checks as well for gap sync
    
    * Update client/consensus/aura/src/import_queue.rs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    * Review comment
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    bkchr and andresilva committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ea387c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. upgrade libp2p to 0.50.0 (paritytech#12734)

    * upgrade libp2p to 0.50.0
    
    * on_swarm_event and on_connection_handler_event
    
    * replace `Swarm::new` with `Swarm::with_threadpool_executor`
    
    * on_swarm_event and on_connection_handler_event part 2
    
    * on_swarm_event and on_connection_handler_event part 3
    
    * on_swarm_event and on_connection_handler_event part 4
    
    * update libp2p
    
    * libp2p 0.50.0
    
    * rename OutboundQueryCompleted to OutboundQueryProgressed
    
    refs libp2p/rust-libp2p#2712
    
    * remove unused var
    
    * accumulate outbound_query_records until query is finished
    
    * format code
    
    * use p_handler instead of new_handler
    
    paritytech#12734 (comment)
    
    * pass ListenFailure to kademlia
    
    paritytech#12734 (comment)
    
    * use tokio executor in tests
    
    paritytech#12734 (comment)
    
    * use chrono Local::now
    
    instead of deprecated Local::today
    
    * remove unused vars from request_responses tests
    
    * attempt to fix pallet UI tests
    
    * restart CI
    
    * restart CI
    
    * restart CI
    
    * restart CI
    
    * restart CI
    
    * restart CI
    
    * restart CI
    
    * restart CI
    melekes committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    05fe10b View commit details
    Browse the repository at this point in the history
  2. grandpa: remove deprecated afg log target (paritytech#13064)

    * grandpa: remove deprecated afg log target
    
    * grandpa: define log targets in primitives
    andresilva committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    fb22096 View commit details
    Browse the repository at this point in the history
  3. Return RuntimeVersion of overwritten/substituted wasm binary (parit…

    …ytech#13066)
    
    * Adds test
    
    * Ensure we are using the runtime version of the override/substitute wasm
    
    * Update client/service/src/client/call_executor.rs
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    
    Co-authored-by: Anton <anton.kalyaev@gmail.com>
    bkchr and melekes committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    6376f13 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4a4436 View commit details
    Browse the repository at this point in the history
  5. Kademlia: Speed-up the record fetching (paritytech#13081)

    Before libp2p 0.50.0 we used a quorum of one to fetch records from the DHT. In the pr that upgraded
    to libp2p 0.50.0 we accidentally changed this behavior. This pr brings back the old behavior of
    using a qorum of one and thus, a faster discovery. After finding the first value, we directly finish
    the query. There was also another behavior change in libp2p, they stopped automatic caching on
    remote nodes. This pr also brings back the remote caching on nodes that are nearest to the key from
    our point of view of the network.
    
    The pr that changed the behavior in libp2p: libp2p/rust-libp2p#2712
    bkchr committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    934d42a View commit details
    Browse the repository at this point in the history
  6. [contracts] Add docs generator for the contracts API to the `#[define…

    …_env]` macro (paritytech#13032)
    
    * macro to expand traits for host functions documentation
    
    * other way: same Doc trait in seal modules
    
    * added docs for macro, and remove `doc` attribute
    
    * fmt
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * make docs to be generated into re-exported `api_doc` module; fix
    unrelated elder docs;
    
    * make it compile without `doc` attr passed to macro
    
    * make alias functions indicated explicitly in docs
    
    * tidy up docs
    
    * refactored a bit
    
    * macro to auto-add doc warning for unstable functions
    
    * invoke macro with no doc generation by default
    
    * addressed review comments
    
    * hide api_doc module behind cfg(doc)
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    agryaznov and athei committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    8d17a16 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Update trybuild to avoid random test failures. (paritytech#13073)

    * Update trybuild to avoid random test failures.
    
    A feature was added to trybuild >1.0.70 avoid failing on different variant
    counts in the line `and 278 others`
    
    fixes paritytech#12955
    
    * Update all trybuild deps to latest version
    
    * Update Cargo.lock
    hirschenberger committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    bc73ebf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    363ce0a View commit details
    Browse the repository at this point in the history
  3. Only use substrate-wasm-builder when std feature is enabled. (par…

    …itytech#12790)
    
    Co-authored-by: parity-processbot <>
    nazar-pc committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    90ffe71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4692572 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    19da111 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. Remove unused types (paritytech#13091)

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

Commits on Jan 8, 2023

  1. Run frame_system integrity tests in Externalities (paritytech#13092)

    * Run frame_system integrity tests in Externalities
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use feature = 'std'
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    5cbd126 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Configuration menu
    Copy the full SHA
    911f65b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f31588b View commit details
    Browse the repository at this point in the history
  3. EPM and staking events improvement (paritytech#13035)

    * EPM and staking events improvement
    
    * Uses RawOrigin in ElectionCompute event
    
    * Refactors new phase events to PhaseTransition event
    
    * PhaseTransitioned and remove RawOrigin from event
    
    * Adds helpers for epm phase transition and staking force new
    
    * addresses review comments
    
    * nit: removes unecessary clone
    
    * fixes benchmarks
    
    Co-authored-by: parity-processbot <>
    gpestana committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    6c7e941 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc18d13 View commit details
    Browse the repository at this point in the history
  5. Add ensure_pow method (paritytech#13042)

    * add ensure_pow method
    
    * reexport checked_pow and ensure_pow
    lemunozm committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    b85246b View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    27ef639 View commit details
    Browse the repository at this point in the history
  2. fixes after the merge

    melekes committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    a955481 View commit details
    Browse the repository at this point in the history
  3. fix docs

    melekes committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    82fd633 View commit details
    Browse the repository at this point in the history
  4. Add solution hint to error message (paritytech#13111)

    * Add solution hint to error message
    
    * make it compile
    
    * Update frame/support/procedural/src/pallet/expand/hooks.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/support/procedural/src/pallet/expand/storage.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/support/procedural/src/pallet/expand/storage.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/support/procedural/src/pallet/expand/storage.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    alexgparity and bkchr committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    75d10c7 View commit details
    Browse the repository at this point in the history
  5. Avoid unintentionally canceling the scheduled crate publishing job (p…

    …aritytech#13088)
    
    * avoid unintentionally canceling the scheduled crate publishing job
    
    because publish-crates and publish-crates-manual share the resource group
    "crates-publishing", any instance of publish-crates-manual cancels a running
    instance of publish-crates, as demonstrated by
    https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2212179
    
    a workaround for that unintended interaction is to avoid creating instances of
    publish-crates-manual and instead require pipelines to be triggered manually by
    checking $CI_JOB_MANUAL == "true"
    
    * check manual pipelines by $CI_PIPELINE_SOURCE instead of $CI_JOB_MANUAL
    
    * make crate-publishing pipelines uninterruptible
    
    * use conditional includes to work around interruptible limitations
    
    * organize comments
    
    * remove interruptible from common pipeline
    
    * wip: check include
    
    * wip: check include
    
    * fix include
    
    * fix include
    
    * fix include
    
    * fix yaml
    
    * fix yaml
    
    * remove shared common-pipeline
    
    * wip: retry common-pipeline
    
    * move .default-template to .gitlab-ci.yml
    
    * fix the pipeline
    
    add comments
    
    * fix default-pipeline.yml
    
    * revert publish-crates-manual to when: manual
    
    * move "needs:" back to publish-crates
    
    * avoid manual repetition
    
    * improve previous commit
    
    * try to avoid manual repetition
    
    * fix indentation
    
    * minor adjustments
    
    * move defaults to top of .gitlab-ci.yml
    
    * fix positioning on default in the diff
    
    * comments
    
    * indentation
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    joao-paulo-parity and alvicsam committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    4e38342 View commit details
    Browse the repository at this point in the history
  6. introduce log-target constant to more frame pallets (paritytech#13116)

    * introduce log-target constant to more frame pallets
    
    * cargo fmt
    
    * make LOG_TARGET in session public
    
    * Update frame/elections-phragmen/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/elections-phragmen/src/migrations/v3.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/elections-phragmen/src/migrations/v3.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update frame/elections-phragmen/src/migrations/v3.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * move LOG_TARGET=runtime::session_historical to migrations module, where it's actually used
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    tonyalaribe and bkchr committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    ad844be View commit details
    Browse the repository at this point in the history
  7. Update tests for 1.66 and switch CI to stable Rust 1.66 (paritytech#1…

    …3118)
    
    * Update UI tests for 1.66
    
    * Fix `test_enum` assertion for Rust 1.66
    
    * Fix another `test_enum` assertion for Rust 1.66
    
    * Fix another `test_enum` assertion for Rust 1.66
    
    * Fix another `test_enum` assertion for Rust 1.66
    rcny committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    cb63d3d View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. better vars names in tests

    melekes committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    c6eb8c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f964453 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0db37d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    946507b View commit details
    Browse the repository at this point in the history
  5. Allow duplicate topics in smart contract events (paritytech#13065)

    * Removed `has_duplicates` check form the `deposit_event`.
    Removed the usage of `Error::DuplicateTopics`.
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    Co-authored-by: command-bot <>
    xgreenx committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    2c029fd View commit details
    Browse the repository at this point in the history
  6. [NFTs] Track item's metadata depositor (paritytech#13124)

    * Refactor do_mint()
    
    * Track the depositor of item's metadata
    
    * Revert back the access control
    
    * On collection destroy return the metadata deposit
    
    * Clear the metadata on item burn returning the deposit
    
    * Address comments
    
    * Fix clippy
    
    * Don't return Ok on non-existing attribute removal
    jsidorenko committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    293c1f2 View commit details
    Browse the repository at this point in the history
  7. IntegrityTest implementation should be feature gated (paritytech#13094

    )
    
    * `IntegrityTest` implementation should be feature gated
    
    The initial implementation for the old declarative macros is still feature gating the
    implementation. As we only call this in a test, there is no need to have this compiled for wasm.
    
    * Don't assume that all "consumers" have a `std` feature
    bkchr committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    e752af1 View commit details
    Browse the repository at this point in the history
  8. Bump git2 from 0.14.4 to 0.16.0 (paritytech#13123)

    Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.4 to 0.16.0.
    - [Release notes](https://github.com/rust-lang/git2-rs/releases)
    - [Commits](rust-lang/git2-rs@0.14.4...git2-curl-0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: git2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    ad58606 View commit details
    Browse the repository at this point in the history
  9. Scheduler is already at V4 (paritytech#13105)

    * Scheduler is already at V4
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix Referenda log target
    
    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>
    ggwpez committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    6d3596f View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Optimize merkle proofs for efficient verification in Solidity (parity…

    …tech#12857)
    
    * Sort hashes when generating & verifying MMR proofs
    
    * Remove unused variables
    
    * Double-hash leaves in beefy-merkle-tree
    
    * Revert "Double-hash leaves in beefy-merkle-tree"
    
    This reverts commit f788f5e.
    
    * Retry Polkadot companion CI jobs
    doubledup committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    f9d1dcd View commit details
    Browse the repository at this point in the history
  2. client/beefy: fix logs (paritytech#13130)

    Minor change to logs but required to minimize spamming during initial BEEFY deployment.
    acatangiu committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    e9b0fac View commit details
    Browse the repository at this point in the history
  3. Stop keeping track of epoch changes for the sync gap (paritytech#13127)

    * Stop keeping track of epoch changes data within the sync gap
    
    * Fix docs
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Fix typo
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    davxy and bkchr committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    2bfc1dd View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Configuration menu
    Copy the full SHA
    d92281a View commit details
    Browse the repository at this point in the history
  2. sp-beefy: align authority id key type with its signature type (parity…

    …tech#13131)
    
    Still allows custom message hasher, but ties together the crypto
    types used for private+public keys and the signature.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    88be4b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbc525f View commit details
    Browse the repository at this point in the history
  4. 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 committed 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 committed 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 committed 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 committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2893730 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7070e0 View commit details
    Browse the repository at this point in the history
  3. 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 committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    6bac243 View commit details
    Browse the repository at this point in the history
  4. 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 committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    414caff View commit details
    Browse the repository at this point in the history
  5. 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 committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    f7e53fe View commit details
    Browse the repository at this point in the history
  6. 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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
    05238ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f404a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f4bc993 View commit details
    Browse the repository at this point in the history
  6. copy warp-sync zombienet test

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    05fb813 View commit details
    Browse the repository at this point in the history
  7. rename test files

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    ce05840 View commit details
    Browse the repository at this point in the history
  8. update test name

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    f929b72 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7781776 View commit details
    Browse the repository at this point in the history
  10. 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 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    2dbf625 View commit details
    Browse the repository at this point in the history
  11. 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 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    495cc0e View commit details
    Browse the repository at this point in the history
  12. 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 committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    65d1d03 View commit details
    Browse the repository at this point in the history
  13. 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 committed 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 committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    248fdf0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e153d2 View commit details
    Browse the repository at this point in the history
  3. 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 committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    ce2cee3 View commit details
    Browse the repository at this point in the history
  4. 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 committed 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 committed 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 committed 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 committed 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 committed 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. Apply suggestions from code review

    Co-authored-by: Javier Viola <pepoviola@gmail.com>
    melekes and pepoviola committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    dcd00f4 View commit details
    Browse the repository at this point in the history
  3. bump zombienet version

    melekes committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    1c7a375 View commit details
    Browse the repository at this point in the history
  4. 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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. Configuration menu
    Copy the full SHA
    727b487 View commit details
    Browse the repository at this point in the history
  2. [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 committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    550e6a1 View commit details
    Browse the repository at this point in the history
  3. rpc-spec-v2/tx: Fix error typo (paritytech#13307)

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    f5e370d View commit details
    Browse the repository at this point in the history
  4. 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 committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    51cf2e7 View commit details
    Browse the repository at this point in the history
  5. 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 committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    47ecdb6 View commit details
    Browse the repository at this point in the history
  6. Fix: Off-chain-worker example (paritytech#13300)

    * fix: divider
    
    * update comment
    cuteolaf committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    fe7f0a9 View commit details
    Browse the repository at this point in the history
  7. 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 committed 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 committed 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. Update zombienet version.

    pepoviola committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    b549d2b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38c3e5e View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    35b971a View commit details
    Browse the repository at this point in the history
  2. 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 committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    2f16448 View commit details
    Browse the repository at this point in the history
  3. 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 committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    2a636e2 View commit details
    Browse the repository at this point in the history
  4. 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 committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    6a504b0 View commit details
    Browse the repository at this point in the history
  5. 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 committed 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 committed 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
    6e9c7ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4516910 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41fc433 View commit details
    Browse the repository at this point in the history
  4. Update .gitlab-ci.yml

    pepoviola committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    722ccad View commit details
    Browse the repository at this point in the history
  5. 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 committed 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 committed Feb 12, 2023
    Configuration menu
    Copy the full SHA
    11bd6cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be72387 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22c1a15 View commit details
    Browse the repository at this point in the history