Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Implements a variable deposit base calculation for EPM signed submissions #13983

Open
wants to merge 63 commits into
base: master
Choose a base branch
from

Commits on Apr 23, 2023

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

Commits on Apr 26, 2023

  1. Implements geometric increase of base deposit based on the number of …

    …elements in the queue; adds tests
    gpestana committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    cf5cd81 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    8b7e455 View commit details
    Browse the repository at this point in the history
  2. More docs

    gpestana committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    b9d90aa View commit details
    Browse the repository at this point in the history
  3. fixes docs

    gpestana committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    95217b7 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Update frame/election-provider-multi-phase/src/signed.rs

    Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
    gpestana and Ank4n authored May 4, 2023
    Configuration menu
    Copy the full SHA
    66a0bfb View commit details
    Browse the repository at this point in the history
  2. Update bin/node/runtime/src/lib.rs

    Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
    gpestana and Ank4n authored May 4, 2023
    Configuration menu
    Copy the full SHA
    a1636ca View commit details
    Browse the repository at this point in the history
  3. Adds force_origin support (#13845)

    * Adds force_origin support
    
    * Moves a couple of tests to showcase v2 with force_origin
    
    * Adds remaining tests
    
    * adds documentation
    
    * minor
    
    * adds test for invalid origin
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * updates param to use MaxCalls
    
    * Fixes compilation error
    
    * Updates doc comment
    
    * Fixes test outputs
    
    * Fixes test output
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    ---------
    
    Co-authored-by: command-bot <>
    gupnik authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    cb33150 View commit details
    Browse the repository at this point in the history
  4. Vote locks for all reasons except RESERVE (#13914)

    * Vote locks tip
    
    * except reserve
    
    * reason for delegate
    
    * fix tests
    
    ---------
    
    Co-authored-by: parity-processbot <>
    muharem authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    0591d11 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a14c52 View commit details
    Browse the repository at this point in the history
  6. Bump enumflags2 from 0.7.5 to 0.7.7 (#13995)

    Bumps [enumflags2](https://github.com/meithecatte/enumflags2) from 0.7.5 to 0.7.7.
    - [Release notes](https://github.com/meithecatte/enumflags2/releases)
    - [Commits](meithecatte/enumflags2@v0.7.5...v0.7.7)
    
    ---
    updated-dependencies:
    - dependency-name: enumflags2
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    1c781d6 View commit details
    Browse the repository at this point in the history
  7. frame-support-procedural: Fix detection of the tuples feature (#13996)

    We didn't had the tuples features declared for the `frame-support-procedural` crate and thus, it
    could not properly detect that the feature was already enabled.
    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    e5a9709 View commit details
    Browse the repository at this point in the history
  8. pallet-democracy: Do not request the proposal when scheduling (#13827)

    The requesting of the proposal is actually done now in `pallet-scheduler`.
    
    Fixes: #13534
    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    2d277ad View commit details
    Browse the repository at this point in the history
  9. [ci] Add message to cargo-deny (#14001)

    * [ci] Add message to cargo-deny
    
    * fix cargo-deny-licenses
    alvicsam authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    db79585 View commit details
    Browse the repository at this point in the history
  10. refactor(cli): Make some run params reusable (#13870)

    * refactor: extract TelemetryParams and PrometheusParams
    
    * improve run_cmd docs
    
    * extract `RuntimeParams`
    
    * use `normalize`
    
    * keep params types same style
    
    * improve `max_runtime_instances`
    
    * fmt
    
    * add license and improve code
    
    * Update client/cli/src/params/runtime_params.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    e34ab81 View commit details
    Browse the repository at this point in the history
  11. contracts Add LOG_TARGET constant (#14002)

    * contracts Add LOG_TARGET constant
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    ---------
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    c463fb0 View commit details
    Browse the repository at this point in the history
  12. frame-support: migrate some tests from decl_* macros to the new `pa…

    …llet` macros (#12401)
    
    * frame-support: migrate some tests from decl macros to new pallet attribute macros
    
    * Remove useless type alias
    
    * Remove useless type alias
    
    * Work around for rust issue 52234
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use polkadot-compatible paste version
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix crate access and add tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Typo
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: parity-processbot <>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    316bced View commit details
    Browse the repository at this point in the history
  13. Removes ReportsByKindIndex (#13936)

    * Removes ReportsByKind
    
    * Minor build fixes
    
    * adds migration
    
    * Addresses review comment
    
    * Uses clear but weight check fails
    
    * Uses unique
    
    * Updates test to commit the change before migration
    
    * Uses reads_writes
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * Fixes build
    
    * Addresses review comments
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    * fixes typo
    
    ---------
    
    Co-authored-by: command-bot <>
    gupnik authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    4286a74 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f05447f View commit details
    Browse the repository at this point in the history
  15. [contracts] Port host functions to Weight V2 and storage deposit limit (

    #13565)
    
    * added [unstable][seal2] call()
    
    * updated test to cover new seal_call proof_limit
    
    * docs updated
    
    * add [seal2][unstable] instantiate() and test
    
    * add [seal2][unstable] weight_to_fee() + docs and test
    
    * add [seal2][unstable] gas_left() + docs and test
    
    * update benchmarks
    
    * add DefaultDepositLimit to pallet Config
    
    * specify deposit limit for nested call
    
    add test for nested call deposit limit
    
    save: separate deposit limit for nested calls
    
    * specify deposit limit for nested instantiate
    
    save: works with test
    
    cleaned up debugging outputs
    
    * update benchmarks
    
    * added missing fixtures
    
    * fix benches
    
    * pass explicit deposit limit to storage bench
    
    * explicit deposit limit for another set_storage bench
    
    * add more deposit limit for storage benches
    
    * moving to simplified benchmarks
    
    * moved to simplified benchmarks
    
    * fix seal_weight_to_fee bench
    
    * fix seal_instantiate benchmark
    
    * doc typo fix
    
    * default dl for benchmarking
    
    more dl for tests
    
    dl for tests to max
    
    deposit_limit fix in instantiate bench
    
    fix instantiate bench
    
    fix instantiate benchmark
    
    fix instantiate bench again
    
    remove dbg
    
    fix seal bench again
    
    fixing it still
    
    seal_instantiate zero deposit
    
    less runs to check if deposit enough
    
    try
    
    try 2
    
    try 3
    
    try 4
    
    * max_runtime_mem to Schedule limits
    
    * add default deposit limit fallback check to test
    
    * weight params renaming
    
    * fmt
    
    * Update frame/contracts/src/benchmarking/mod.rs
    
    Co-authored-by: PG Herveou <pgherveou@gmail.com>
    
    * prettify inputs in tests
    
    * typestate param refactored
    
    ---------
    
    Co-authored-by: PG Herveou <pgherveou@gmail.com>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    5ca19ef View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7ddac2d View commit details
    Browse the repository at this point in the history
  17. fix a test (#14021)

    agryaznov authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    4df1a87 View commit details
    Browse the repository at this point in the history
  18. Various minor fixes (#13945)

    * Fix: Incorrect implementation of can_reserve check
    
    * Fix: Incorrect migration of consumer counting for existing accounts with frozen amounts
    
    * Fix: Inconsistent implementation between assets can_deposit and new_account
    
    * Fixes
    
    * Fixes
    
    * Another fix
    
    * Update tests.rs
    
    * Update fungible_tests.rs
    
    * Use `can_accrue_consumers` in the body of `can_inc_consumer`
    
    ---------
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: parity-processbot <>
    3 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    df3a709 View commit details
    Browse the repository at this point in the history
  19. contracts Add storage_deposit test (#14003)

    * contracts Add storage_deposit test
    
    * fix comments
    
    * PR comments
    pgherveou authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    941de8e View commit details
    Browse the repository at this point in the history
  20. remote-externalities: batch insert key/values (#14004)

    * add batch inserting into remote externalities
    
    * use into_iter
    
    * remove redundant comment
    
    * redundant batch insert
    
    * avoid extra vec allocations
    liamaharon authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    76c802e View commit details
    Browse the repository at this point in the history
  21. collective pallet: sort genesis members and enforce max len constraint (

    #13988)
    
    * insert members in sorted order
    
    * improve variable name
    
    * enforce genesis members length constraint
    liamaharon authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    9b487cd View commit details
    Browse the repository at this point in the history
  22. sc-network-sync: Improve error reporting (#14025)

    Before this wasn't printing a warning for `VerificationFailed` when there wasn't a peer assigned to
    the error message. However, if there happens an error on importing the state there wouldn't be any
    error. This pr improves the situation to also print an error in this case. Besides that there are
    some other cleanups.
    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    db806ea View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5c320d3 View commit details
    Browse the repository at this point in the history
  24. chore(cli): make cli display docs correctly (#14017)

    * chore(cli): make cli display docs correctly
    
    * ".git/.scripts/commands/fmt/fmt.sh"
    
    ---------
    
    Co-authored-by: command-bot <>
    yjhmelody authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    49f69e4 View commit details
    Browse the repository at this point in the history
  25. improve staking interface methods (#14023)

    * improve staking interface methods
    
    * fix
    
    * fix
    
    * fix build
    
    * restart
    
    * fix
    
    ---------
    
    Co-authored-by: parity-processbot <>
    kianenigma authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    3b05747 View commit details
    Browse the repository at this point in the history
  26. try-runtime-cli: improve ci stability (#14030)

    * hardcode 1 thread
    
    * ci stability
    
    * fix comment
    
    * improve comment
    
    * kick ci
    
    * kick ci
    
    * update expect message
    
    * improve comment
    
    * kick ci
    
    * kick ci
    
    * configure threads with env var
    
    * fix threads env var
    
    * fix threads env var
    liamaharon authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    a5c6264 View commit details
    Browse the repository at this point in the history
  27. FRAME: inherited call weight syntax (#13932)

    * First approach on pallet::call_weight
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use attr on pallet::call instead
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Ui tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Rename to weight(prefix = ...))
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Simplify to #[pallet::call(weight(T))]
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add stray token error
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Cleanup
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Migrate remaining pallets
    
    Using script from https://github.com/ggwpez/substrate-scripts/blob/e1b5ea5b5b4018867f3e869fce6f448b4ba9d71f/frame-code-migration/src/call_weight.rs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Try to add some docs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Revert "Migrate remaining pallets"
    
    Lets do this as a follow-up, I dont want to bloat this small MR.
    
    This reverts commit 331d4b4.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Renames
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Review fixes
    
    Co-authored-by: Sam Johnson <sam@durosoft.com>
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Test weights
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update UI tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/support/procedural/src/pallet/parse/mod.rs
    
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    
    * Remove old code
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update docs
    
    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-processbot <>
    Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    a6aa272 View commit details
    Browse the repository at this point in the history
  28. Implements try_state hook in elections and EPM pallets (#13979)

    * Adds try_state hook to elections pallets
    
    * Addresses PR review comments
    
    Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
    
    * remove unecessary println
    
    * ensures try-runtime does not mutate storage
    
    * Addresses PR comments
    
    * Fixes snapshot invariant checks; simplifies test infra
    
    ---------
    
    Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
    Co-authored-by: parity-processbot <>
    gpestana and liamaharon committed May 4, 2023
    Configuration menu
    Copy the full SHA
    07b1541 View commit details
    Browse the repository at this point in the history
  29. Bump wasmtime from 6.0.1 to 6.0.2 (#14037)

    Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.1 to 6.0.2.
    - [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
    - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
    - [Commits](bytecodealliance/wasmtime@v6.0.1...v6.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: wasmtime
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    be73ca3 View commit details
    Browse the repository at this point in the history
  30. Improve contribution guidelines (#13902)

    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    d20deb0 View commit details
    Browse the repository at this point in the history
  31. CI: Remove crate publish check (#14044)

    * Fix frame-support feature
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove publishing script
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    063b3b0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    9ad2b40 View commit details
    Browse the repository at this point in the history
  33. Contracts: runtime_call and storage_deposit (#13990)

    * wip
    
    * add comments
    
    * fix comment
    
    * comments
    
    * comments
    
    * PR comment
    
    * field orders
    
    * Update frame/contracts/src/tests.rs
    
    * Update frame/contracts/fixtures/call_runtime_and_call.wat
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Update frame/contracts/src/tests.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Validate fees of failed call
    
    * Update frame/contracts/src/tests.rs
    
    * Update frame/contracts/src/tests.rs
    
    * Update frame/contracts/src/tests.rs
    
    * bubble up refund error
    
    * rename fixture file
    
    ---------
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    Co-authored-by: parity-processbot <>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    476ebd4 View commit details
    Browse the repository at this point in the history
  34. Fix bags-list tests execution (#14047)

    The `test` feature isn't propagated to dependencies in Rust, so we should just enable the method as
    well for `std`.
    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    0e3c6b5 View commit details
    Browse the repository at this point in the history
  35. CI: migrate to Google Cloud (#13994)

    rcny authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    513463b View commit details
    Browse the repository at this point in the history
  36. rpc: Use the blocks pinning API for chainHead methods (#13233)

    * rpc/chain_head: Add backend to subscription management
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Pin blocks internally and adjust testing
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/in_mem: Reference for the number of pinned blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Check in-memory references to pinned blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Fix clippy
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Remove unused comment
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Place subscription handle under `Arc` and unpin blocks on drop
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Check all pinned blocks are unpinned on drop
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * Update client/rpc-spec-v2/src/chain_head/subscription.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * rpc/tests: Retry fetching the pinned references for CI correctness
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/service: Use 512 as maximum number of pinned blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head: Fix merging conflicts
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Adjust subscriptions to use pinning API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head/tests: Test subscription management
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Adjust chain_head follow to the new API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Adjust chain_head.rs to the new API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head/tests: Adjust test.rs to the new API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/builder: Use new chainHead API
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Fix documentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain_head: Fix clippy
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/in_mem: ChainHead no longer uses `in_mem::children`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update client/rpc-spec-v2/src/chain_head/subscription.rs
    
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    
    * Update client/rpc-spec-v2/src/chain_head/subscription.rs
    
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    
    * Update client/rpc-spec-v2/src/chain_head/subscription.rs
    
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    
    * Update client/rpc-spec-v2/src/chain_head/subscription.rs
    
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    
    * chain_head: Add block state machine
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Address feedback
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Use new_native_or_wasm_executor
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head: Remove 'static on Backend
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head: Add documentation
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head: Lock blocks before async blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head_follower: Remove static on backend
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update client/service/src/builder.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    * Update client/service/src/builder.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    * chain_head: Add BlockHeaderAbsent to the PartialEq impl
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client: Add better documentation around pinning constants
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * chain_head: Move subscription to dedicated module
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * subscription: Rename global pin / unpin functions
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    ---------
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    4 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    f541d16 View commit details
    Browse the repository at this point in the history
  37. contracts: Make Origin information available (#13708)

    * contracts: allow root calls
    
    * contracts: update ContractOrigin
    
    * contracts: test allow root calls
    
    * contracts: rustfmt
    
    * contracts: test root caller traps
    
    * contracts: add Caller enum
    
    * contracts: improve some comments
    
    * contracts: improve some comments
    
    * contracts: format code with +nightly
    
    * contracts: fix failing tests
    
    * contracts: improve charte instantiate call when root origin
    
    * contract: refactor common, call and instantiate inputs
    
    * contracts: fix some failing test
    
    * contracts: trap caller when there is no account id
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: PG Herveou <pgherveou@gmail.com>
    
    * Update frame/contracts/src/exec.rs
    
    Co-authored-by: PG Herveou <pgherveou@gmail.com>
    
    * contracts: make `into_deposit` return zero when the origin is root
    
    * contracts: cargo fmt
    
    * contracts: charging and terminating tests refactored
    
    * contracts: improved errors
    
    * contracts: refactor & merge ContractOrigin cand Caller enums
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * contracts: apply suggested pr changes
    
    * contracts: rename Caller to Origin
    
    * contracts: refactor run fn
    
    * contracts: cr improvements
    
    * contracts: allow root to use delegate call
    
    * contracts: add caller_is_root weight
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * contracts: add caller_is_root benchmarking
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * contracts: add caller_is_root benchmarking
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * contracts: add some minor improvements
    
    * contracts: make caller_is_root runtime fn unstable
    
    * contracts: fix failing wasm test
    
    * contracts: update benchmarking for origin_is_root
    
    * contracts: improve seal_caller_is_root benchmarking
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * contracts: add small pr improvements
    
    * contracts: fix broken tests after master merge
    
    * contracts: acknowledge the default storage deposit limit
    
    * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
    
    * contracts: move origin to CommonInput
    
    * contracts: add some extra tests
    
    * contracts: move ensure origin logic inside invokable::run_guarded
    
    * contracts: add minor improvements
    
    * contracts: fix caller_is_root benchmarking
    
    * contracts: improve function description
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * Update frame/contracts/src/wasm/runtime.rs
    
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    
    * contracts: improve function description
    
    ---------
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: PG Herveou <pgherveou@gmail.com>
    Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
    3 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    2b3e750 View commit details
    Browse the repository at this point in the history
  38. Bump clap to 4.2.5 (#14061)

    Co-authored-by: parity-processbot <>
    Mira Ressel authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    6ebcadd View commit details
    Browse the repository at this point in the history
  39. Manual seal delayed finalize (#13999)

    * up
    
    * up
    
    * added test
    
    * remove unncessary dep
    
    * cargo fmt
    
    * cargo fmt
    
    * up
    
    * Update client/consensus/manual-seal/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * fix test
    
    * cargo fmt
    
    * added docs
    
    * updated doc
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: parity-processbot <>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    e296263 View commit details
    Browse the repository at this point in the history
  40. Don't run check-crates-publishing job on prs (#14064)

    * Restore `check-crates-publishing-pipeline` job
    
    This job was errorneously deleted in lieu of the
    `check-crates-publishing` job.
    
    This reverts commit de80d01.
    
    * Don't run `check-crate-publishing` job on prs.
    
    Originally attempted in #14044. It's been broken for a while and we're
    not sure yet how to move forward in the longer term.
    Mira Ressel authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    7eeb77d View commit details
    Browse the repository at this point in the history
  41. Only calculate tree route during finalization when there are multiple…

    … leaves (#14067)
    
    * Only calculate tree route when there are multiple leaves
    
    * Update client/service/src/client/client.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    2 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    dcaebbe View commit details
    Browse the repository at this point in the history
  42. test-staking-e2e: Add to main Cargo.toml. (#14062)

    This ensures that it is actually tested as part of the CI. There is also no need to have it separate.
    bkchr authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    4b7f99b View commit details
    Browse the repository at this point in the history
  43. contracts: add events to ContractResult (#13807)

    * contracts: add events to ContractResult
    
    * contracts: add encoded events to ContractResult
    
    * contracts: add generic Event to ContractResult
    
    * contracts: test bare_call events
    
    * contracts: update bare_call test name
    
    * contracts: add better comments to dry run events
    
    * contracts: fix pallet contracts primitives implementation
    
    * contracts: add EventRecord generic to ContractInstantiateResult
    
    * contracts: make event collection optional
    
    * contracts: impreved notes on `collect_events`
    
    * contracts: update benchmarking calls
    
    * contracts: change bare_call and bare_instantiate to accept enums instead of bools
    
    * contracts: add partial eq to new enums
    
    * contracts: improve comments
    
    * contracts: improve comments
    
    * contracts: fix bare_call benchmarking
    
    * contracts: fix bare call and instantiate in impl_runtime_apis
    
    * contracts: add api versioning to new ContractsApi functions
    
    * contracts: modify api versioning to new ContractsApi functions
    
    * contracts: create new contracts api trait
    
    * contracts: clean up code
    
    * contracts: remove the contract results with events
    
    * contracts: undo contracts api v3
    
    * contracts: remove commented out code
    
    * contracts: add new test bare call result does not return events
    
    * contracts: add code review improvements
    
    * contracts: remove type imports
    
    * contracts: minor code review improvements
    juangirini authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    89acf47 View commit details
    Browse the repository at this point in the history
  44. rpc server: break legacy CLI options and remove "backward compatible …

    …HTTP server" (#13384)
    
    * jsonrpsee v0.16
    
    * breaking: remove old CLI configs
    
    * remove patch.crates-io
    
    * fix bad merge
    
    * fix clippy
    
    * fix bad merge
    
    * fix grumbles
    
    * Update client/service/src/lib.rs
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    
    * revert block_in_place
    
    * add issue link in todo
    
    * Update client/cli/src/config.rs
    
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    
    * grumbles: add ipv6 loopback address
    
    * Revert "grumbles: add ipv6 loopback address"
    
    This reverts commit 3a0b1ec.
    
    * remove nits
    
    * bump zombienet version
    
    * adress grumbles: provide structopt default_val_t
    
    * remove duplicate from structopt
    
    * bump zombienet v1.3.47
    
    * bump zombienet version
    
    ---------
    
    Co-authored-by: Bastian Köcher <git@kchr.de>
    Co-authored-by: Dmitry Markin <dmitry@markin.tech>
    Co-authored-by: Javier Viola <javier@parity.io>
    4 people authored and gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    5f8f249 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    2668e9a View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    792ecc4 View commit details
    Browse the repository at this point in the history
  47. Fixed runtime configs

    gpestana committed May 4, 2023
    Configuration menu
    Copy the full SHA
    1960329 View commit details
    Browse the repository at this point in the history
  48. Merge remote-tracking branch 'origin/master' into gpestana/epm_variab…

    …le_deposit_base
    parity-processbot committed May 4, 2023
    Configuration menu
    Copy the full SHA
    afb016d View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    1558456 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Merge remote-tracking branch 'origin/master' into gpestana/epm_variab…

    …le_deposit_base
    parity-processbot committed May 17, 2023
    Configuration menu
    Copy the full SHA
    310a116 View commit details
    Browse the repository at this point in the history
  2. Refactors the traits

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

Commits on May 21, 2023

  1. Update frame/election-provider-multi-phase/src/signed.rs

    Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
    gpestana and Ank4n authored May 21, 2023
    Configuration menu
    Copy the full SHA
    99622a5 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    49e053b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f053577 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f11d312 View commit details
    Browse the repository at this point in the history
  4. ".git/.scripts/commands/fmt/fmt.sh"

    command-bot committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    856828e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Parameterize GeometricProgression instead of using dedicated associat…

    …ed types for progression configs
    gpestana committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    fe49a49 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

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