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

Feature/add pallet ibc #79

Merged
merged 485 commits into from
Oct 5, 2022
Merged

Feature/add pallet ibc #79

merged 485 commits into from
Oct 5, 2022
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 23, 2022

  1. generate_storage_alias: Rewrite as proc macro attribute (paritytech#1…

    …1387)
    
    * generate_storage_alias: Rewrite as proc macro attribute
    
    This rewrites the `generate_storage_alias!` declarative macro as proc-macro attribute. While doing
    this the name is changed to `storage_alias`. The prefix can now also be the name of a pallet. This
    makes storage aliases work in migrations for all kind of chains and not just for the ones that use
    predefined prefixes.
    
    * Fix compilation and FMT
    
    * Moare fixes
    
    * 🤦
    
    * ......
    
    * Rework the syntax and support instancing
    
    * FMT
    
    * Prefix variants with `Storage`
    
    * Make it compile
    
    * Fix where clause on rust stable
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    087932b View commit details
    Browse the repository at this point in the history
  2. Prune some duplicated dependencies in the dep graph (paritytech#11433)

    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    koushiro authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    07ca213 View commit details
    Browse the repository at this point in the history
  3. contracts: Get rid of #[pallet::without_storage_info] (paritytech#1…

    …1414)
    
    * Implement `MaxEncodeLen` for pallet-contracts storage
    
    * Remove redundant debug println
    
    * Move code len check to PrefabWasmModule::from_code
    athei authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d593ef3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    85d8e80 View commit details
    Browse the repository at this point in the history
  5. [ci] Adjust job order in pipeline test stage with Gitlab DAG (parityt…

    …ech#11442)
    
    * [Do Not Merge] Test gitlab DAG in pipeline
    
    * add jobs for pipeline cancel
    
    * add check-tracing to cancel-pipeline
    alvicsam authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1ab9bb6 View commit details
    Browse the repository at this point in the history
  6. Allow to set the max supply for collection (paritytech#11441)

    * Allow to set the max supply for collection
    
    * Update error
    
    * Add weights info
    
    * 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_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * Update frame/uniques/src/lib.rs
    
    Co-authored-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>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    26adb24 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    75e2633 View commit details
    Browse the repository at this point in the history
  8. trie: Optimize keys function (paritytech#11457)

    * trie: Optimize `keys` function
    
    Instead of iterating the entire state and collecting all keys that match the given prefix, we can
    directly use the optimized prefix iterator.
    
    * Add a test
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    be6acf6 View commit details
    Browse the repository at this point in the history
  9. add GHA support to dependabot (paritytech#11448)

    * add GHA support to dependabot
    
    * fix formatting
    
    * add labels
    
    * add label
    sergejparity authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    237ceb7 View commit details
    Browse the repository at this point in the history
  10. contracts: Add set_code root dispatchable (paritytech#11451)

    * Add `set_code` dispatchable
    
    * 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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    Co-authored-by: Parity Bot <admin@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5d1fb3a View commit details
    Browse the repository at this point in the history
  11. Switch to pooling copy-on-write instantiation strategy for WASM (pari…

    …tytech#11232)
    
    * Switch to pooling copy-on-write instantiation strategy for WASM
    
    * Fix benchmark compilation
    
    * Fix `cargo fmt`
    
    * Fix compilation of another benchmark I've missed
    
    * Cleanups according to review comments
    
    * Move `max_memory_size` to `Semantics`
    
    * Set `memory_guaranteed_dense_image_size` to `max_memory_size`
    
    * Rename `wasm_instantiation_strategy` to `wasmtime_instantiation_strategy`
    
    * Update the doc-comments regarding the instantiation strategy
    
    * Extend the integration tests to test every instantiation strategy
    
    * Don't drop the temporary directory until the runtime is dropped in benchmarks
    
    * Don't drop the temporary directory until the runtime is dropped in tests
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    60fea6d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    258e2a3 View commit details
    Browse the repository at this point in the history
  13. add missing events to elections fallback (paritytech#11436)

    * add missing events to elections fallback
    
    * Update frame/election-provider-multi-phase/src/lib.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Update frame/election-provider-multi-phase/src/lib.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * add test
    
    * fix
    
    * fmt
    
    * Update frame/support/src/storage/types/nmap.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    794b6ba View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    78d1583 View commit details
    Browse the repository at this point in the history
  15. Add Score to Bags List (paritytech#11357)

    * Add Score to Bags List
    
    * fix ordering
    
    * make compile
    
    * in progress migration
    
    * make migration compile
    
    * remove old check
    
    * remove runtime specific migration
    
    * fix warning
    
    * Apply suggestions from code review
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * improve migration
    
    * fix
    
    * fix merge
    
    * fmt
    
    * Update migrations.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    716756c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    df7a9d7 View commit details
    Browse the repository at this point in the history
  17. Bump actions/checkout from 2 to 3 (paritytech#11463)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d481f56 View commit details
    Browse the repository at this point in the history
  18. Bump gaurav-nelson/github-action-markdown-link-check from 1.0.9 to 1.…

    …0.14 (paritytech#11464)
    
    * Bump gaurav-nelson/github-action-markdown-link-check
    
    Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 1.0.9 to 1.0.14.
    - [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
    - [Commits](gaurav-nelson/github-action-markdown-link-check@7481451...58f84fd)
    
    ---
    updated-dependencies:
    - dependency-name: gaurav-nelson/github-action-markdown-link-check
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Update .github/workflows/md-link-check.yml
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b39aa96 View commit details
    Browse the repository at this point in the history
  19. RPC: Mark storage methods as blocking (paritytech#11459)

    * client/api: Make `storage_keys` blocking
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/api: Ensure `state_*` RPC methods are blocking
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/rpc: Ensure `childstate_*` RPC methods are blocking
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/rpc: `ChainApi` make RPC methods sync
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Remove unused async-traits
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client/rpc-api: Make chain RPC methods blocking
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update client/rpc/src/state/state_full.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Add `blocking` to `state_getKeysPaged` RPC call
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Fix build and warning
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Remove `async_trait` tidyup
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3e6e8af View commit details
    Browse the repository at this point in the history
  20. InMemoryBackend: Make it generic over the key hasher (paritytech#11488)

    * InMemoryBackend: Make it generic over the key hasher
    
    * Update primitives/state-machine/src/in_memory_backend.rs
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    
    * Update primitives/state-machine/src/in_memory_backend.rs
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    
    * FMT
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    941c5ae View commit details
    Browse the repository at this point in the history
  21. Unify rpc api and implementation name (paritytech#11469)

    * Unify rpc api and implementation name
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * MauanlSeal ==> ManualSealRpc
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Remove extra Rpc naming in the structs
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update doc
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * fix merge
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    fe7626b View commit details
    Browse the repository at this point in the history
  22. rpc servers CLI: add --max--subscriptions--per--connection + fix a …

    …few bugs (paritytech#11461)
    
    * cli: fix RPC CLI nits
    
    * remove needless lines
    
    * cargo fmt
    
    * Update client/service/src/lib.rs
    
    Co-authored-by: James Wilson <james@jsdw.me>
    
    Co-authored-by: James Wilson <james@jsdw.me>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a65838f View commit details
    Browse the repository at this point in the history
  23. Make --dev listen by default on /ip4/0.0.0.0/tcp/30333 (paritytec…

    …h#11492)
    
    If `--validator` is passed we also listen on this address and as `--dev` is a shortcut for multiple
    CLI args, including `--validator`, we should make it consistent.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d0d334c View commit details
    Browse the repository at this point in the history
  24. Fix State Trie Migration Benchmarks (paritytech#11502)

    * enable signed migrations in benchmarks
    
    * T instead of Test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove 'mut'
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    085698d View commit details
    Browse the repository at this point in the history
  25. Use API for pr-custom-review (paritytech#11487)

    * use API for pr-custom-review
    
    * bump action tag
    
    * temporary: disable draft skip
    
    * temporary: use staging
    
    * try it with the prod instance
    
    * revert draft skip
    joao-paulo-parity authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    489a595 View commit details
    Browse the repository at this point in the history
  26. Introduce #[pallet::call_index] attribute to dispatchables (paritytec…

    …h#11381)
    
    * Introduce #[pallet::call_index] attribute to dispatchables
    
    * cargo fmt
    
    * Add more docs and prevent duplicates of call indices
    
    * Add UI test for conflicting call indices
    
    * cargo fmt
    
    Co-authored-by: parity-processbot <>
    KiChjang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1723c43 View commit details
    Browse the repository at this point in the history
  27. Create Script to Run All Benchmarks (paritytech#11493)

    * Create run_all_benchmarks.sh
    
    * Update run_all_benchmarks.sh
    
    * Update run_all_benchmarks.sh
    
    * Review fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update scripts/run_all_benchmarks.sh
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * typo
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * add default for $1
    
    * Typo
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update run_all_benchmarks.sh
    
    * new weights on benchmarking machine
    
    * prefer `--chain=dev`
    
    * fix compile
    
    * fix command
    
    * fmt
    
    * dont use square brackets
    
    * Extend doc
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove +nightly
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add error file an run execute everything optimistically
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c3a29d5 View commit details
    Browse the repository at this point in the history
  28. Adjust maximum memory pages hard limit for the pooling instantiation …

    …strategy (paritytech#11482)
    
    * Run `sc-executor-wasmtime` unit tests for all instantiation strategies
    
    * Adjust maximum memory pages hard limit for the pooling instantiation strategy
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    4658390 View commit details
    Browse the repository at this point in the history
  29. Optimize offchain worker memory usage a bit. (paritytech#11454)

    * add missing events to elections fallback
    
    * Merged
    
    * add some logs and stuff
    
    * undo a bunch of things
    
    * undo lock file
    
    * remove unused err
    
    * fix build
    kianenigma authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    0e3bf25 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    fa2f15a View commit details
    Browse the repository at this point in the history
  31. Contracts pallet: removal on idle (paritytech#11202)

    * on_initialize -> on_idle
    
    * use remaining_weight info
    
    * no weight_limit for on_idle
    
    * call on_idle in tests
    
    * attempt to fix tests
    
    * run on_initiaize when queue full
    
    * add on_idle to weight info
    
    * add on_idle weight info to on_idle hook
    
    * add basic test for on_initialize with full queue
    
    * disbale check for all keys gone in full queue, full block test
    
    * queue_deth as usize, add comment
    
    * comment was removed by accident
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * cargo +nightly fmt
    
    * update lazy_removal_does_no_run_on_full_queue_and_full_block
    
    * remove changes in weights.rs
    
    * weights on_idle -> on_process_deletion_queue_batch
    
    * use block number for on_idle
    
    * use BlockNumber for on_initialize
    
    * 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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * Update frame/contracts/src/lib.rs
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * remove outcommented code
    
    * add check that queue still full for test
    
    * cargo fmt
    
    * cargo +nightly fmt
    
    * Update frame/contracts/src/benchmarking/mod.rs
    
    Co-authored-by: Alexander Gryaznov <hi@agryaznov.com>
    
    * fix weights.rs
    
    * add lazy_removal_does_no_run_on_low_remaining_weight test
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Gryaznov <hi@agryaznov.com>
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: Alexander Gryaznov <hi@agryaznov.com>
    4 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1f3a7a7 View commit details
    Browse the repository at this point in the history
  32. Fix Babe revert when last finalized block is a leaf (paritytech#11500)

    * Fix Babe revert when a leaf is the last finalized block
    
    Without this fix the last finalized block weight data is wrongly removed
    on revert scenario where the last finalized block is a leaf.
    
    * Remove redundant check
    
    * Added test to exercise the fix
    
    * Rename test
    
    * Give variables better names
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2676144 View commit details
    Browse the repository at this point in the history
  33. Document benchmarking CLI (paritytech#11246)

    * Decrese default repeats
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add benchmarking READMEs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update docs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update docs
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update README
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Review fixes
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1f376a3 View commit details
    Browse the repository at this point in the history
  34. Introduce WeightToFee trait instead of WeightToFeePolynomial and …

    …make `WeightToFeePolynomial` implement it instead (paritytech#11415)
    
    * Introduce `WeightToFee` trait instead of `WeightToFeePolynomial` and make `WeightToFeePolynomial` implement it instead
    
    * Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()`
    
    * Fix typo
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7d421ad View commit details
    Browse the repository at this point in the history
  35. Fix node lookup on fork-tree after a warp-sync (paritytech#11476)

    * Fix node lookup on fork-tree after a warp-sync
    
    After a warp-sync, the error condition was triggered by the absence
    of the parent node of the first imported block.
    
    The previous lookup implementation was traversing the tree using a
    recursive **post-order** DFS, this technique doesn't trigger the issue.
    
    In the last iterative implementation we were using a BFS instead.
    
    * Added internal doc warning
    
    * Small optimization
    
    * Specify post-order DFS in the comment
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d75fb2b View commit details
    Browse the repository at this point in the history
  36. Test for the fork-tree post-order DFS traversal requirement (parityte…

    …ch#11521)
    
    * Test for the fork-tree post-order DFS traversal requirement
    
    * Fixed typo
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9b4c93b View commit details
    Browse the repository at this point in the history
  37. Storage Layer for All FRAME Extrinsics (paritytech#11431)

    * add new trait
    
    * implement DispatchableWithStorageLayer
    
    * at least one transactional
    
    * all dispatch is at least transactional
    
    * storage_layer api
    
    * add test
    
    * storage layer tests
    
    * deprecate transactional tag
    
    * i guess no reason to deprecate
    
    * remove transactional from batch_all
    
    * update tests
    
    * extend trait
    
    * 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_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * 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_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * 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_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * fix copy paste name
    
    * 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_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * Create run_all_benchmarks.sh
    
    * uncomment build
    
    * update number of steps and repeats
    
    * add skip build
    
    * Update run_all_benchmarks.sh
    
    * Update run_all_benchmarks.sh
    
    * new benchmarks
    
    * Update frame/support/src/traits/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/support/src/traits/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/support/test/tests/storage_layers.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Update frame/support/test/tests/storage_layers.rs
    
    * weights
    
    * Update dispatch.rs
    
    * doc link
    
    * decl_macro support
    
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    0f37a15 View commit details
    Browse the repository at this point in the history
  38. CI: github no longer checks whitelisted actions this way (paritytech#…

    …11507)
    
    * CI: github no longer checks whitelisted actions this way
    
    * CI: actually this one is needed and no one knows it's related to a Markdown Link Check
    TriplEight authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d642a85 View commit details
    Browse the repository at this point in the history
  39. Fork-Tree import requires post-order DFS traversal (paritytech#11531)

    * Fork-tree insert requires post-order dfs traversal
    
    * Add dedicated test for methods requireing post-order traversal
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2196030 View commit details
    Browse the repository at this point in the history
  40. Fixed pruning docs (paritytech#11519)

    Szegoo authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    688c871 View commit details
    Browse the repository at this point in the history
  41. fix broken links (paritytech#11536)

    agryaznov authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b72fc44 View commit details
    Browse the repository at this point in the history
  42. Safe and sane multi-item storage removal (paritytech#11490)

    * Fix overlay prefix removal result
    
    * Second part of the overlay prefix removal fix.
    
    * Report only items deleted from storage in clear_prefix
    
    * Fix kill_prefix
    
    * Formatting
    
    * Remove unused code
    
    * Fixes
    
    * Fixes
    
    * Introduce clear_prefix host function v3
    
    * Formatting
    
    * Use v2 for now
    
    * Fixes
    
    * Formatting
    
    * Docs
    
    * Child prefix removal should also hide v3 for now
    
    * Fixes
    
    * Fixes
    
    * Formatting
    
    * Fixes
    
    * apply_to_keys_whle takes start_at
    
    * apply_to_keys_whle takes start_at
    
    * apply_to_keys_whle takes start_at
    
    * Cursor API; force limits
    
    * Use unsafe deprecated functions
    
    * Formatting
    
    * Fixes
    
    * Grumbles
    
    * Fixes
    
    * Docs
    
    * Some nitpicks 🙈
    
    * Update primitives/externalities/src/lib.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Formatting
    
    * Fixes
    
    * cargo fmt
    
    * Fixes
    
    * Update primitives/io/src/lib.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * Formatting
    
    * Fixes
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    4 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2d65dbf View commit details
    Browse the repository at this point in the history
  43. Use loops rather than backend for compatibility. (paritytech#11542)

    * Use `loops` rather than `backend` for compatibility.
    
    * Move over other converters
    gavofyork authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9cb6c09 View commit details
    Browse the repository at this point in the history
  44. sp-core: impl serde for some offchain types (paritytech#11512)

    * sp-core: impl serde for some offchain types
    
    * Update primitives/core/src/offchain/mod.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * remove serde impls from OpaqueNetworkState/OpaqueMultiaddr
    
    * derive default
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c38ced9 View commit details
    Browse the repository at this point in the history
  45. Several tweaks needed for Governance 2.0 (paritytech#11124)

    * Add stepped curve for referenda
    
    * Treasury SpendOrigin
    
    * Add tests
    
    * Better Origin Or-gating
    
    * Reciprocal curve
    
    * Tests for reciprical and rounding in PerThings
    
    * Tweaks and new quad curve
    
    * Const derivation of reciprocal curve parameters
    
    * Remove some unneeded code
    
    * Actually useful linear curve
    
    * Fixes
    
    * Provisional curves
    
    * Rejig 'turnout' as 'support'
    
    * Use TypedGet
    
    * Fixes
    
    * Enable curve's ceil to be configured
    
    * Formatting
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Remove EnsureOneOf
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Formatting
    
    * Fixes
    
    * Update frame/support/src/traits/dispatch.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Grumbles
    
    * Formatting
    
    * Fixes
    
    * APIs of VoteTally should include class
    
    * Fixes
    
    * Fix overlay prefix removal result
    
    * Second part of the overlay prefix removal fix.
    
    * Formatting
    
    * Fixes
    
    * Add some tests and make clear rounding algo
    
    * Fixes
    
    * Formatting
    
    * Revert questionable fix
    
    * Introduce test for kill_prefix
    
    * Fixes
    
    * Formatting
    
    * Fixes
    
    * Fix possible overflow
    
    * Docs
    
    * Add benchmark test
    
    * Formatting
    
    * Update frame/referenda/src/types.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    * Docs
    
    * Fixes
    
    * Use latest API in tests
    
    * Formatting
    
    * Whitespace
    
    * Use latest API in tests
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    654b9a9 View commit details
    Browse the repository at this point in the history
  46. change impl FnOnce() to generic type + trait bound (paritytech#11534)

    * change impl FnOnce() to generic type + trait bound
    
    with_transaction() function can not be used with explicit generic arguments because of this issue: rust-lang/rust#83701
    
    * make the same changes elsewhere
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    22fd0a9 View commit details
    Browse the repository at this point in the history
  47. Introduce rusty-cachier (paritytech#11462)

    * Introduce `rusty-cachier`
    
    * Return LF at the end of file
    
    * Use `entrypoint` to `unshare(1)` into a new mount namespace
    
    * Use `rusty-cachier`-provided absolute path for `CARGO_TARGET_DIR` everywhere
    
    * Debug single `build-rustdoc` job
    
    * CI: debug
    
    * CI: debug
    
    * CI: debug
    
    * `unshare(1)` is no longer needed
    
    * CI: remove debug
    
    * Revert "Debug single `build-rustdoc` job"
    
    * Formatiing
    
    * Update scripts/ci/gitlab/pipeline/build.yml
    
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1fdefce View commit details
    Browse the repository at this point in the history
  48. Clean up #[transactional] (paritytech#11546)

    * Deprecate #[transactional] attribute
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove #[transactional] from nomination pools
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Review fix
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Fix NOOP test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Suppress warnings
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    dec9c86 View commit details
    Browse the repository at this point in the history
  49. Add rusty-cachier notify job (paritytech#11554)

    * Add `rusty-cachier notify` job
    
    * Add comments
    rcny authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8bee1ce View commit details
    Browse the repository at this point in the history
  50. Fix CI after rusty-cachier introduction (paritytech#11556)

    * Fix CI after `rusty-cachier` introduction
    
    * Replace anchor with `extends`
    rcny authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    07b2bde View commit details
    Browse the repository at this point in the history
  51. Introduce EnsureOrigin::try_successul_origin (paritytech#11558)

    * Introduce `EnsureOrigin::try_successul_origin`
    
    * Formatting
    
    * Fixes
    
    * Add Morph
    
    * Fixes
    
    * Formatting
    gavofyork authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5ac01f9 View commit details
    Browse the repository at this point in the history
  52. Sync: Improve major sync detection (paritytech#11547)

    * Sync: Improve major sync detection
    
    When we still have a full import queue, we should still report that we are in major sync mode,
    otherwise validators may will already start producing blocks.
    
    * Use median
    
    * Review comments
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5258c44 View commit details
    Browse the repository at this point in the history
  53. Fix clippy on master (paritytech#11559)

    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ea79453 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    a71f289 View commit details
    Browse the repository at this point in the history
  55. Fix minor typos (paritytech#11550)

    * Fix minor typos
    
    * FMT
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5616690 View commit details
    Browse the repository at this point in the history
  56. Short circuit Treasury::Spend benchmark for NeverEnsureOrigin (parity…

    …tech#11562)
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: parity-processbot <>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    cf3c2f2 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    cd30dc6 View commit details
    Browse the repository at this point in the history
  58. Ranked Collective pallet (paritytech#11548)

    * Ranked Collective pallet
    
    * Fixes
    
    * benchmarks
    
    * Weights
    
    * Allow class voting in rank
    Use bare ayes for calculating support.
    Allow only promotion/demotion by one rank only.
    Allow removal of member with rank zero only.
    Use new Tally API
    
    * Index by rank, still O(1).
    
    * Custom vote weights
    
    * Formatting
    
    * Update frame/ranked-collective/src/lib.rs
    
    * Broken :(
    
    * origin guard; cleanup uses new API
    
    * Formatting
    
    * Promote/demote by rank
    
    * Formatting
    
    * Use new API
    
    * Remove code in another PR
    
    * Remove code in another PR
    
    * Formatting
    
    * Remove code in another PR
    
    * Docs
    
    * Docs
    
    * Bump
    
    * Fixes
    
    * Formatting
    
    * Fixes
    gavofyork authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c956b8f View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    ca3f3a7 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    ae701e3 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    2826b8f View commit details
    Browse the repository at this point in the history
  62. Fix all warnings when building for wasm (paritytech#11569)

    * Fix all warnings when building for wasm
    
    Besides that it also enables warnings as errors for wasm builds in the CI.
    
    * FMT
    
    * Make clippy happy
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c942f30 View commit details
    Browse the repository at this point in the history
  63. Helper macro for Morph impls (paritytech#11570)

    * Helper macro for Morph impls
    
    * No need to deprecate for now
    
    * Improved macro
    
    * Doc tests
    
    * Grumbles
    gavofyork authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c873774 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    a910e38 View commit details
    Browse the repository at this point in the history
  65. CI: fix build-subkey-macos build job (paritytech#11573)

    * CI: fix `build-subkey-macos` build job
    
    * CI: use full path for the `CARGO_TARGET_DIR` default value
    rcny authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d78040b View commit details
    Browse the repository at this point in the history
  66. aura: export change_authorities and initialize_authorities (paritytec…

    …h#11468)
    
    * aura: export change_authorities and initialize_authorities
    
    * add docs
    
    * fix docs
    yjhmelody authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    cc0d17e View commit details
    Browse the repository at this point in the history
  67. Reduce call size of Referenda pallet (paritytech#11578)

    * Reduce call size of Referenda pallet
    
    * Fixes
    
    * Fixes
    
    * Fixes
    
    * Docs
    gavofyork authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9fdf1c9 View commit details
    Browse the repository at this point in the history
  68. reactivate check-dependent-cumulus (paritytech#11506)

    * re-enable check-dependent-cumulus
    
    * temporary: use handle-extra-dependencies
    
    * temporary: trim CI
    
    * CI: include build stage
    
    * CI: include test stage
    
    * CI: include test stage
    
    * Revert "temporary: trim CI"
    
    This reverts commit dcf4ae8.
    
    * CI: fix weird revert
    
    * Revert "temporary: use handle-extra-dependencies"
    
    This reverts commit bc0dc0f.
    
    * CI undebug
    
    Co-authored-by: TriplEight <denis.pisarev@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f6e25d9 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    2f96cab View commit details
    Browse the repository at this point in the history
  70. [ci] use cargo nextest instead cargo test in test-linux-stable (parit…

    …ytech#11576)
    
    * [DO NOT MERGE] Experimenting with nextest
    
    * enable jobs
    
    * enable stages
    
    * add comment
    
    * create test-frame-support job
    alvicsam authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    567f9c9 View commit details
    Browse the repository at this point in the history
  71. Expose ValidatedTransaction from transaction pool (paritytech#11588)

    This is required to make a tx pool wrapper for some custom transaction validation, specificially
    required to make a wrapper around the `LocalTransactionPool` implementation (https://github.com/subspace/subspace/blob/f54881a9b5/crates/subspace-service/src/pool.rs#L232-L269).
    
    Related: paritytech#11520
    liuchengxu authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    cafd284 View commit details
    Browse the repository at this point in the history
  72. Tracable defensive errors (paritytech#11532)

    * Tracable defensive errors
    
    * small fixes
    
    * fix
    
    * refactored
    
    * switched to defensive_ok_or
    
    * Remove unnecessary type annotations and conversions
    
    * cargo fmt
    
    * Fixes
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    53c3f02 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    f02c0ba View commit details
    Browse the repository at this point in the history
  74. Add host info to weight templates (paritytech#11583)

    * Add host info to weight templates
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    Co-authored-by: Parity Bot <admin@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    70d3271 View commit details
    Browse the repository at this point in the history
  75. Expose Benchmarking Component Ranges (paritytech#11545)

    * Add component ranges to benchmarking
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Adding component ranges to templates
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * tweak script to reduce diff
    
    * 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_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a7c38e0 View commit details
    Browse the repository at this point in the history
  76. make era public (paritytech#11575)

    zqhxuyuan authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a08a790 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    c490c5c View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    e221373 View commit details
    Browse the repository at this point in the history
  79. Remove a max supply record on collection's destruction (paritytech#11593

    )
    
    * Remove a max supply record on collection's destruction
    
    * 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_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * 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_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * 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_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    Co-authored-by: Parity Bot <admin@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    dfbbe8f View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    009d08f View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    75069cd View commit details
    Browse the repository at this point in the history
  82. Improve docs on --keep-blocks CLI parameter and related data struct…

    …ures (paritytech#11611)
    
    * Improve docs on `--keep-blocks` CLI parameter and related data structures
    
    * Update client/db/src/lib.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    eca7f13 View commit details
    Browse the repository at this point in the history
  83. Improve inspection and generation of node keys (paritytech#11525)

    * Improve inspection and generation of node keys
    
    * Lock stdout before write
    
    * Fix typo
    
    * Fix offset
    
    * Remove useless code
    
    * Set inspect-node-key 'network' option as obsolete
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    443196b View commit details
    Browse the repository at this point in the history
  84. Better transaction pool error (paritytech#11629)

    * Better transaction pool error
    
    * Do not use `Debug` when printing errors
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ca30933 View commit details
    Browse the repository at this point in the history
  85. Use BoundedVec in aura pallet (paritytech#11617)

    * Use BoundedVec in aura pallet
    
    * cargo fmt
    KiChjang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2b1b010 View commit details
    Browse the repository at this point in the history
  86. pallet alliance (paritytech#11112)

    * Add pallet-alliance
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update multihash/cid and format
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Remove useless deps
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add pallet-alliance into node runtime
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Fix has_identity
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add TooMantBlacklist Error
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add TooLongWebsiteUrlLength Error
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add remove_announcement
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Derive pallet_identity::Config and Fix test/benchmarking
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add part weight for call of pallet-alliance
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Remove pallet_identity Config trait
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Fix propose arguments
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Some nits
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * cargo fmt
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Fix benchmarking of add_blacklist/remove_blacklist
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Some nits
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add benchmarking for init_members
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Add benchmarking for propose/vote/veto
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Fix benchmarking
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Remove some useless
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * fix some compile issue
    
    * more fix
    
    * all checks
    
    * refactor
    
    * refactor event
    
    * refactor
    
    * cleanup
    
    * cleanup
    
    * fix benchmarking
    
    * fix warning
    
    * fmt
    
    * fix benchmarks
    
    * with storage info
    
    * fmt
    
    * add new config
    
    * fix benchmarks
    
    * fix
    
    * fmt
    
    * Apply suggestions from code review
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * improvements
    
    * fix
    
    * update docs
    
    * rename events, errors, and functions
    
    * make kicking events clearer
    
    * fix
    
    * fix tests
    
    * fix tests
    
    * fix runtime
    
    * fix build
    
    * remove unneeded change
    
    * remove Candidate role from Alliance
    
    * fmt grumbles
    
    * update lock
    
    * update recursion limit
    
    * benchmarks
    
    * convert-try
    
    * benchmark assertions
    
    * fmt ,
    
    * cargo lock
    
    * Update frame/alliance/src/benchmarking.rs
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    
    * add docs to public interfaces
    
    * Apply suggestions from code review
    
    Co-authored-by: Squirrel <gilescope@gmail.com>
    
    * fix build (node)
    
    * review
    
    * use EitherOfDiverse
    
    * update cargo toml
    
    * make all dispatch class Normal
    
    * change blacklist to unscrupulous
    
    * formatting
    
    * fmt oops
    
    * rename benchmarking unscrupulous account creator
    
    Co-authored-by: koushiro <koushiro.cqx@gmail.com>
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: joepetrowski <joe@parity.io>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    Co-authored-by: Squirrel <gilescope@gmail.com>
    6 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7fffee6 View commit details
    Browse the repository at this point in the history
  87. Add fixed u64 (paritytech#11555)

    Co-authored-by: parity-processbot <>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a611b93 View commit details
    Browse the repository at this point in the history
  88. Remove storage MaxValues limits (paritytech#11643)

    * Remove limits
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Remove more
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7ff4cf5 View commit details
    Browse the repository at this point in the history
  89. Added an event for cancel_proposal (paritytech#11620)

    * Added an event for cancel_proposal
    
    * test
    Szegoo authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5f2bbf2 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    399469d View commit details
    Browse the repository at this point in the history
  91. Bump crossbeam-utils from 0.8.5 to 0.8.8 (paritytech#11605)

    Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.5 to 0.8.8.
    - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
    - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
    - [Commits](crossbeam-rs/crossbeam@crossbeam-utils-0.8.5...crossbeam-utils-0.8.8)
    
    ---
    updated-dependencies:
    - dependency-name: crossbeam-utils
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    e0146f0 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    e0ec85d View commit details
    Browse the repository at this point in the history
  93. MEL bound state-trie-migration (paritytech#11639)

    * MEL bound state-trie-migration
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * wip
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add tests
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use sp_std
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    
    * Add doc
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Set MaxKeyLen default to 512
    
    Just to be sure that it will work. There is also no real penalty
    from over-estimating it.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add more doc
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix assert_err_with_weight macro
    
    Looks like I'm the only one using it anyway...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tests that use env macro
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d7eaff9 View commit details
    Browse the repository at this point in the history
  94. Move bounded type definitions to sp-runtime (paritytech#11645)

    * Move bounded type definitions to sp-runtime
    
    * cargo fmt
    
    * Fix compile error
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Move TryCollect to sp-runtime
    
    * Write some docs
    
    * Import missing types
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ad50193 View commit details
    Browse the repository at this point in the history
  95. Implement MaxEncodedLen on pallet-beefy (paritytech#11584)

    * Implement MaxEncodedLen on pallet-beefy
    
    * Return Result in intialize_authorities
    
    * Update docs
    
    * Log error when authorities list gets truncated
    
    * Update frame/beefy/src/lib.rs
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    
    * cargo fmt
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    51dfc0d View commit details
    Browse the repository at this point in the history
  96. Implement PartialOrd and Ord on BoundedSlice and WeakBoundedVec (pari…

    …tytech#11655)
    
    * Implement PartialOrd and Ord on BoundedSlice and WeakBoundedVec
    
    * More implementations of PartialEq and PartialOrd
    
    * cargo fmt
    
    * Fixes
    KiChjang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    113da3b View commit details
    Browse the repository at this point in the history
  97. Allow nomination pools to chill + fix dismantle scenario (paritytech#…

    …11426)
    
    * make pool roles optional
    
    * undo lock file changes?
    
    * add migration
    
    * add the ability for pools to chill themselves
    
    * boilerplate of tests
    
    * somewhat stable, but I think I found another bug as well
    
    * Fix it all
    
    * Add more more sophisticated test + capture one more bug.
    
    * Update frame/staking/src/lib.rs
    
    * reduce the diff a little bit
    
    * add some test for the slashing bug
    
    * cleanup
    
    * fix lock file?
    
    * Fix
    
    * fmt
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/mock.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix build
    
    * fix some fishy tests..
    
    * add one last integrity check for MinCreateBond
    
    * remove bad assertion -- needs to be dealt with later
    
    * nits
    
    * fix tests and add benchmarks for chill
    
    * remove stuff
    
    * fix benchmarks
    
    * 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_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * remove defensive
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Co-authored-by: Parity Bot <admin@parity.io>
    4 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    e1cde2e View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    871d1f0 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    3c3e0a4 View commit details
    Browse the repository at this point in the history
  100. Add TypeInfo (paritytech#11599)

    boundless-forest authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2e19172 View commit details
    Browse the repository at this point in the history
  101. wasm-builder: Fix constant re-running of build.rs scripts. (parityt…

    …ech#11624)
    
    Recently we added the wasm binaries to the `rerun-if-changed` list. The problem with that is that
    they have a later mtime than the `invoked.timestamp` file and this file's mtime is used to determine
    if the `build.rs` script needs to be re-run. The solution to this is that we copy the mtime of this
    `invoked.timestamp` file and add it to the wasm binaries. Then cargo/rustc doesn't constantly wants
    to rerun the `build.rs` script.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2cc8755 View commit details
    Browse the repository at this point in the history
  102. Increment subkey version to 2.0.2 (paritytech#11656)

    * Increment subkey version to 2.0.2
    
    * Update Cargo.lock
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8a039aa View commit details
    Browse the repository at this point in the history
  103. Implement Deref for BoundedSlice (paritytech#11660)

    * Impl Deref for BoundedSlice
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update primitives/runtime/src/bounded/bounded_vec.rs
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    106f904 View commit details
    Browse the repository at this point in the history
  104. grandpa: fix creation of justification with equivocating precommits i…

    …n commit (paritytech#11302)
    
    * grandpa: fix creation of justification ancestry
    
    we would reject commits that have precommits targeting blocks lower than the
    commit target. when there is an equivocation (or if it the commit is not
    minimal) it is possible to have such precommits and we should assume that they
    are the round base.
    
    * grandpa: bump to 0.16.0
    
    * grandpa: add test for justification with equivocation
    
    * grandpa: fix failing test
    andresilva authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    448fa83 View commit details
    Browse the repository at this point in the history
  105. Make it possible to disable RocksDB completely (paritytech#11537)

    * Make it possible to disable RocksDB completely
    
    * Make ParityDB non-optional
    
    * Address review comments
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    92b6a54 View commit details
    Browse the repository at this point in the history
  106. rpc servers: update jsonrpsee to fix host filtering + WS server-side …

    …pings (paritytech#11661)
    
    * bump jsonrpsee to fix paritytech#11480
    
    In addition it adds WebSocket server-side pings which is configured to
    send out pings periodically every 30 seconds.
    
    * use released crates.io version
    
    * Update Cargo.toml
    niklasad1 authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    bad21fa View commit details
    Browse the repository at this point in the history
  107. Include the chain specs instead of trying to open them by path (parit…

    …ytech#11625)
    
    This makes it possible to run the tests manually, without them expecting to be run in a special
    folder etc.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    32cbe28 View commit details
    Browse the repository at this point in the history
  108. Remove without_storage_info from pallet transaction-storage (pari…

    …tytech#11668)
    
    * Introduce BoundedVec
    
    * Fix typos
    
    * Add comments to the bounds
    
    * Remove migration
    
    * Improve bound value access syntax
    skunert authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    82c9320 View commit details
    Browse the repository at this point in the history
  109. combine iteratons and tolerance in sp-npos-elections API (paritytech#…

    …11498)
    
    * Initial implementation of mms
    
    * Some more attempts at `mms`
    
    * Functioning `MMS` algorithm implementation.
    Adding some tests too
    
    * More tests and typos fixed.
    
    * Adding fuzzer for `mms`
    (but could not test it on Mac M1)
    
    * Missing imports
    
    * Fixing rustdoc
    
    * More accurate implementation of `mms`
    
    * Removing the fuzzer `mms` implementation
    
    * Implementing `NposSolver` for `MMS`
    had to add the `Clone` trait, maybe I could see if I can get rid of it.
    
    * Fixing rust docs by adding () to resolve ambiguity
    
    * Amending `unwrap` to `expect`
    removing unneeded `Clone` trait
    
    * Removing redundant `mms3.rs`
    
    * Implementing `BalancingConfig` and rustdoc changes
    
    * Implementing `weight` for `MMS`
    
    * Implementing `weight` for `MMS`
    
    * Fixing post merge
    
    * Initial implementation of mms
    
    * Some more attempts at `mms`
    
    * Functioning `MMS` algorithm implementation.
    Adding some tests too
    
    * More tests and typos fixed.
    
    * Adding fuzzer for `mms`
    (but could not test it on Mac M1)
    
    * Missing imports
    
    * Fixing rustdoc
    
    * More accurate implementation of `mms`
    
    * Removing the fuzzer `mms` implementation
    
    * Implementing `NposSolver` for `MMS`
    had to add the `Clone` trait, maybe I could see if I can get rid of it.
    
    * Amending `unwrap` to `expect`
    removing unneeded `Clone` trait
    
    * Fixing rust docs by adding () to resolve ambiguity
    
    * Removing redundant `mms3.rs`
    
    * Implementing `BalancingConfig` and rustdoc changes
    
    * Implementing `weight` for `MMS`
    
    * Implementing `weight` for `MMS`
    
    * Fixing post merge
    
    * Removing left over from rebase
    
    * Fixing tests
    
    * Removing unneeded import
    
    * Removing unneeded functions
    
    * Removing useless imports
    
    Co-authored-by: kianenigma <kian@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    409439a View commit details
    Browse the repository at this point in the history
  110. Add Event to Pallet Transaction Payment (paritytech#11618)

    * add Event to Pallet Transaction Payment
    
    * Fix tests in Pallet Balance
    
    * Fix tests in Pallet Balance/Executive/Asset-tx-payment.
    
    * Fix
    
    * fmt
    
    * Fix
    
    * Fix
    
    * Update Cargo.lock
    
    * Fix tests in executor
    
    * Update frame/transaction-payment/src/lib.rs
    
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    
    * update the name of the event and fmt.
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1df1e58 View commit details
    Browse the repository at this point in the history
  111. Remove without_storage_info for the authorship pallet (paritytech#1…

    …1610)
    
    * Remove `without_storage_info` for the authorship pallet
    
    * Tweak impl bounds style
    
    * Use `defensive_proof` instead of `expect`
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2057427 View commit details
    Browse the repository at this point in the history
  112. MEL: Origin, Referenda, ConvictionVoting (paritytech#11631)

    * Referenda & CV pallets ready
    
    * Fix build
    
    * Add mel_bound for Voting and Casting types
    
    * Add mel_bound on Tally
    
    * Add mel_bound on another Tally
    
    * Add mel_bound for pallet_collective::RawOrigin
    
    Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8cb2280 View commit details
    Browse the repository at this point in the history
  113. Remove multiply_by_rational (paritytech#11598)

    * Removed multiply_by_rational
    Replaced with multiply_by_rational_with_rounding
    
    * fixes
    
    * Test Fixes
    
    * nightly fmt
    
    * Test Fix
    
    * Fixed fuzzer.
    tifecool authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    185284d View commit details
    Browse the repository at this point in the history
  114. Upgrade to libp2p 0.45.1 (paritytech#11682)

    * Upgrade to libp2p 0.45.1
    
    * Limit max_negotiating_inbound_streams to 512
    
    * Upgrade prost-build to 0.10
    
    * Set max_negotiating_inbound_streams to 2048
    
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    
    * Fix authority discovery protobuf
    
    * Fix comments in authority-discovery schema
    
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    
    * Add a comment about transport initialization
    
    Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    e254258 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    8ae0574 View commit details
    Browse the repository at this point in the history
  116. chore: reduce uxt encode times (paritytech#11698)

    * chore: reduce uxt encode times
    
    * fmt
    yjhmelody authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1d7bb29 View commit details
    Browse the repository at this point in the history
  117. Simplified code using existing APIs (paritytech#11702)

    Signed-off-by: Emison Lu <lzh1633856298@gmail.com>
    EmisonLu authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6cbac4c View commit details
    Browse the repository at this point in the history
  118. storage-alias: Check that prefix is not an underscore (paritytech#1…

    …1704)
    
    Besides that it also adds some UI tests.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    86c465c View commit details
    Browse the repository at this point in the history
  119. Bump twox-hash from 1.6.2 to 1.6.3 (paritytech#11423)

    Bumps [twox-hash](https://github.com/shepmaster/twox-hash) from 1.6.2 to 1.6.3.
    - [Release notes](https://github.com/shepmaster/twox-hash/releases)
    - [Commits](shepmaster/twox-hash@v1.6.2...v1.6.3)
    
    ---
    updated-dependencies:
    - dependency-name: twox-hash
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2e70f21 View commit details
    Browse the repository at this point in the history
  120. Update syn and fix compilation (paritytech#11707)

    * Update syn and fix compilation
    
    * Bump pin-project
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ff6012d View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    de8600d View commit details
    Browse the repository at this point in the history
  122. Pump the gossip engine while waiting for the BEEFY runtime pallet (me…

    …mory leak fix) (paritytech#11694)
    
    * Pump the gossip engine while waiting for the BEEFY runtime pallet
    
    This fixes a memory leak when the BEEFY gadget is turned on, but
    the runtime doesn't actually use BEEFY.
    
    * Implement `FusedFuture` for `GossipEngine`
    
    * Fuse futures outside of loops
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3a86efc View commit details
    Browse the repository at this point in the history
  123. Implement Serialize/Deserialize on WeakBoundedVec (paritytech#11713)

    * Implement Serialize/Deserialize on WeakBoundedVec
    
    * cargo fmt
    
    * Warn when there are too many elements while deserializing WeakBoundedVec
    KiChjang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b829218 View commit details
    Browse the repository at this point in the history
  124. More robust grandpa revert procedure (paritytech#11719)

    * More robust revert procedure
    
    Return an error if revert is called in a node that is not actively
    running grandpa, i.e. grandpa genesis data has not been initialized.
    Previous implementation was just firing an `unreachable!` code exception.
    
    Furthermore we skip revert hassle if there is nothing to revert.
    
    * Nit
    davxy authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f38db75 View commit details
    Browse the repository at this point in the history
  125. Fix typo in weights.rs (paritytech#11724)

    overriden -> overridden
    eltociear authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6f8f0ec View commit details
    Browse the repository at this point in the history
  126. WrapperOpaque: Use decode_all to decode from the Vec<u8> (parityt…

    …ech#11726)
    
    This ensures that there isn't any extra data attached that isn't used.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8558d97 View commit details
    Browse the repository at this point in the history
  127. Respect cargo offline env variable in wasm builder (paritytech#11735)

    * Support offline env variable in wasm builder
    
    * Clean up
    
    * Improve checks
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Update crate docs
    
    * Add docs to `lib.rs` and introduce helper method `offline_build`
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c8cf43c View commit details
    Browse the repository at this point in the history
  128. contracts: Reduce size of deletion queue depth (paritytech#11696)

    * contracts: Reduce size of deletion queue depth
    
    * Remove unused import
    athei authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7bc3ace View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    4333f91 View commit details
    Browse the repository at this point in the history
  130. epochs: don't use gap when there's at least one genesis epoch imported (

    paritytech#11725)
    
    * epochs: don't use gap when there's at least one genesis epoch imported
    
    * epochs: add test for genesis gap fix
    andresilva authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    bf4e8ce View commit details
    Browse the repository at this point in the history
  131. pallet-beefy-mmr: add API for BEEFY Authority Sets (paritytech#11406)

    * pallet-beefy: add Config::OnNewValidatorSet type
    
    Add a hook to pallet-beefy for doing specific work when
    BEEFY validator set changes.
    
    For example, this can be used by pallet-beefy-mmr to cache
    a lightweight MMR root over validators and make it available
    to light clients.
    
    * pallet-beefy-mmr: implement OnNewValidatorSet
    
    Implement pallet-beefy::OnNewValidatorSet to be notified of BEEFY
    validator set changes. Use the notifications to compute and cache
    a light weight 'BEEFY authority set' which is an MMR root over
    BEEFY validator set plus some extra info.
    
    Previously, pallet-beefy-mmr was interogating pallet-beefy about
    validator set id on every block to find out when it needs to recompute
    the authority set.
    By using the event-driven approach in this commit, we also save one
    extra state interogation per block.
    
    * pallet-beefy-mmr: add new authority_set() API
    
    Expose current and next BEEFY authority sets through runtime API.
    These can be directly used by light clients to avoid having them
    compute them themselves based on BEEFY validator sets.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * rename BeefyMmr exposed runtime api
    acatangiu authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a43f5e7 View commit details
    Browse the repository at this point in the history
  132. make pallet-tips & pallet-bounties instantiable (paritytech#11473)

    * make pallet-tips & pallet-bounties instantiable
    
    * update test
    
    * add default instance
    
    * update
    
    * cargo fmt
    
    * update
    
    * update
    
    * update
    
    * update
    
    * fix merge
    
    * fix tests
    
    * bounties benchmarking instantiable
    
    * fix benchmarks
    
    * make tips benchmarks instantible
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    12f795c View commit details
    Browse the repository at this point in the history
  133. [contracts] Implement transparent hashing for contract storage (parit…

    …ytech#11501)
    
    * save
    
    * builds and old tests pass
    
    save:  temporary value dropped while borrowed
    
    save: finally builds
    
    test updated but still fails
    
    * type names enhanced
    
    * VarSizedKey bounded to new Config param
    
    * improved wasm runtime updated funcs
    
    * unstable-interface tests fixed
    
    * benchmarks fixed
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * fixes on feedback
    
    * fixes on feedback applied + make it build
    
    * benchmarks build but fail (old)
    
    * "Original code too large"
    
    * seal_clear_storage bench fixed (code size workaround hack removal tbd)
    
    * bench_seal_clear_storage pass
    
    * bench_seal_take_storage ... ok
    
    * added new seal_set_storage + updated benchmarks
    
    * added new seal_get_storage + updated benchmarks
    
    * added new seal_contains_storage + updated benchmarks
    
    * added tests for _transparent exec functions
    
    * wasm test for clear_storage
    
    * wasm test for take_storage
    
    * wasm test for new set_storage
    
    * wasm test for new get_storage
    
    * wasm test for new contains_storage
    
    * CI fix
    
    * ci fix
    
    * ci fix
    
    * ci fix
    
    * 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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * fixes according to the review feedback
    
    * tests & benchmarks fixed
    
    * 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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * refactoring
    
    * fix to runtime api
    
    * ci fix
    
    * ctx.get_storage() factored out
    
    * ctx.contains_storage() factored out
    
    * number of batches reduced for transparent hashing storage benchmarks
    
    * contracts RPC & pallet::get_storage to use transparent hashing
    
    * node and rpc updated to use get_storage with VarSizedKey
    
    * refactored (more concize)
    
    * refactored contains_storage (DRYed)
    
    * refactored contains_storage (DRYed)
    
    * fix rpc
    
    * fmt fix
    
    * more fixes in rpc
    
    * rollback `Pallet:get_storage` to Vec<u8> and rpc and node parts related to it
    
    * added `KeyDecodingFailed` error
    
    * Revert weird "fmt fix"
    
    This reverts commit c582cff.
    
    * node-executor basic test update
    
    * fix node-executor basic test
    
    * benchmarks fix
    
    * more benchmarks fix
    
    * FixedSizedKey is hidden from pub, VarSizedKey is exported as StorageKey
    
    * ci fix
    
    * set_storage benchmark fix
    
    * ci fix
    
    * ci fix
    
    * comments improved
    
    * new error code to rpc: KEY_DECODING_FAILED
    
    * Put `rusty-cachier` before PR merge into `master` for `cargo-check-benches` job
    
    * 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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * minor optimization
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
    Co-authored-by: command-bot <>
    4 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5fd36b7 View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    d459a46 View commit details
    Browse the repository at this point in the history
  135. Bump wasmtime to 0.38.0 and zstd to 0.11.2 (paritytech#11720)

    * Bump `wasmtime` to 0.37.0 and `zstd` to 0.11.2
    
    * Bump `wasmtime` to 0.38.0
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    95253a8 View commit details
    Browse the repository at this point in the history
  136. Avoid a duplicate block request when syncing from a fork (paritytech#…

    …11094)
    
    * Separate queueing blocks for import from removal
    
    * Add regression tests
    
    * Remove unnecessary log
    
    * Clear queued blocks when processed
    
    * Move check out of match block
    
    * Track queued block ranges
    
    * Update client/network/sync/src/blocks.rs
    
    * Update client/network/sync/src/blocks.rs
    
    * Update client/network/sync/src/blocks.rs
    
    * Update client/network/sync/src/blocks.rs
    
    * FMT
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    Co-authored-by: Bastian Köcher <info@kchr.de>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    37ea81e View commit details
    Browse the repository at this point in the history
  137. Democracy.fast_track not allowed with zero voting period (paritytech#…

    …11666)
    
    * Democracy.fast_track not allowed with zero voting period
    
    * revert static parameter alter line
    
    * ensure voting period greater zero
    
    * update doc for fast_track
    
    * unit test: instant fast track to the next block referendum is backed
    
    * fix typos in comments
    muharem authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b3a4e0b View commit details
    Browse the repository at this point in the history
  138. Prevent unsoundness in environments with broken `madvise(MADV_DONTNEE…

    …D)` (paritytech#11722)
    
    * Prevend unsoundness in environments with broken `madvise(MADV_DONTNEED)`
    
    * Add the `std` feature to `rustix` dependency
    
    Apparently not having this breaks compilation on non-nightly toolchains.
    
    * Autodetect the page size when checking whether `madvise` works
    
    * Only make sure that the madvice check doesn't return `Err`
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    fc7bf70 View commit details
    Browse the repository at this point in the history
  139. Refund weight in system::fillBlock (paritytech#11754)

    * fix
    
    * pushed
    
    * node: fix fee multiplier test
    
    Co-authored-by: André Silva <andrerfosilva@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    289e2b5 View commit details
    Browse the repository at this point in the history
  140. nomination-pools fix (paritytech#11748)

    * Nomination pool fix
    
    * fmt
    Szegoo authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2ec5381 View commit details
    Browse the repository at this point in the history
  141. Configuration menu
    Copy the full SHA
    c206bfa View commit details
    Browse the repository at this point in the history
  142. [contracts] Fixed the bug with transfer value for delegate call (pari…

    …tytech#11771)
    
    * Fixed the bug with transfer value.
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    
    * Moved check into `initial_transfer`
    
    * Fmt
    
    Co-authored-by: Alexander Theißen <alex.theissen@me.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9a5fde1 View commit details
    Browse the repository at this point in the history
  143. Configuration menu
    Copy the full SHA
    9baef28 View commit details
    Browse the repository at this point in the history
  144. pallet-mmr: handle forks without collisions in offchain storage (pari…

    …tytech#11594)
    
    * pallet-mmr: fix some typos
    
    * pallet-mmr: make the MMR resilient to chain forks
    
    * pallet-mmr: get hash for block that added node
    
    * beefy-mmr: add debug logging
    
    * add explanatory comment
    
    * account for block offset of pallet activation
    
    * add support for finding all nodes added by leaf
    
    * minor improvements
    
    * add helper to return all nodes added to mmr with a leaf append
    
    * simplify leaf_node_index_to_leaf_index
    
    summing the (shifted) differences in peak positions adds up to the (shifted) final position, so
    don't need to fold over positions.
    
    * dead fish: this also doesn't work
    
    The idea was to keep a rolling window of `(parent_hash, pos)` leaf
    entries in the offchain db, with the window matching the one
    that provides `block_num -> block_hash` mappings in `frame_system`.
    
    Once a leaf exits the window it would be "canonicalized" by switching
    its offchain db key from `(parent_hash, pos)` to simple `pos`.
    
    This doesn't work however because there's no way to get leaf contents
    from offchain db while in runtime context.. so no way to get+clear+set
    leaf to change its key in offchain db.
    
    Ideas:
    1. move the "canonicalization" logic to offchain worker
    2. enhance IndexingApi with "offchain::move(old_key, new_key)"
       This is weird, but correct, deterministic and safe AFAICT, so
       it could be exposed to runtime.
    
    * simplify rightmost_leaf_node_index_from_pos
    
    * minor fix
    
    * move leaf canonicalization to offchain worker
    
    * move storage related code to storage.rs
    
    * on offchain reads use canonic key for old leaves
    
    * fix offchain worker write using canon key
    
    * fix pallet-mmr tests
    
    * add documentation and fix logging
    
    * add offchain mmr canonicalization test
    
    * test canon + generate + verify
    
    * fix pallet-beefy-mmr tests
    
    * implement review suggestions
    
    * improve test
    
    * pallet-mmr: add offchain pruning of forks
    
    * pallet-mmr: improve offchain pruning
    
    Instead of keeping pruning map as single blob in offchain db,
    keep individual parent-hash lists with block-num identifier as part
    of the offchain key.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * pallet-mmr: improve MMRStore<OffchainStorage>::get()
    
    Do the math and retrieve node using correct (canon or non-canon)
    offchain db key, instead of blindly looking in both canon and non-canon
    offchain db locations for each node.
    
    Still fallback on looking at both if for any reason it's not where
    expected.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * pallet-mmr: storage: improve logs
    
    * fix tests: correctly persist overlay
    
    runtime indexing API works on overlay, whereas offchain context
    bypasses overlay, so for loops > canon-window, canon would fail.
    
    * pallet-mmr: fix numeric typo in test
    
    * add comment around LeafData requirements
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    Co-authored-by: Robert Hambrock <roberthambrock@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    13bf42e View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    e89c2d9 View commit details
    Browse the repository at this point in the history
  146. Un-deprecate Transactional Macro (paritytech#11807)

    * un-deprecate transactional macro
    
    * add transactional back to nomination pools
    shawntabrizi authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    dd8f87c View commit details
    Browse the repository at this point in the history
  147. sync: Fixed clearing subsequent ranges (paritytech#11815)

    * sync: Fixed clearing subsequent ranges
    
    * Warp sync fix
    
    * Better documentation
    arkpar authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    fabec10 View commit details
    Browse the repository at this point in the history
  148. CLI flag to configure tx ban duration (paritytech#11786)

    * add tx-ban-seconds
    
    * fix
    
    * trigger CI
    
    * trigger CI
    
    * remove test print
    
    * Update client/cli/src/params/transaction_pool_params.rs
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    
    Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d0de3d1 View commit details
    Browse the repository at this point in the history
  149. Upgrade libp2p to 0.46.1 (paritytech#11787)

    * Update libp2p to 0.46.0
    
    * Update libp2p to 0.46.1
    
    * Fix telemetry initialization
    
    * Fix tests
    kpp authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    87da8b9 View commit details
    Browse the repository at this point in the history
  150. prep council election pallet for being dissolved (paritytech#11790)

    * prep council election pallet for being dissolved + make it temporarily bounded
    
    * fix tests
    
    * fix
    
    * Update frame/elections-phragmen/src/lib.rs
    
    * fix bench?
    kianenigma authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a3d1e76 View commit details
    Browse the repository at this point in the history
  151. Network sync refactoring (part 4) (paritytech#11412)

    * Remove direct dependency of `sc-network` on `sc-network-light`
    
    * Move `WarpSyncProvider` trait and surrounding data structures into `sc-network-common`
    
    * Move `WarpSyncProvider` trait and surrounding data structures into `sc-network-common`
    
    * Create `sync` module in `sc-network-common`, create `ChainSync` trait there (not used yet), move a bunch of associated data structures from `sc-network-sync`
    
    * Switch from concrete implementation to `ChainSync` trait from `sc-network-common`
    
    * Introduce `OpaqueStateRequest`/`OpaqueStateResponse` to remove generics from `StateSync` trait
    
    * Introduce `OpaqueBlockRequest`/`OpaqueBlockResponse`, make `scheme` module of `sc-network-sync` private
    
    * Surface `sc-network-sync` into `sc-service` and make `sc-network` not depend on it anymore
    
    * Remove now unnecessary dependency from `sc-network`
    
    * Replace crate links with just text since dependencies are gone now
    
    * Remove `warp_sync` re-export from `sc-network-common`
    
    * Update copyright in network-related files
    
    * Address review comments about documentation
    
    * Apply review suggestion
    
    * Rename `extra_requests` module to `metrics`
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    4168e66 View commit details
    Browse the repository at this point in the history
  152. Fix off by one error in proportional slashing (paritytech#11782)

    * Fix proportional slashing logic
    
    * Update frame/nomination-pools/test-staking/src/lib.rs
    
    Co-authored-by: David <dvdplm@gmail.com>
    
    * Update frame/staking/src/lib.rs
    
    Co-authored-by: David <dvdplm@gmail.com>
    
    * Update frame/staking/src/lib.rs
    
    Co-authored-by: David <dvdplm@gmail.com>
    
    * Update frame/staking/src/lib.rs
    
    Co-authored-by: David <dvdplm@gmail.com>
    
    * fmt
    
    * Update frame/nomination-pools/test-staking/src/lib.rs
    
    * clean
    
    * fix
    
    * last fixes
    
    * doc
    
    Co-authored-by: David <dvdplm@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2063965 View commit details
    Browse the repository at this point in the history
  153. Buy&Sell methods for Uniques (paritytech#11398)

    * Allow to set item's price
    
    * Clean the state when we transfer/burn an item or destroy a collection
    
    * Allow to buy an item
    
    * Remove redundant checks
    
    * Improve events
    
    * Cover with tests
    
    * Add comments
    
    * Apply suggestions
    
    * Fmt
    
    * Improvements for price validation
    
    * Improve validation
    
    * Update to use the new terminology
    
    * Remove multi-assets support
    
    * Chore
    
    * Weights + benchmarking
    
    * Shield against human error
    
    * Test when we pass the higher item's price
    
    * fmt fix
    
    * Chore
    
    * 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_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * Remove is_frozen check when setting the price
    
    * Try to fix benchmarking
    
    * Fix benchmarking
    
    * 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_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * Add transactional
    
    * Add 'allow deprecated' flag for transactional
    
    * Remove #[allow(deprecated)]
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_uniques
    
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: command-bot <>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5dbe831 View commit details
    Browse the repository at this point in the history
  154. Revamp nomination pool reward scheme (paritytech#11669)

    * make pool roles optional
    
    * undo lock file changes?
    
    * add migration
    
    * add the ability for pools to chill themselves
    
    * boilerplate of tests
    
    * somewhat stable, but I think I found another bug as well
    
    * Fix it all
    
    * Add more more sophisticated test + capture one more bug.
    
    * Update frame/staking/src/lib.rs
    
    * reduce the diff a little bit
    
    * add some test for the slashing bug
    
    * cleanup
    
    * fix lock file?
    
    * Fix
    
    * fmt
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/mock.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix build
    
    * fix some fishy tests..
    
    * add one last integrity check for MinCreateBond
    
    * remove bad assertion -- needs to be dealt with later
    
    * nits
    
    * fix tests and add benchmarks for chill
    
    * remove stuff
    
    * fix benchmarks
    
    * 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_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * remove defensive
    
    * first working version
    
    * bring back all tests
    
    * ALL new tests work now
    
    * cleanup
    
    * make sure benchmarks and all work
    
    * 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_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * round of self-review, make arithmetic safe
    
    * fix warn
    
    * add migration code
    
    * Fix doc
    
    * add precision notes
    
    * make arithmetic fallible
    
    * fix node runtime
    
    * a lot of precision tests and notes and stuff
    
    * document MaxPOintsToBalance better
    
    * :round of self-review
    
    * fmt
    
    * fix some comments
    
    * Fix proportional slashing logic
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * track poinst in migration
    
    * fix
    
    * fmt
    
    * fix migration
    
    * remove event read
    
    * Apply suggestions from code review
    
    * Update frame/staking/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * update
    
    * fmt
    
    * fmt
    
    * add one last test
    
    * fmt
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Co-authored-by: Parity Bot <admin@parity.io>
    4 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    417651b View commit details
    Browse the repository at this point in the history
  155. Fix typo (paritytech#11832)

    emresurmeli authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    969cefd View commit details
    Browse the repository at this point in the history
  156. Fix nomination pools unbonding logic (paritytech#11746)

    * make pool roles optional
    
    * undo lock file changes?
    
    * add migration
    
    * add the ability for pools to chill themselves
    
    * boilerplate of tests
    
    * somewhat stable, but I think I found another bug as well
    
    * Fix it all
    
    * Add more more sophisticated test + capture one more bug.
    
    * Update frame/staking/src/lib.rs
    
    * reduce the diff a little bit
    
    * add some test for the slashing bug
    
    * cleanup
    
    * fix lock file?
    
    * Fix
    
    * fmt
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/mock.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix build
    
    * fix some fishy tests..
    
    * add one last integrity check for MinCreateBond
    
    * remove bad assertion -- needs to be dealt with later
    
    * nits
    
    * fix tests and add benchmarks for chill
    
    * remove stuff
    
    * fix benchmarks
    
    * 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_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * remove defensive
    
    * first working version
    
    * bring back all tests
    
    * ALL new tests work now
    
    * cleanup
    
    * make sure benchmarks and all work
    
    * 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_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs
    
    * round of self-review, make arithmetic safe
    
    * fix warn
    
    * add migration code
    
    * Fix doc
    
    * add precision notes
    
    * make arithmetic fallible
    
    * fix node runtime
    
    * a lot of precision tests and notes and stuff
    
    * document MaxPOintsToBalance better
    
    * :round of self-review
    
    * fmt
    
    * fix some comments
    
    * new logic, some broken tests
    
    * Check if after unbonding remaining balance is more or equal to MinJoinBond and is not zero
    
    * incorporate nikos' work
    
    * make it work again
    
    * merge
    
    * Fix all tests
    
    * fix all tests
    
    * some updates
    
    * Add tests
    
    * remove erroneoysly placed comment
    
    * Try to make lint pass
    
    * Try to make lint pass
    
    * revamp the tests for unbond
    
    * fix docs
    
    * Fix proportional slashing logic
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * track poinst in migration
    
    * fix
    
    * fmt
    
    * fix migration
    
    * remove event read
    
    * Apply suggestions from code review
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * remove log
    
    * Update frame/staking/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    
    * update
    
    * fmt
    
    * fmt
    
    * add one last test
    
    * fmrt
    
    * Update frame/nomination-pools/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/nomination-pools/src/tests.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    Co-authored-by: Parity Bot <admin@parity.io>
    Co-authored-by: wirednkod <wirednkod@gmail.com>
    5 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b278114 View commit details
    Browse the repository at this point in the history
  157. contracts: Composable ChainExtension (paritytech#11816)

    * Add `RegisteredChainExtension`
    
    * Add tests
    
    * Update frame/contracts/src/chain_extension.rs
    
    Co-authored-by: Michael Müller <michi@parity.io>
    
    * Add more docs
    
    * Remove debugging leftover
    
    * Make ChainExtension-registry lowercase
    
    * Apply suggestions from code review
    
    Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
    
    * Improve clarity of test inputs
    
    Co-authored-by: Michael Müller <michi@parity.io>
    Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d5d8937 View commit details
    Browse the repository at this point in the history
  158. [ci] fix job cancel-pipeline (paritytech#11844)

    * [ci] fix cancel-pipeline job
    
    * test fail
    
    * remove debug
    alvicsam authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    440a2ce View commit details
    Browse the repository at this point in the history
  159. Speed up rusty-cachier-notify job (paritytech#11841)

    * Speed up `rusty-cachier-notify` job
    
    * Don't forget to setup `rusty-cachier` first
    rcny authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    47be163 View commit details
    Browse the repository at this point in the history
  160. [ci] improvments to make pipeline faster (paritytech#11829)

    * [DO NOT MERGE] test-linux-stable parallel on 3 ci nodes
    
    * add debug message
    
    * adjust rusty-cachier
    
    * empty commit
    
    * move test-linux-stable to test.yml
    
    * make cargo-check-benches and test-wasmer-sandbox parallel
    
    * fix comment
    
    * Update scripts/ci/gitlab/pipeline/test.yml
    
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    
    * Update scripts/ci/gitlab/pipeline/test.yml
    
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    
    * if to case
    
    * use case instead if in cargo-check-benches
    
    * format
    
    * add comments to output
    
    * add comment
    
    * add quotes
    
    * Update scripts/ci/gitlab/pipeline/test.yml
    
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c8400c9 View commit details
    Browse the repository at this point in the history
  161. Fixed sync target detection (paritytech#11817)

    * Fixed sync target detection
    
    * Always report sync_target metric
    
    * Clamp median across all peers
    arkpar authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f76fb43 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    9c02679 View commit details
    Browse the repository at this point in the history
  163. removed evaluation.rs (paritytech#11766)

    * removed evaluation.rs
    
    * no need for parent_hash
    
    * fix
    Szegoo authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a16773f View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    b1c8895 View commit details
    Browse the repository at this point in the history
  165. arrange node-template service (paritytech#11795)

    * make template more clear
    
    * fmt check_equivocation
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    774cc71 View commit details
    Browse the repository at this point in the history
  166. Expose and link trie migration weights (paritytech#11775)

    * expose and link trie migration weights
    
    * actually limit to one trait
    
    * Run test on dummy weights
    
    * fmt
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f024091 View commit details
    Browse the repository at this point in the history
  167. Improve wasmtime error reporting (paritytech#11856)

    * Improve `wasmtime` error reporting
    
    * cargo fmt
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6639619 View commit details
    Browse the repository at this point in the history
  168. Fix invalid state transitions in pallet-bounties (paritytech#11630)

    * Pallet-bounty: disallow invalid state transitions
    
    * Fix tests: funding only at even block numbers
    
    * Fix benchmarks: bounties need to be funded
    
    * fix on_initialize
    
    Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1a16a7d View commit details
    Browse the repository at this point in the history
  169. Disable the interest cache (paritytech#11854)

    * Disable the interest cache
    
    The feature is currently broken with the latest `tracing-core`. We will enable it again, when it is
    fixed upstream.
    
    * FMT
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c184625 View commit details
    Browse the repository at this point in the history
  170. Add benchmark extrinsic command (paritytech#11456)

    * Benchmark extrinsic
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Reduce warmup and repeat
    
    Running this 1000 times with a full block takes ~33 minutes 🙈.
    Reducing it to ~3 minutes per default.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Make ExistentialDeposit public
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add 'bechmark extrinsic' command
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add --list and cleanup
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Unrelated Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Clippy
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix tests and doc
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Move implementations up + fmt
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Dont use parameter_types macro
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Cache to_lowercase() call
    
    The .to_lowercase() on the builder is actually not needes
    since its already documented to only return lower case.
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Spelling
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use correct nightly for fmt...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Rename ED
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix compile
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Subtract block base weight
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fixes
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Use tmp folder for test
    
    This should already be the case since --dev is passed but
    somehow not...
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7a05fdb View commit details
    Browse the repository at this point in the history
  171. Configuration menu
    Copy the full SHA
    83b536d View commit details
    Browse the repository at this point in the history
  172. Bump wasmtime default-pages (paritytech#11864)

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3f74937 View commit details
    Browse the repository at this point in the history
  173. Make reading json genesis file faster (paritytech#11868)

    * Make reading json genesis file faster
    
    * Formatting
    
    * fmt
    Alan Sapede authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b33055c View commit details
    Browse the repository at this point in the history
  174. Cleanup light client leftovers (paritytech#11865)

    * Remove --light cli option
    
    * Cleanup light client leftovers
    
    * Remove commented-out code and clean-up more light client leftovers
    
    * Fix formatting with `cargo +nightly fmt`
    
    * Remove FIXME regarding db directory structure
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1e69b7a View commit details
    Browse the repository at this point in the history
  175. Stop RPC servers on drop (paritytech#11679)

    * Stop RPC servers on drop
    
    * Switch to existing wrappers that stop RPC servers
    
    * Apply formatting
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6b310c4 View commit details
    Browse the repository at this point in the history
  176. Configuration menu
    Copy the full SHA
    d92987a View commit details
    Browse the repository at this point in the history
  177. pallet-mmr: fix batch proof failures (paritytech#11840)

    * pallet-mmr: extend batch proof verification test
    
    covers all possible 2-leaf combinations now, including current
    verification failures that batch proof item count limit is too low
    sometimes.
    
    * raise upper bound on proof item number
    
    as described in
    paritytech#11753 (comment)
    
    * test for powerset of leaves
    
    * refactor batch proof verification test
    
    * test all batch proofs for mmr sizes up to n=13
    
    * limit mmr size to reduce batch proof test duration
    
    * use saturating integer addition for proof check
    
    * extract common chain building in batch proof tests
    
    note: right now, since not killing old chain, it keeps growing by 7
    blocks for every leaf selection (added after proof generation), hence
    heavier to compute.
    
    * only add blocks after a proof generation once
    
    * increase batch proof testing range
    
    * register offchain extensions only once
    
    * fmt & remove unused util
    Lederstrumpf authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    2ef1d84 View commit details
    Browse the repository at this point in the history
  178. Configuration menu
    Copy the full SHA
    a79f348 View commit details
    Browse the repository at this point in the history
  179. Configuration menu
    Copy the full SHA
    c159456 View commit details
    Browse the repository at this point in the history
  180. Configuration menu
    Copy the full SHA
    2f8d2b7 View commit details
    Browse the repository at this point in the history
  181. Fix typo in limits.rs (paritytech#11894)

    alway -> always
    eltociear authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5a1e013 View commit details
    Browse the repository at this point in the history
  182. [ci] fix node-bench-regression-guard job (paritytech#11901)

    * [Do not merge] [ci] debug node-bench-regression-guard
    
    * debug
    
    * fix artifacts path
    
    * add debug job
    
    * debug
    
    * debug
    
    * fix job, return pipeline
    alvicsam authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d7bddcb View commit details
    Browse the repository at this point in the history
  183. Remove unused leaves-set fields (paritytech#11895)

    * Remove unused leaves-set fields
    
    * Fix undo_import method
    
    Old leaf sould be inserted using the displaced number
    
    * Fix leaves count
    
    * Apply code review suggestions
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    92a19ee View commit details
    Browse the repository at this point in the history
  184. Add era to Unbonded event (paritytech#11770)

    * Add era to `Unbonded` event
    
    fixes paritytech#11749
    
    * Fix missing tests
    
    * Add comment for `era` field in `Unbonded` struct.
    
    Co-authored-by: parity-processbot <>
    hirschenberger authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    47fbd89 View commit details
    Browse the repository at this point in the history
  185. remove FunctionOf (paritytech#11897)

    * remove FunctionOf
    
    * fix docs
    
    Co-authored-by: parity-processbot <>
    kianenigma authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d91313b View commit details
    Browse the repository at this point in the history
  186. contracts: Allow ChainExtension::call() to access &mut self (pari…

    …tytech#11874)
    
    * Give chain extensions the ability to store some temporary values
    
    * Update frame/contracts/src/wasm/runtime.rs
    
    Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
    
    * Rename func_id -> id
    
    * Replace `id` param by two functions on `env`
    
    Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    1172cef View commit details
    Browse the repository at this point in the history
  187. Pruned duplicated dependencies (paritytech#11900)

    * Update comfy-table v5.0.1 => v6.0.0
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update strum v0.23.0 => v0.24.1
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update h2 v0.3.9 => v0.3.13
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update file-per-thread-logger v0.1.4 => v0.1.5
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update mio v0.8.0 => v0.8.4
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * revert twox-hash
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    
    * Update secp256k1 v0.21.2 => v0.24.0
    
    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    koushiro authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5060058 View commit details
    Browse the repository at this point in the history
  188. Fix typos (paritytech#11914)

    Sacha Lansky authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    17ed59a View commit details
    Browse the repository at this point in the history
  189. Rpc for pending rewards (paritytech#11831)

    * rpc pending rewards
    
    * commit
    
    * remove unused imports
    
    * fix
    
    * fix
    
    * fmt
    
    * fix
    
    * fmt
    
    * fix
    
    * docs
    
    * docs & formatting
    
    * better formatting
    
    * temporary fix
    
    * error handling
    
    * fix?
    
    * fmt
    
    * use to_string
    
    * fmt
    
    * fixed error handling
    
    * fix
    
    * rpc added to client
    
    * Update Cargo.toml
    
    * Update Cargo.toml
    
    * fix wrong reward counter
    
    * expose function
    
    * move implementation
    
    * docs
    
    * docs
    
    * docs
    
    * Update lib.rs
    
    * Update lib.rs
    
    * unexpose functions
    
    * unused dependency
    
    * update Cargo.lock
    
    * Update frame/nomination-pools/src/lib.rs
    
    * Update lib.rs
    
    * Update lib.rs
    
    * Update frame/nomination-pools/rpc/runtime-api/src/lib.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * remove rpc
    
    * remove rpc directory
    
    * final fix
    
    Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f86ed2c View commit details
    Browse the repository at this point in the history
  190. [ci] remove cargo-check-nixos job (paritytech#11873)

    * [ci] remove cargo-check-nixos job
    
    * remove shell.nix
    alvicsam authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c420d97 View commit details
    Browse the repository at this point in the history
  191. Prepare for rust 1.62.1 (paritytech#11903)

    * Update UI test output for rust 1.62.1
    
    * switch ci to staging image to check that everything works
    
    * fix artifacts node-bench-regression-guard
    
    * Imeplement `scale_info::TypeInfo` manually to silence aggressive rust warning
    
    * Fix more clippy lints
    
    * Make clippy happy by relying on auto-deref were possible
    
    * Add tracking issue to the comments
    
    * pin ci image
    
    Co-authored-by: alvicsam <alvicsam@gmail.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c799398 View commit details
    Browse the repository at this point in the history
  192. Properly defer slashes (paritytech#11823)

    * initial draft of fixing slashing
    
    * fix test
    
    * Update frame/staking/src/tests.rs
    
    Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com>
    
    * last touches
    
    * add more detail about unbonding
    
    * add migration
    
    * fmt
    
    Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com>
    Co-authored-by: parity-processbot <>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f5f7839 View commit details
    Browse the repository at this point in the history
  193. Configuration menu
    Copy the full SHA
    eb6b152 View commit details
    Browse the repository at this point in the history
  194. Make New Storage Layer Truly Default (paritytech#11918)

    * with storage layer truly default
    
    * fmt
    
    Co-authored-by: parity-processbot <>
    shawntabrizi authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    182c29e View commit details
    Browse the repository at this point in the history
  195. Remove retain_mut crate (paritytech#11926)

    * Remove retain_mut crate
    
    * Remove reain_mut crate from babe-consensus
    skunert authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6e03413 View commit details
    Browse the repository at this point in the history
  196. Fix slashing migration to v10 (paritytech#11924)

    * Fix slashing migration to v10
    
    * add some logs
    
    * Fix default version
    
    * fmt
    
    * Move doc to struct
    
    Co-authored-by: Wilfried Kopp <wilfried@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    dd46e46 View commit details
    Browse the repository at this point in the history
  197. Enrich the sync log on handling the block request (paritytech#11747)

    Add more info to the log to help debug the issue like
    https://github.com/paritytech/substrate/issues/11732.
    
    Co-authored-by: Bastian Köcher <info@kchr.de>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    df71a57 View commit details
    Browse the repository at this point in the history
  198. Prevent double allocation of the payload when calling `sp_io::storage…

    …::get` (paritytech#11523)
    
    * Expose allocation stats in `FreeingBumpHeapAllocator`
    
    * Return allocation stats when calling into the runtime
    
    * Bump `parity-scale-codec` to 3.1.3 (fork)
    
    * Prevent double allocation of the payload when calling `sp_io::storage::get`
    
    * Fix tests
    
    * Remove unnecessary `mut`
    
    * Enable the `bytes` feature for `parity-scale-codec` in `sp-runtime-interface`
    
    * Update client/allocator/src/freeing_bump.rs
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    * Bump `parity-scale-codec` to 3.1.3
    
    * Fix some of the UI tests
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    82d8b11 View commit details
    Browse the repository at this point in the history
  199. construct_runtime!: Support parsing struct Runtime (paritytech#11932)

    * construct_runtime!: Support parsing `struct Runtime`
    
    * FMT
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    bbd6e83 View commit details
    Browse the repository at this point in the history
  200. feat: add propose method for SimpleSlotWorker (paritytech#11692)

    * feat: add propose method for SimpleSlotWorker
    
    * remove param slot
    
    * improve code
    
    * fmt
    yjhmelody authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    23251ec View commit details
    Browse the repository at this point in the history
  201. Require Alliance Initialisation Before Joining (paritytech#11917)

    * require alliance initialisation before joining
    
    * use noop
    
    * make one definition of initialization
    
    * rename event
    
    * add todo comment
    
    * update doc
    joepetrowski authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    52a88ca View commit details
    Browse the repository at this point in the history
  202. Integrate automatic update of substrate-node-template (paritytech#11931)

    * Integrate automatic update of substrate-node-template
    
    * Update scripts/ci/gitlab/pipeline/publish.yml
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9ff6e50 View commit details
    Browse the repository at this point in the history
  203. Always allocate slots for reserved nodes (paritytech#11909)

    * Always allocate slots for reserved nodes
    
    * minor: replace no-slot peer counter with a set
    dmitry-markin authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3fcb63e View commit details
    Browse the repository at this point in the history
  204. Lean BEEFY to Full BEEFY - don't skip (older) mandatory blocks and im…

    …port justifications (paritytech#11821)
    
    * client/beefy: don't accept vote for older rounds
    
    * client/beefy: clean up and reorg the worker struct
    
    * client/beefy: first step towards Full BEEFY
    
    The first step from Lean->Full BEEFY is to have the worker
    enforce uninterrupted line of BEEFY finalized mandatory blocks.
    
    There is one mandatory block per session (the first block in the
    session). As such, votes processing and votes generation now
    enforces that all mandatory blocks are finalized in strict
    monotonically increasing sequence and no block 'N' will be worked
    on if there is any GRANDPA finalized but BEEFY non-final mandatory
    block 'M', where 'M < N'.
    
    Implementation details:
    
    - Introduced 'VoterOracle' to separate the voting decisions logic,
      and track new/pending sessions.
    
    - New sessions get queued up with the worker operating either:
      1. up-to-date - all mandatory blocks leading up to current GRANDPA
         finalized: queue has ONE element, the 'current session' where
         `mandatory_done == true`,
      2. lagging behind GRANDPA: queue has [1, N] elements, where all
         `mandatory_done == false`.
         In this state, everytime a session gets its mandatory block
         BEEFY finalized, the session is popped off the queue,
         eventually getting to operating mode `1. up-to-date`.
    
    - Votes get triaged and those that fall withing the `VoterOracle`
      allowed window get processed, the others get dropped if stale,
      or buffered for later processing (when they reach the window).
    
    - Worker general code was also updated to fall in one of two roles:
      1. react to external events and change internal 'state',
      2. generate events/votes based on internal 'state'.
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * client/beefy: sketch idea for block import and sync
    
    Signed-off-by: acatangiu <adrian@parity.io>
    
    * client/beefy: add BEEFY block import
    
    * client/beefy: process justifications from block import
    
    * client/beefy: add TODOs for sync protocol
    
    * client/beefy: add more docs and comments
    
    * client/beefy-rpc: fix RPC error
    
    * client/beefy: verify justification validity on block import
    
    * client/beefy: more tests
    
    * client/beefy: small fixes
    
    - first handle and note the self vote before gossiping it,
    - don't shortcircuit on err when processing pending votes.
    
    * client/beefy: remove invalid justifications at block import
    
    * todo: beefy block import tests
    
    * RFC: ideas for multiple justifications per block
    
    * Revert "RFC: ideas for multiple justifications per block"
    
    This reverts commit 8256fb0.
    
    * client/beefy: append justif to backend on block import
    
    * client/beefy: groundwork for block import test
    
    * client/beefy: groundwork2 for block import test
    
    * client/beefy: groundwork3 for block import test
    
    * client/beefy: add block import test
    
    * client/beefy: add required trait bounds to block import builder
    
    * remove client from beefy block import, backend gets the job done
    
    Signed-off-by: acatangiu <adrian@parity.io>
    acatangiu authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    b1d0a66 View commit details
    Browse the repository at this point in the history
  205. Add Event to Pallet Asset-Tx-Payment (paritytech#11690)

    * Add Event to Pallet Asset-Tx-Payment
    
    * add asset_id into the Event
    
    Co-authored-by: parity-processbot <>
    hzy1919 authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9a24492 View commit details
    Browse the repository at this point in the history
  206. Network sync refactoring (part 5) (paritytech#11825)

    * Make `chain_sync` an explicit networking parameter instead of offering factory method
    
    * Derive `Copy` on `SyncMode` and remove cloning
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    f0d0a3a View commit details
    Browse the repository at this point in the history
  207. feat: generalize ConsensusDataProvider for manual-seal (paritytech#11827

    )
    
    * feat: generalize ConsensusDataProvider for manual-seal
    
    * rename all generic type param `proof`/`PROOF` to `P`
    
    * rename a missing thing
    
    * Update client/consensus/manual-seal/src/consensus.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    * Update client/consensus/manual-seal/src/consensus/babe.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    * Update client/consensus/manual-seal/src/consensus/aura.rs
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    67310cc View commit details
    Browse the repository at this point in the history
  208. Auto-incremental CollectionId (paritytech#11796)

    * autoincrementing CollectionId
    
    * fix
    
    * benchmarking fix
    
    * fmt
    
    * fix
    
    * update before checking
    
    * fmt
    
    * fix
    
    * fmt
    
    * commit
    
    * tests & fix
    
    * fix
    
    * commit
    
    * docs
    
    * safe math
    
    * unexpose function
    
    * benchmark
    
    * fmt
    
    * better naming
    
    * fix?
    
    * merge fixes
    
    * fmt
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_uniques
    
    * wrong weight
    
    * Update frame/uniques/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/uniques/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * using substrate trait instead of num-traits
    
    * remove unnecessary trait
    
    * emit NextCollectionIdIncremented in do_create_collection
    
    * fix in benchmarks
    
    * check for event & group import
    
    * docs
    
    Co-authored-by: Sergej Sakač <sergejsakac@Sergejs-MacBook-Air.local>
    Co-authored-by: command-bot <>
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    adcdcc1 View commit details
    Browse the repository at this point in the history
  209. Configuration menu
    Copy the full SHA
    ebef181 View commit details
    Browse the repository at this point in the history
  210. Add and implement MaxEncodedLen to token traits (paritytech#11945)

    * Add and implement MaxEncodedLen bounds to token traits
    
    * cargo fmt
    
    * Update UI test expectations
    KiChjang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9938f64 View commit details
    Browse the repository at this point in the history
  211. Remove remove_member_wrong_refund from phragmen WeightInfo (parit…

    …ytech#11952)
    
    * Remove 'remove_member_wrong_refund' from WeightInfo
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * ".git/.scripts/bench-bot.sh" pallet dev pallet_elections_phragmen
    
    Co-authored-by: command-bot <>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c1ac585 View commit details
    Browse the repository at this point in the history
  212. Configuration menu
    Copy the full SHA
    021cbd5 View commit details
    Browse the repository at this point in the history
  213. fix(rpc middleware): fix is_error bug (paritytech#11951)

    * fix(rpc middleware): fix `is_error` bug
    
    * Update client/rpc-servers/src/middleware.rs
    niklasad1 authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7591a05 View commit details
    Browse the repository at this point in the history
  214. benchmarking f32 step calculation (paritytech#11890)

    * benchmark steps with f32
    
    * divide by self.steps - 1
    
    * avoid steps <= 1
    
    * Fix step size
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix 'steps' print and print number of args
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Add Test
    
    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * fix comments
    
    * Remove unneeded comment
    
    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 DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ed0d2ab View commit details
    Browse the repository at this point in the history
  215. Configuration menu
    Copy the full SHA
    8a4a5a3 View commit details
    Browse the repository at this point in the history
  216. Rename node-runtime to node-kitchensink-runtime (paritytech#11930)

    * Rename node=runtime to kithensink-runtime
    
    * Undo md formatting
    wirednkod authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5778659 View commit details
    Browse the repository at this point in the history
  217. rpc: Update jsonrpsee v0.15.1 (paritytech#11939)

    * Bump jsonrpsee to v0.15.1
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update cargo.lock
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc-servers: Adjust RpcMiddleware to WS and HTTP traits
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/author: Use `SubscriptionSink`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/chain: Use `SubscriptionSink`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/state:  Use `SubscriptionSink`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/finality-grandpa: Use `SubscriptionSink`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/beefy: Use `SubscriptionSink`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * client: Extract RPC string result from queries
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Apply rust-fmt
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Fix warnings
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Fix testing
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Remove trailing comma
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc: Use `SubscriptionResult` for implementations
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc: Remove comment
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc: Delegate middleware calls to `RpcMiddleware`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc: Remove comment
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Revert Cargo.lock
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Update Cargo.lock with minimal changes
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc: Update imports for `SubscriptionResult`
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * Apply cargo fmt
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    
    * rpc/tests: Submit raw json requests to validate DenyUnsafe
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5b0d4b5 View commit details
    Browse the repository at this point in the history
  218. offences: make fn slash_fraction non-static (paritytech#11956)

    * offences: make fn slash_fraction non-static
    
    * Bastifmt (inline variable)
    ordian authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    69bc186 View commit details
    Browse the repository at this point in the history
  219. Revert non-best block (paritytech#11716)

    * Revert non-best block
    
    This makes `revert` also revert non-best blocks.
    
    * Update client/db/src/lib.rs
    
    * Do not count leaves against the maximum number to revert
    
    * Add some explanation
    
    * Fix bug
    
    * Apply suggestions from code review
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    
    Co-authored-by: Davide Galassi <davxy@datawok.net>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c4f8fdf View commit details
    Browse the repository at this point in the history
  220. Fix docs urls (paritytech#11966)

    * Fix docs urls
    
    * Update bin/node-template/README.md
    
    * Update frame/aura/src/lib.rs
    
    * Run cargo +nightly fmt
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7bcd47c View commit details
    Browse the repository at this point in the history
  221. Configuration menu
    Copy the full SHA
    9e0861a View commit details
    Browse the repository at this point in the history
  222. Update node-template's docker-compose.yml (paritytech#11802)

    * Update docker-compose.yml
    
    * Use production image
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    
    Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
    Co-authored-by: parity-processbot <>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    06863cb View commit details
    Browse the repository at this point in the history
  223. Beefy: use VersionedFinalityProof instead of SignedCommitment (parity…

    …tech#11962)
    
    * beefy: use VersionedFinalityProof instead of SignedCommitment.
    
    * Change the exposed RPC API to support versioned proofs.
    
    Co-authored-by: Adrian Catangiu <adrian@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5caa5f4 View commit details
    Browse the repository at this point in the history
  224. Timestamp: set_timestamp sets DidUpdate (paritytech#11960)

    * Timestamp: `set_timestamp` sets `DidUpdate`
    
    There exists the `set_timestamp` in the Timestamp pallet for setting the current timestamp. The
    problem is that it doesn't set `DidUpdate`. This results in `on_finalize` panicking. There is no
    real reason why the function doesn't also set `DidUpdate`.
    
    * Update frame/timestamp/src/lib.rs
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Fix Babe tests
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    72fc803 View commit details
    Browse the repository at this point in the history
  225. Prevent duplicated leaves in the backend (paritytech#11941)

    * Prevent duplicated leaves in the backend
    
    * Comments...
    
    * Use highest known heaf as a shortcut for not existing header detection
    
    * Apply code review suggestion
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    
    Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
    2 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    7eb96be View commit details
    Browse the repository at this point in the history
  226. Change on-the-wire protocol names to include genesis hash & fork id (p…

    …aritytech#11938)
    
    * Rename transactions protocol to include genesis hash
    
    * Add protocol name generation to sc_network::utils
    
    * Use utils functions for transactions protocol name generation
    
    * Extract protocol name generation into public module
    
    * Use sc_network::protocol_name::standard_protocol_name() for BEEFY and GRANDPA
    
    * minor: add missing newline at EOF
    
    * Change block-announces protocol name to include genesis_hash & fork_id
    
    * Change protocol names to include genesis hash and fork id
    
    Protocols changed:
        - sync
        - state
        - light
        - sync/warp
    
    * Revert "Use sc_network::protocol_name::standard_protocol_name() for BEEFY and GRANDPA"
    
    This reverts commit 29aa556.
    
    * Get rid of `protocol_name` module
    dmitry-markin authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    5dcf11f View commit details
    Browse the repository at this point in the history
  227. Configuration menu
    Copy the full SHA
    ccdc651 View commit details
    Browse the repository at this point in the history
  228. system_syncState: Always return highest block (paritytech#11979)

    Before `highestBlock` was an optional that was omitted when it was `None`. We recently changed the
    way the `highestBlock` is determined, this resulted in having this value in 99.99% of the time being
    `None` when the node is syncing blocks at the tip. Now we always return a block for `highestBlock`.
    If sync doesn't return us any best seen block, we return our own local best block as `highestBlock`.
    This should mainly reflect the same behavior to before we changed the way the best seen block is determined.
    bkchr authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8251fce View commit details
    Browse the repository at this point in the history
  229. Rename --pruning and --keep-blocks to be more similar to one another (p…

    …aritytech#11934)
    
    * rename prunning and keep-blocks flags
    
    * Add aliases in keep-blocks and pruning for backward compatibility
    
    * Rename in code variables from  and  to  and
    wirednkod authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8a5d9e1 View commit details
    Browse the repository at this point in the history
  230. Fix 16bit func_id (paritytech#11985)

    kvinwang authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    ee44fd9 View commit details
    Browse the repository at this point in the history
  231. Configuration menu
    Copy the full SHA
    8b6957f View commit details
    Browse the repository at this point in the history
  232. Configuration menu
    Copy the full SHA
    2db8d3b View commit details
    Browse the repository at this point in the history
  233. Restore wasmtime's default stack size limit to 1MB (paritytech#11993)

    * Restore `wasmtime`'s default stack size limit to 1MB
    
    * Add extra comments
    
    * Enforce different maximum call depth in release mode
    
    * Split the call depth limit in two
    koute authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    e2546aa View commit details
    Browse the repository at this point in the history
  234. Network sync refactoring (part 6) (paritytech#11940)

    * Extract `NetworkKVProvider` trait in `sc-authority-discovery` and remove unnecessary dependency
    
    * Extract `NetworkSyncForkRequest` trait in `sc-finality-grandpa`
    
    * Relax requirements on `SyncOracle` trait, remove extra native methods from `NetworkService` that are already provided by trait impls
    
    * Move `NetworkSigner` trait from `sc-authority-discovery` into `sc-network-common` and de-duplicate methods on `NetworkService`
    
    * Move `NetworkKVProvider` trait from `sc-authority-discovery` into `sc-network-common` and de-duplicate methods on `NetworkService`
    
    * Minimize `sc-authority-discovery` dependency on `sc-network`
    
    * Move `NetworkSyncForkRequest` trait from `sc-finality-grandpa` to `sc-network-common` and de-duplicate methods in `NetworkService`
    
    * Extract `NetworkStatusProvider` trait and de-duplicate methods on `NetworkService`
    
    * Extract `NetworkPeers` trait and de-duplicate methods on `NetworkService`
    
    * Extract `NetworkEventStream` trait and de-duplicate methods on `NetworkService`
    
    * Move more methods from `NetworkService` into `NetworkPeers` trait
    
    * Move `NetworkStateInfo` trait into `sc-network-common`
    
    * Extract `NetworkNotification` trait and de-duplicate methods on `NetworkService`
    
    * Extract `NetworkRequest` trait and de-duplicate methods on `NetworkService`
    
    * Remove `NetworkService::local_peer_id()`, it is already provided by `NetworkStateInfo` impl
    
    * Extract `NetworkTransaction` trait and de-duplicate methods on `NetworkService`
    
    * Extract `NetworkBlock` trait and de-duplicate methods on `NetworkService`
    
    * Remove dependencies on `NetworkService` from most of the methods of `sc-service`
    
    * Address simple review comments
    nazar-pc authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    759c11b View commit details
    Browse the repository at this point in the history
  235. Add BoundedVec::sort_by_key (paritytech#11998)

    Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    ggwpez authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8b76a06 View commit details
    Browse the repository at this point in the history
  236. Transaction payment runtime api: query call info and fee details (par…

    …itytech#11819)
    
    * Transaction payment RPC calls: query call info
    
    * transaction payment pallet - runtime api - add query_call info and fee_details
    
    * remove unused deps
    
    * separate call runtime api
    
    * undo fmt for unchanged code
    
    * system config call bounded to GetDispatchInfo, drop Call generic for query call info/fee
    
    * impl GetDispatchInfo for Extrinsics within runtime test-utils
    
    * introduced runtime api methods accept encoded Call instead of Call type
    
    * replace Bytes by Vec, docs for for new api, drop len argument, drop GetDispatchInfo bound from system_Config::Call
    
    * clean up toml and extra impl for dropped bound
    
    * panic if Call can not be decoded
    
    * revert to 6d0ca79
    
    * fmt and docs
    
    * rustfmt
    muharem authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6dde063 View commit details
    Browse the repository at this point in the history
  237. Use #[pallet::unbounded] tag in FRAME System (paritytech#11946)

    * use unbounded in system
    
    * update ui tests
    shawntabrizi authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    806c8b5 View commit details
    Browse the repository at this point in the history
  238. transactional: Wrap pallet::calls directly in storage layers (parit…

    …ytech#11927)
    
    * transactional: Wrap `pallet::calls` directly in storage layers
    
    Before this pr we only wrapped `pallet::calls` into storage layers when executing the calls with
    `dispatch`. This pr is solving that by wrapping each call function inside a storage layer.
    
    * Teach `BasicExternalities` transactions support
    
    * Fix crates
    
    * FMT
    
    * Fix benchmarking tests
    
    * Use correct span
    
    * Support old decl macros
    
    * Fix test
    
    * Apply suggestions from code review
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    
    * Update frame/state-trie-migration/src/lib.rs
    
    * Update frame/state-trie-migration/src/lib.rs
    
    * Update frame/state-trie-migration/src/lib.rs
    
    * Feedback
    
    * Apply suggestions from code review
    
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    
    Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
    Co-authored-by: cheme <emericchevalier.pro@gmail.com>
    3 people authored and DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    6681563 View commit details
    Browse the repository at this point in the history
  239. add substrate-ibc

    DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    128b7d8 View commit details
    Browse the repository at this point in the history
  240. Merge branch 'feature/add-pallet-ibc' of github.com:octopus-network/s…

    …ubstrate into feature/add-pallet-ibc
    DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    8d29d57 View commit details
    Browse the repository at this point in the history
  241. remove something

    DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    18330af View commit details
    Browse the repository at this point in the history
  242. format code

    DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    49665ce View commit details
    Browse the repository at this point in the history
  243. update readme

    DaviRain-Su committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    30e145c View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Delete Cargo.lock

    en authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    feefe59 View commit details
    Browse the repository at this point in the history
  2. Delete LICENSE

    en authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    0b84cd4 View commit details
    Browse the repository at this point in the history
  3. Delete Makefile

    en authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    a2e7ffa View commit details
    Browse the repository at this point in the history
  4. update readme

    DaviRain-Su committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    0e93074 View commit details
    Browse the repository at this point in the history
  5. add license notion

    DaviRain-Su committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    455493c View commit details
    Browse the repository at this point in the history
  6. format code

    DaviRain-Su committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    612ac6a View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Reset Cargo.lock

    en committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    ec98574 View commit details
    Browse the repository at this point in the history