-
Notifications
You must be signed in to change notification settings - Fork 3
Commits on Aug 23, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 087932b - Browse repository at this point
Copy the full SHA 087932bView commit details -
Prune some duplicated dependencies in the dep graph (paritytech#11433)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 07ca213 - Browse repository at this point
Copy the full SHA 07ca213View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d593ef3 - Browse repository at this point
Copy the full SHA d593ef3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d8e80 - Browse repository at this point
Copy the full SHA 85d8e80View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 1ab9bb6 - Browse repository at this point
Copy the full SHA 1ab9bb6View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 26adb24 - Browse repository at this point
Copy the full SHA 26adb24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75e2633 - Browse repository at this point
Copy the full SHA 75e2633View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for be6acf6 - Browse repository at this point
Copy the full SHA be6acf6View commit details -
add GHA support to dependabot (paritytech#11448)
* add GHA support to dependabot * fix formatting * add labels * add label
Configuration menu - View commit details
-
Copy full SHA for 237ceb7 - Browse repository at this point
Copy the full SHA 237ceb7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5d1fb3a - Browse repository at this point
Copy the full SHA 5d1fb3aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 60fea6d - Browse repository at this point
Copy the full SHA 60fea6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 258e2a3 - Browse repository at this point
Copy the full SHA 258e2a3View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 794b6ba - Browse repository at this point
Copy the full SHA 794b6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d1583 - Browse repository at this point
Copy the full SHA 78d1583View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 716756c - Browse repository at this point
Copy the full SHA 716756cView commit details -
Configuration menu - View commit details
-
Copy full SHA for df7a9d7 - Browse repository at this point
Copy the full SHA df7a9d7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d481f56 - Browse repository at this point
Copy the full SHA d481f56View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b39aa96 - Browse repository at this point
Copy the full SHA b39aa96View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 3e6e8af - Browse repository at this point
Copy the full SHA 3e6e8afView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 941c5ae - Browse repository at this point
Copy the full SHA 941c5aeView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for fe7626b - Browse repository at this point
Copy the full SHA fe7626bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for a65838f - Browse repository at this point
Copy the full SHA a65838fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d0d334c - Browse repository at this point
Copy the full SHA d0d334cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 085698d - Browse repository at this point
Copy the full SHA 085698dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 489a595 - Browse repository at this point
Copy the full SHA 489a595View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for 1723c43 - Browse repository at this point
Copy the full SHA 1723c43View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c3a29d5 - Browse repository at this point
Copy the full SHA c3a29d5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4658390 - Browse repository at this point
Copy the full SHA 4658390View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 0e3bf25 - Browse repository at this point
Copy the full SHA 0e3bf25View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa2f15a - Browse repository at this point
Copy the full SHA fa2f15aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1f3a7a7 - Browse repository at this point
Copy the full SHA 1f3a7a7View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 2676144 - Browse repository at this point
Copy the full SHA 2676144View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1f376a3 - Browse repository at this point
Copy the full SHA 1f376a3View commit details -
Introduce
WeightToFee
trait instead ofWeightToFeePolynomial
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
Configuration menu - View commit details
-
Copy full SHA for 7d421ad - Browse repository at this point
Copy the full SHA 7d421adView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d75fb2b - Browse repository at this point
Copy the full SHA d75fb2bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9b4c93b - Browse repository at this point
Copy the full SHA 9b4c93bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 0f37a15 - Browse repository at this point
Copy the full SHA 0f37a15View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d642a85 - Browse repository at this point
Copy the full SHA d642a85View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 2196030 - Browse repository at this point
Copy the full SHA 2196030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 688c871 - Browse repository at this point
Copy the full SHA 688c871View commit details -
Configuration menu - View commit details
-
Copy full SHA for b72fc44 - Browse repository at this point
Copy the full SHA b72fc44View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2d65dbf - Browse repository at this point
Copy the full SHA 2d65dbfView commit details -
Use
loops
rather thanbackend
for compatibility. (paritytech#11542)* Use `loops` rather than `backend` for compatibility. * Move over other converters
Configuration menu - View commit details
-
Copy full SHA for 9cb6c09 - Browse repository at this point
Copy the full SHA 9cb6c09View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c38ced9 - Browse repository at this point
Copy the full SHA c38ced9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 654b9a9 - Browse repository at this point
Copy the full SHA 654b9a9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 22fd0a9 - Browse repository at this point
Copy the full SHA 22fd0a9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1fdefce - Browse repository at this point
Copy the full SHA 1fdefceView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for dec9c86 - Browse repository at this point
Copy the full SHA dec9c86View commit details -
Add
rusty-cachier notify
job (paritytech#11554)* Add `rusty-cachier notify` job * Add comments
Configuration menu - View commit details
-
Copy full SHA for 8bee1ce - Browse repository at this point
Copy the full SHA 8bee1ceView commit details -
Fix CI after
rusty-cachier
introduction (paritytech#11556)* Fix CI after `rusty-cachier` introduction * Replace anchor with `extends`
Configuration menu - View commit details
-
Copy full SHA for 07b2bde - Browse repository at this point
Copy the full SHA 07b2bdeView commit details -
Introduce
EnsureOrigin::try_successul_origin
(paritytech#11558)* Introduce `EnsureOrigin::try_successul_origin` * Formatting * Fixes * Add Morph * Fixes * Formatting
Configuration menu - View commit details
-
Copy full SHA for 5ac01f9 - Browse repository at this point
Copy the full SHA 5ac01f9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5258c44 - Browse repository at this point
Copy the full SHA 5258c44View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea79453 - Browse repository at this point
Copy the full SHA ea79453View commit details -
Fix link in node-template README (paritytech#11529)
The lorri repository has moved from https://github.com/target/lorri to https://github.com/nix-community/lorri.
Configuration menu - View commit details
-
Copy full SHA for a71f289 - Browse repository at this point
Copy the full SHA a71f289View commit details -
Fix minor typos (paritytech#11550)
* Fix minor typos * FMT Co-authored-by: Bastian Köcher <info@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 5616690 - Browse repository at this point
Copy the full SHA 5616690View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for cf3c2f2 - Browse repository at this point
Copy the full SHA cf3c2f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd30dc6 - Browse repository at this point
Copy the full SHA cd30dc6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c956b8f - Browse repository at this point
Copy the full SHA c956b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca3f3a7 - Browse repository at this point
Copy the full SHA ca3f3a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae701e3 - Browse repository at this point
Copy the full SHA ae701e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2826b8f - Browse repository at this point
Copy the full SHA 2826b8fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c942f30 - Browse repository at this point
Copy the full SHA c942f30View commit details -
Helper macro for
Morph
impls (paritytech#11570)* Helper macro for Morph impls * No need to deprecate for now * Improved macro * Doc tests * Grumbles
Configuration menu - View commit details
-
Copy full SHA for c873774 - Browse repository at this point
Copy the full SHA c873774View commit details -
Configuration menu - View commit details
-
Copy full SHA for a910e38 - Browse repository at this point
Copy the full SHA a910e38View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d78040b - Browse repository at this point
Copy the full SHA d78040bView commit details -
aura: export change_authorities and initialize_authorities (paritytec…
…h#11468) * aura: export change_authorities and initialize_authorities * add docs * fix docs
Configuration menu - View commit details
-
Copy full SHA for cc0d17e - Browse repository at this point
Copy the full SHA cc0d17eView commit details -
Reduce call size of Referenda pallet (paritytech#11578)
* Reduce call size of Referenda pallet * Fixes * Fixes * Fixes * Docs
Configuration menu - View commit details
-
Copy full SHA for 9fdf1c9 - Browse repository at this point
Copy the full SHA 9fdf1c9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f6e25d9 - Browse repository at this point
Copy the full SHA f6e25d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f96cab - Browse repository at this point
Copy the full SHA 2f96cabView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for 567f9c9 - Browse repository at this point
Copy the full SHA 567f9c9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cafd284 - Browse repository at this point
Copy the full SHA cafd284View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 53c3f02 - Browse repository at this point
Copy the full SHA 53c3f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for f02c0ba - Browse repository at this point
Copy the full SHA f02c0baView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 70d3271 - Browse repository at this point
Copy the full SHA 70d3271View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for a7c38e0 - Browse repository at this point
Copy the full SHA a7c38e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a08a790 - Browse repository at this point
Copy the full SHA a08a790View commit details -
Configuration menu - View commit details
-
Copy full SHA for c490c5c - Browse repository at this point
Copy the full SHA c490c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e221373 - Browse repository at this point
Copy the full SHA e221373View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for dfbbe8f - Browse repository at this point
Copy the full SHA dfbbe8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 009d08f - Browse repository at this point
Copy the full SHA 009d08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75069cd - Browse repository at this point
Copy the full SHA 75069cdView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for eca7f13 - Browse repository at this point
Copy the full SHA eca7f13View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 443196b - Browse repository at this point
Copy the full SHA 443196bView commit details -
Better transaction pool error (paritytech#11629)
* Better transaction pool error * Do not use `Debug` when printing errors
Configuration menu - View commit details
-
Copy full SHA for ca30933 - Browse repository at this point
Copy the full SHA ca30933View commit details -
Use BoundedVec in aura pallet (paritytech#11617)
* Use BoundedVec in aura pallet * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 2b1b010 - Browse repository at this point
Copy the full SHA 2b1b010View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7fffee6 - Browse repository at this point
Copy the full SHA 7fffee6View commit details -
Add fixed u64 (paritytech#11555)
Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a611b93 - Browse repository at this point
Copy the full SHA a611b93View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7ff4cf5 - Browse repository at this point
Copy the full SHA 7ff4cf5View commit details -
Added an event for cancel_proposal (paritytech#11620)
* Added an event for cancel_proposal * test
Configuration menu - View commit details
-
Copy full SHA for 5f2bbf2 - Browse repository at this point
Copy the full SHA 5f2bbf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399469d - Browse repository at this point
Copy the full SHA 399469dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e0146f0 - Browse repository at this point
Copy the full SHA e0146f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0ec85d - Browse repository at this point
Copy the full SHA e0ec85dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d7eaff9 - Browse repository at this point
Copy the full SHA d7eaff9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for ad50193 - Browse repository at this point
Copy the full SHA ad50193View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 51dfc0d - Browse repository at this point
Copy the full SHA 51dfc0dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 113da3b - Browse repository at this point
Copy the full SHA 113da3bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e1cde2e - Browse repository at this point
Copy the full SHA e1cde2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 871d1f0 - Browse repository at this point
Copy the full SHA 871d1f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c3e0a4 - Browse repository at this point
Copy the full SHA 3c3e0a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e19172 - Browse repository at this point
Copy the full SHA 2e19172View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2cc8755 - Browse repository at this point
Copy the full SHA 2cc8755View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8a039aa - Browse repository at this point
Copy the full SHA 8a039aaView commit details -
Implement
Deref
forBoundedSlice
(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>
Configuration menu - View commit details
-
Copy full SHA for 106f904 - Browse repository at this point
Copy the full SHA 106f904View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 448fa83 - Browse repository at this point
Copy the full SHA 448fa83View commit details -
Make it possible to disable RocksDB completely (paritytech#11537)
* Make it possible to disable RocksDB completely * Make ParityDB non-optional * Address review comments
Configuration menu - View commit details
-
Copy full SHA for 92b6a54 - Browse repository at this point
Copy the full SHA 92b6a54View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for bad21fa - Browse repository at this point
Copy the full SHA bad21faView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 32cbe28 - Browse repository at this point
Copy the full SHA 32cbe28View commit details -
Remove
without_storage_info
from pallettransaction-storage
(pari……tytech#11668) * Introduce BoundedVec * Fix typos * Add comments to the bounds * Remove migration * Improve bound value access syntax
Configuration menu - View commit details
-
Copy full SHA for 82c9320 - Browse repository at this point
Copy the full SHA 82c9320View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 409439a - Browse repository at this point
Copy the full SHA 409439aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1df1e58 - Browse repository at this point
Copy the full SHA 1df1e58View commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for 2057427 - Browse repository at this point
Copy the full SHA 2057427View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8cb2280 - Browse repository at this point
Copy the full SHA 8cb2280View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 185284d - Browse repository at this point
Copy the full SHA 185284dView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for e254258 - Browse repository at this point
Copy the full SHA e254258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ae0574 - Browse repository at this point
Copy the full SHA 8ae0574View commit details -
chore: reduce uxt encode times (paritytech#11698)
* chore: reduce uxt encode times * fmt
Configuration menu - View commit details
-
Copy full SHA for 1d7bb29 - Browse repository at this point
Copy the full SHA 1d7bb29View commit details -
Simplified code using existing APIs (paritytech#11702)
Signed-off-by: Emison Lu <lzh1633856298@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6cbac4c - Browse repository at this point
Copy the full SHA 6cbac4cView commit details -
storage-alias
: Check that prefix is not an underscore (paritytech#1……1704) Besides that it also adds some UI tests.
Configuration menu - View commit details
-
Copy full SHA for 86c465c - Browse repository at this point
Copy the full SHA 86c465cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2e70f21 - Browse repository at this point
Copy the full SHA 2e70f21View commit details -
Update syn and fix compilation (paritytech#11707)
* Update syn and fix compilation * Bump pin-project
Configuration menu - View commit details
-
Copy full SHA for ff6012d - Browse repository at this point
Copy the full SHA ff6012dView commit details -
check-dependent-cumulus should only be executed for PRs (paritytech#1…
…1693) the script executed by check-dependent-cumulus only works for PRs, as shown in https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1630771#L87, which comes from https://github.com/paritytech/pipeline-scripts/blob/3ad10ddc0d985ef5326974a1143229c6429befab/check_dependent_project.sh#L443
Configuration menu - View commit details
-
Copy full SHA for de8600d - Browse repository at this point
Copy the full SHA de8600dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3a86efc - Browse repository at this point
Copy the full SHA 3a86efcView commit details -
Implement Serialize/Deserialize on WeakBoundedVec (paritytech#11713)
* Implement Serialize/Deserialize on WeakBoundedVec * cargo fmt * Warn when there are too many elements while deserializing WeakBoundedVec
Configuration menu - View commit details
-
Copy full SHA for b829218 - Browse repository at this point
Copy the full SHA b829218View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f38db75 - Browse repository at this point
Copy the full SHA f38db75View commit details -
Fix typo in weights.rs (paritytech#11724)
overriden -> overridden
Configuration menu - View commit details
-
Copy full SHA for 6f8f0ec - Browse repository at this point
Copy the full SHA 6f8f0ecView commit details -
WrapperOpaque: Use
decode_all
to decode from theVec<u8>
(parityt……ech#11726) This ensures that there isn't any extra data attached that isn't used.
Configuration menu - View commit details
-
Copy full SHA for 8558d97 - Browse repository at this point
Copy the full SHA 8558d97View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c8cf43c - Browse repository at this point
Copy the full SHA c8cf43cView commit details -
contracts: Reduce size of deletion queue depth (paritytech#11696)
* contracts: Reduce size of deletion queue depth * Remove unused import
Configuration menu - View commit details
-
Copy full SHA for 7bc3ace - Browse repository at this point
Copy the full SHA 7bc3aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4333f91 - Browse repository at this point
Copy the full SHA 4333f91View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for bf4e8ce - Browse repository at this point
Copy the full SHA bf4e8ceView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a43f5e7 - Browse repository at this point
Copy the full SHA a43f5e7View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 12f795c - Browse repository at this point
Copy the full SHA 12f795cView commit details -
[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 <>
Configuration menu - View commit details
-
Copy full SHA for 5fd36b7 - Browse repository at this point
Copy the full SHA 5fd36b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d459a46 - Browse repository at this point
Copy the full SHA d459a46View commit details -
Bump
wasmtime
to 0.38.0 andzstd
to 0.11.2 (paritytech#11720)* Bump `wasmtime` to 0.37.0 and `zstd` to 0.11.2 * Bump `wasmtime` to 0.38.0
Configuration menu - View commit details
-
Copy full SHA for 95253a8 - Browse repository at this point
Copy the full SHA 95253a8View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 37ea81e - Browse repository at this point
Copy the full SHA 37ea81eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b3a4e0b - Browse repository at this point
Copy the full SHA b3a4e0bView commit details -
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`
Configuration menu - View commit details
-
Copy full SHA for fc7bf70 - Browse repository at this point
Copy the full SHA fc7bf70View commit details -
Refund weight in
system::fillBlock
(paritytech#11754)* fix * pushed * node: fix fee multiplier test Co-authored-by: André Silva <andrerfosilva@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 289e2b5 - Browse repository at this point
Copy the full SHA 289e2b5View commit details -
nomination-pools fix (paritytech#11748)
* Nomination pool fix * fmt
Configuration menu - View commit details
-
Copy full SHA for 2ec5381 - Browse repository at this point
Copy the full SHA 2ec5381View commit details -
Configuration menu - View commit details
-
Copy full SHA for c206bfa - Browse repository at this point
Copy the full SHA c206bfaView commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for 9a5fde1 - Browse repository at this point
Copy the full SHA 9a5fde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9baef28 - Browse repository at this point
Copy the full SHA 9baef28View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 13bf42e - Browse repository at this point
Copy the full SHA 13bf42eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e89c2d9 - Browse repository at this point
Copy the full SHA e89c2d9View commit details -
Un-deprecate Transactional Macro (paritytech#11807)
* un-deprecate transactional macro * add transactional back to nomination pools
Configuration menu - View commit details
-
Copy full SHA for dd8f87c - Browse repository at this point
Copy the full SHA dd8f87cView commit details -
sync: Fixed clearing subsequent ranges (paritytech#11815)
* sync: Fixed clearing subsequent ranges * Warp sync fix * Better documentation
Configuration menu - View commit details
-
Copy full SHA for fabec10 - Browse repository at this point
Copy the full SHA fabec10View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d0de3d1 - Browse repository at this point
Copy the full SHA d0de3d1View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 87da8b9 - Browse repository at this point
Copy the full SHA 87da8b9View commit details -
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?
Configuration menu - View commit details
-
Copy full SHA for a3d1e76 - Browse repository at this point
Copy the full SHA a3d1e76View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4168e66 - Browse repository at this point
Copy the full SHA 4168e66View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 2063965 - Browse repository at this point
Copy the full SHA 2063965View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for 5dbe831 - Browse repository at this point
Copy the full SHA 5dbe831View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 417651b - Browse repository at this point
Copy the full SHA 417651bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 969cefd - Browse repository at this point
Copy the full SHA 969cefdView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b278114 - Browse repository at this point
Copy the full SHA b278114View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for d5d8937 - Browse repository at this point
Copy the full SHA d5d8937View commit details -
[ci] fix job
cancel-pipeline
(paritytech#11844)* [ci] fix cancel-pipeline job * test fail * remove debug
Configuration menu - View commit details
-
Copy full SHA for 440a2ce - Browse repository at this point
Copy the full SHA 440a2ceView commit details -
Speed up
rusty-cachier-notify
job (paritytech#11841)* Speed up `rusty-cachier-notify` job * Don't forget to setup `rusty-cachier` first
Configuration menu - View commit details
-
Copy full SHA for 47be163 - Browse repository at this point
Copy the full SHA 47be163View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for c8400c9 - Browse repository at this point
Copy the full SHA c8400c9View commit details -
Fixed sync target detection (paritytech#11817)
* Fixed sync target detection * Always report sync_target metric * Clamp median across all peers
Configuration menu - View commit details
-
Copy full SHA for f76fb43 - Browse repository at this point
Copy the full SHA f76fb43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c02679 - Browse repository at this point
Copy the full SHA 9c02679View commit details -
removed evaluation.rs (paritytech#11766)
* removed evaluation.rs * no need for parent_hash * fix
Configuration menu - View commit details
-
Copy full SHA for a16773f - Browse repository at this point
Copy the full SHA a16773fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c8895 - Browse repository at this point
Copy the full SHA b1c8895View commit details -
arrange node-template service (paritytech#11795)
* make template more clear * fmt check_equivocation Co-authored-by: Bastian Köcher <info@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 774cc71 - Browse repository at this point
Copy the full SHA 774cc71View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f024091 - Browse repository at this point
Copy the full SHA f024091View commit details -
Improve
wasmtime
error reporting (paritytech#11856)* Improve `wasmtime` error reporting * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 6639619 - Browse repository at this point
Copy the full SHA 6639619View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1a16a7d - Browse repository at this point
Copy the full SHA 1a16a7dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c184625 - Browse repository at this point
Copy the full SHA c184625View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7a05fdb - Browse repository at this point
Copy the full SHA 7a05fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83b536d - Browse repository at this point
Copy the full SHA 83b536dView commit details -
Bump wasmtime default-pages (paritytech#11864)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 3f74937 - Browse repository at this point
Copy the full SHA 3f74937View commit details -
Make reading json genesis file faster (paritytech#11868)
* Make reading json genesis file faster * Formatting * fmt
Configuration menu - View commit details
-
Copy full SHA for b33055c - Browse repository at this point
Copy the full SHA b33055cView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1e69b7a - Browse repository at this point
Copy the full SHA 1e69b7aView commit details -
Stop RPC servers on drop (paritytech#11679)
* Stop RPC servers on drop * Switch to existing wrappers that stop RPC servers * Apply formatting
Configuration menu - View commit details
-
Copy full SHA for 6b310c4 - Browse repository at this point
Copy the full SHA 6b310c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d92987a - Browse repository at this point
Copy the full SHA d92987aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 2ef1d84 - Browse repository at this point
Copy the full SHA 2ef1d84View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79f348 - Browse repository at this point
Copy the full SHA a79f348View commit details -
Configuration menu - View commit details
-
Copy full SHA for c159456 - Browse repository at this point
Copy the full SHA c159456View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f8d2b7 - Browse repository at this point
Copy the full SHA 2f8d2b7View commit details -
Fix typo in limits.rs (paritytech#11894)
alway -> always
Configuration menu - View commit details
-
Copy full SHA for 5a1e013 - Browse repository at this point
Copy the full SHA 5a1e013View commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for d7bddcb - Browse repository at this point
Copy the full SHA d7bddcbView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 92a19ee - Browse repository at this point
Copy the full SHA 92a19eeView commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for 47fbd89 - Browse repository at this point
Copy the full SHA 47fbd89View commit details -
remove FunctionOf (paritytech#11897)
* remove FunctionOf * fix docs Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for d91313b - Browse repository at this point
Copy the full SHA d91313bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 1172cef - Browse repository at this point
Copy the full SHA 1172cefView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5060058 - Browse repository at this point
Copy the full SHA 5060058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ed59a - Browse repository at this point
Copy the full SHA 17ed59aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f86ed2c - Browse repository at this point
Copy the full SHA f86ed2cView commit details -
[ci] remove cargo-check-nixos job (paritytech#11873)
* [ci] remove cargo-check-nixos job * remove shell.nix
Configuration menu - View commit details
-
Copy full SHA for c420d97 - Browse repository at this point
Copy the full SHA c420d97View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c799398 - Browse repository at this point
Copy the full SHA c799398View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for f5f7839 - Browse repository at this point
Copy the full SHA f5f7839View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6b152 - Browse repository at this point
Copy the full SHA eb6b152View commit details -
Make New Storage Layer Truly Default (paritytech#11918)
* with storage layer truly default * fmt Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 182c29e - Browse repository at this point
Copy the full SHA 182c29eView commit details -
Remove
retain_mut
crate (paritytech#11926)* Remove retain_mut crate * Remove reain_mut crate from babe-consensus
Configuration menu - View commit details
-
Copy full SHA for 6e03413 - Browse repository at this point
Copy the full SHA 6e03413View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for dd46e46 - Browse repository at this point
Copy the full SHA dd46e46View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for df71a57 - Browse repository at this point
Copy the full SHA df71a57View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 82d8b11 - Browse repository at this point
Copy the full SHA 82d8b11View commit details -
construct_runtime!: Support parsing
struct Runtime
(paritytech#11932)* construct_runtime!: Support parsing `struct Runtime` * FMT
Configuration menu - View commit details
-
Copy full SHA for bbd6e83 - Browse repository at this point
Copy the full SHA bbd6e83View commit details -
feat: add propose method for SimpleSlotWorker (paritytech#11692)
* feat: add propose method for SimpleSlotWorker * remove param slot * improve code * fmt
Configuration menu - View commit details
-
Copy full SHA for 23251ec - Browse repository at this point
Copy the full SHA 23251ecView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 52a88ca - Browse repository at this point
Copy the full SHA 52a88caView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9ff6e50 - Browse repository at this point
Copy the full SHA 9ff6e50View commit details -
Always allocate slots for reserved nodes (paritytech#11909)
* Always allocate slots for reserved nodes * minor: replace no-slot peer counter with a set
Configuration menu - View commit details
-
Copy full SHA for 3fcb63e - Browse repository at this point
Copy the full SHA 3fcb63eView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for b1d0a66 - Browse repository at this point
Copy the full SHA b1d0a66View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for 9a24492 - Browse repository at this point
Copy the full SHA 9a24492View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f0d0a3a - Browse repository at this point
Copy the full SHA f0d0a3aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 67310cc - Browse repository at this point
Copy the full SHA 67310ccView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for adcdcc1 - Browse repository at this point
Copy the full SHA adcdcc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebef181 - Browse repository at this point
Copy the full SHA ebef181View commit details -
Add and implement MaxEncodedLen to token traits (paritytech#11945)
* Add and implement MaxEncodedLen bounds to token traits * cargo fmt * Update UI test expectations
Configuration menu - View commit details
-
Copy full SHA for 9938f64 - Browse repository at this point
Copy the full SHA 9938f64View commit details -
Remove
remove_member_wrong_refund
fromphragmen
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 <>
Configuration menu - View commit details
-
Copy full SHA for c1ac585 - Browse repository at this point
Copy the full SHA c1ac585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 021cbd5 - Browse repository at this point
Copy the full SHA 021cbd5View commit details -
fix(rpc middleware): fix
is_error
bug (paritytech#11951)* fix(rpc middleware): fix `is_error` bug * Update client/rpc-servers/src/middleware.rs
Configuration menu - View commit details
-
Copy full SHA for 7591a05 - Browse repository at this point
Copy the full SHA 7591a05View commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for ed0d2ab - Browse repository at this point
Copy the full SHA ed0d2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4a5a3 - Browse repository at this point
Copy the full SHA 8a4a5a3View commit details -
Rename
node-runtime
tonode-kitchensink-runtime
(paritytech#11930)* Rename node=runtime to kithensink-runtime * Undo md formatting
Configuration menu - View commit details
-
Copy full SHA for 5778659 - Browse repository at this point
Copy the full SHA 5778659View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5b0d4b5 - Browse repository at this point
Copy the full SHA 5b0d4b5View commit details -
offences: make fn slash_fraction non-static (paritytech#11956)
* offences: make fn slash_fraction non-static * Bastifmt (inline variable)
Configuration menu - View commit details
-
Copy full SHA for 69bc186 - Browse repository at this point
Copy the full SHA 69bc186View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c4f8fdf - Browse repository at this point
Copy the full SHA c4f8fdfView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7bcd47c - Browse repository at this point
Copy the full SHA 7bcd47cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e0861a - Browse repository at this point
Copy the full SHA 9e0861aView commit details -
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 <>
Configuration menu - View commit details
-
Copy full SHA for 06863cb - Browse repository at this point
Copy the full SHA 06863cbView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 5caa5f4 - Browse repository at this point
Copy the full SHA 5caa5f4View commit details -
Timestamp:
set_timestamp
setsDidUpdate
(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>
Configuration menu - View commit details
-
Copy full SHA for 72fc803 - Browse repository at this point
Copy the full SHA 72fc803View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 7eb96be - Browse repository at this point
Copy the full SHA 7eb96beView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5dcf11f - Browse repository at this point
Copy the full SHA 5dcf11fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccdc651 - Browse repository at this point
Copy the full SHA ccdc651View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8251fce - Browse repository at this point
Copy the full SHA 8251fceView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8a5d9e1 - Browse repository at this point
Copy the full SHA 8a5d9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee44fd9 - Browse repository at this point
Copy the full SHA ee44fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b6957f - Browse repository at this point
Copy the full SHA 8b6957fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db8d3b - Browse repository at this point
Copy the full SHA 2db8d3bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e2546aa - Browse repository at this point
Copy the full SHA e2546aaView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 759c11b - Browse repository at this point
Copy the full SHA 759c11bView commit details -
Add BoundedVec::sort_by_key (paritytech#11998)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 8b76a06 - Browse repository at this point
Copy the full SHA 8b76a06View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6dde063 - Browse repository at this point
Copy the full SHA 6dde063View commit details -
Use
#[pallet::unbounded]
tag in FRAME System (paritytech#11946)* use unbounded in system * update ui tests
Configuration menu - View commit details
-
Copy full SHA for 806c8b5 - Browse repository at this point
Copy the full SHA 806c8b5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 6681563 - Browse repository at this point
Copy the full SHA 6681563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 128b7d8 - Browse repository at this point
Copy the full SHA 128b7d8View commit details -
Merge branch 'feature/add-pallet-ibc' of github.com:octopus-network/s…
…ubstrate into feature/add-pallet-ibc
Configuration menu - View commit details
-
Copy full SHA for 8d29d57 - Browse repository at this point
Copy the full SHA 8d29d57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18330af - Browse repository at this point
Copy the full SHA 18330afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49665ce - Browse repository at this point
Copy the full SHA 49665ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e145c - Browse repository at this point
Copy the full SHA 30e145cView commit details
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for feefe59 - Browse repository at this point
Copy the full SHA feefe59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b84cd4 - Browse repository at this point
Copy the full SHA 0b84cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2e7ffa - Browse repository at this point
Copy the full SHA a2e7ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e93074 - Browse repository at this point
Copy the full SHA 0e93074View commit details -
Configuration menu - View commit details
-
Copy full SHA for 455493c - Browse repository at this point
Copy the full SHA 455493cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 612ac6a - Browse repository at this point
Copy the full SHA 612ac6aView commit details
Commits on Oct 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ec98574 - Browse repository at this point
Copy the full SHA ec98574View commit details