-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client: add WebRTC transport #2
Commits on Nov 28, 2022
-
Refs paritytech/smoldot#1712 Impl libp2p/rust-libp2p#2622 - WebRTC transport is enabled for non-validators and developers by default. - The transport will generate and store the certificate, which is required for WebRTC identity, in base dir. In the future, when a new version of `ring` library is released, the certificate will be deterministically derived from the node's peer ID.
Configuration menu - View commit details
-
Copy full SHA for f793dad - Browse repository at this point
Copy the full SHA f793dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6f631 - Browse repository at this point
Copy the full SHA 1e6f631View commit details
Commits on Jan 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 18ead61 - Browse repository at this point
Copy the full SHA 18ead61View commit details -
Disallow burning externally locked nfts (paritytech#13054)
* Disallow burning externally locked nfts * Update docs
Configuration menu - View commit details
-
Copy full SHA for 2967726 - Browse repository at this point
Copy the full SHA 2967726View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1fe09c - Browse repository at this point
Copy the full SHA d1fe09cView commit details -
Selectable on-runtime-upgrade checks (paritytech#13045)
* Make try-runtime checks selectable Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/support/src/traits/try_runtime.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Add Clap wrapper for enum UpgradeCheckSelect Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Add Clap wrapper for enum UpgradeCheckSelect" This reverts commit e29538c. * fix pools sanity check * Set default for --checks to None Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make --checks backwards comp Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add clap attr comment Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: kianenigma <kian@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a052224 - Browse repository at this point
Copy the full SHA a052224View commit details -
grandpa: pass the actual best block to voting rules (paritytech#12477)
* grandpa: pass the actual best block to voting rules * grandpa: add test for checking best header is passed to voting rule
Configuration menu - View commit details
-
Copy full SHA for da3a34f - Browse repository at this point
Copy the full SHA da3a34fView commit details -
Remove
Copy
fromEnsure*
traits (paritytech#13043)* Remove Copy from EnsureOp and EnsureOpAssign Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove Copy from EnsureFrom and EnsureInto Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix default impl Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Reuse assignment code in Ensure trait Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Require Ensure for all BaseArithmetic types Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix assign impls Co-authored-by: Luis Enrique Muñoz Martín <lemunozm@gmail.com> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add success doc tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 68fc275 - Browse repository at this point
Copy the full SHA 68fc275View commit details -
Aura: Do not verify on state import (paritytech#13058)
* Aura: Do not verify on state import When we import the state, we can not fetch authorities to verify the seal etc. So, we can directly skip any verification. * Skip checks as well for gap sync * Update client/consensus/aura/src/import_queue.rs Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> * Review comment Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ea387c6 - Browse repository at this point
Copy the full SHA ea387c6View commit details
Commits on Jan 5, 2023
-
upgrade libp2p to 0.50.0 (paritytech#12734)
* upgrade libp2p to 0.50.0 * on_swarm_event and on_connection_handler_event * replace `Swarm::new` with `Swarm::with_threadpool_executor` * on_swarm_event and on_connection_handler_event part 2 * on_swarm_event and on_connection_handler_event part 3 * on_swarm_event and on_connection_handler_event part 4 * update libp2p * libp2p 0.50.0 * rename OutboundQueryCompleted to OutboundQueryProgressed refs libp2p/rust-libp2p#2712 * remove unused var * accumulate outbound_query_records until query is finished * format code * use p_handler instead of new_handler paritytech#12734 (comment) * pass ListenFailure to kademlia paritytech#12734 (comment) * use tokio executor in tests paritytech#12734 (comment) * use chrono Local::now instead of deprecated Local::today * remove unused vars from request_responses tests * attempt to fix pallet UI tests * restart CI * restart CI * restart CI * restart CI * restart CI * restart CI * restart CI * restart CI
Configuration menu - View commit details
-
Copy full SHA for 05fe10b - Browse repository at this point
Copy the full SHA 05fe10bView commit details -
grandpa: remove deprecated afg log target (paritytech#13064)
* grandpa: remove deprecated afg log target * grandpa: define log targets in primitives
Configuration menu - View commit details
-
Copy full SHA for fb22096 - Browse repository at this point
Copy the full SHA fb22096View commit details -
Return
RuntimeVersion
of overwritten/substituted wasm binary (parit……ytech#13066) * Adds test * Ensure we are using the runtime version of the override/substitute wasm * Update client/service/src/client/call_executor.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> Co-authored-by: Anton <anton.kalyaev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6376f13 - Browse repository at this point
Copy the full SHA 6376f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a4436 - Browse repository at this point
Copy the full SHA e4a4436View commit details -
Kademlia: Speed-up the record fetching (paritytech#13081)
Before libp2p 0.50.0 we used a quorum of one to fetch records from the DHT. In the pr that upgraded to libp2p 0.50.0 we accidentally changed this behavior. This pr brings back the old behavior of using a qorum of one and thus, a faster discovery. After finding the first value, we directly finish the query. There was also another behavior change in libp2p, they stopped automatic caching on remote nodes. This pr also brings back the remote caching on nodes that are nearest to the key from our point of view of the network. The pr that changed the behavior in libp2p: libp2p/rust-libp2p#2712
Configuration menu - View commit details
-
Copy full SHA for 934d42a - Browse repository at this point
Copy the full SHA 934d42aView commit details -
[contracts] Add docs generator for the contracts API to the `#[define…
…_env]` macro (paritytech#13032) * macro to expand traits for host functions documentation * other way: same Doc trait in seal modules * added docs for macro, and remove `doc` attribute * fmt * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * make docs to be generated into re-exported `api_doc` module; fix unrelated elder docs; * make it compile without `doc` attr passed to macro * make alias functions indicated explicitly in docs * tidy up docs * refactored a bit * macro to auto-add doc warning for unstable functions * invoke macro with no doc generation by default * addressed review comments * hide api_doc module behind cfg(doc) Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Configuration menu - View commit details
-
Copy full SHA for 8d17a16 - Browse repository at this point
Copy the full SHA 8d17a16View commit details
Commits on Jan 6, 2023
-
Update trybuild to avoid random test failures. (paritytech#13073)
* Update trybuild to avoid random test failures. A feature was added to trybuild >1.0.70 avoid failing on different variant counts in the line `and 278 others` fixes paritytech#12955 * Update all trybuild deps to latest version * Update Cargo.lock
Configuration menu - View commit details
-
Copy full SHA for bc73ebf - Browse repository at this point
Copy the full SHA bc73ebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 363ce0a - Browse repository at this point
Copy the full SHA 363ce0aView commit details -
Only use
substrate-wasm-builder
whenstd
feature is enabled. (par……itytech#12790) Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 90ffe71 - Browse repository at this point
Copy the full SHA 90ffe71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4692572 - Browse repository at this point
Copy the full SHA 4692572View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19da111 - Browse repository at this point
Copy the full SHA 19da111View commit details
Commits on Jan 7, 2023
-
Remove unused types (paritytech#13091)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for e7814a3 - Browse repository at this point
Copy the full SHA e7814a3View commit details
Commits on Jan 8, 2023
-
Run
frame_system
integrity tests in Externalities (paritytech#13092)* Run frame_system integrity tests in Externalities Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use feature = 'std' Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 5cbd126 - Browse repository at this point
Copy the full SHA 5cbd126View commit details
Commits on Jan 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 911f65b - Browse repository at this point
Copy the full SHA 911f65bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f31588b - Browse repository at this point
Copy the full SHA f31588bView commit details -
EPM and staking events improvement (paritytech#13035)
* EPM and staking events improvement * Uses RawOrigin in ElectionCompute event * Refactors new phase events to PhaseTransition event * PhaseTransitioned and remove RawOrigin from event * Adds helpers for epm phase transition and staking force new * addresses review comments * nit: removes unecessary clone * fixes benchmarks Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 6c7e941 - Browse repository at this point
Copy the full SHA 6c7e941View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc18d13 - Browse repository at this point
Copy the full SHA dc18d13View commit details -
Add ensure_pow method (paritytech#13042)
* add ensure_pow method * reexport checked_pow and ensure_pow
Configuration menu - View commit details
-
Copy full SHA for b85246b - Browse repository at this point
Copy the full SHA b85246bView commit details
Commits on Jan 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 27ef639 - Browse repository at this point
Copy the full SHA 27ef639View commit details -
Configuration menu - View commit details
-
Copy full SHA for a955481 - Browse repository at this point
Copy the full SHA a955481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82fd633 - Browse repository at this point
Copy the full SHA 82fd633View commit details -
Add solution hint to error message (paritytech#13111)
* Add solution hint to error message * make it compile * Update frame/support/procedural/src/pallet/expand/hooks.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/support/procedural/src/pallet/expand/storage.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/support/procedural/src/pallet/expand/storage.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/support/procedural/src/pallet/expand/storage.rs Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 75d10c7 - Browse repository at this point
Copy the full SHA 75d10c7View commit details -
Avoid unintentionally canceling the scheduled crate publishing job (p…
…aritytech#13088) * avoid unintentionally canceling the scheduled crate publishing job because publish-crates and publish-crates-manual share the resource group "crates-publishing", any instance of publish-crates-manual cancels a running instance of publish-crates, as demonstrated by https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2212179 a workaround for that unintended interaction is to avoid creating instances of publish-crates-manual and instead require pipelines to be triggered manually by checking $CI_JOB_MANUAL == "true" * check manual pipelines by $CI_PIPELINE_SOURCE instead of $CI_JOB_MANUAL * make crate-publishing pipelines uninterruptible * use conditional includes to work around interruptible limitations * organize comments * remove interruptible from common pipeline * wip: check include * wip: check include * fix include * fix include * fix include * fix yaml * fix yaml * remove shared common-pipeline * wip: retry common-pipeline * move .default-template to .gitlab-ci.yml * fix the pipeline add comments * fix default-pipeline.yml * revert publish-crates-manual to when: manual * move "needs:" back to publish-crates * avoid manual repetition * improve previous commit * try to avoid manual repetition * fix indentation * minor adjustments * move defaults to top of .gitlab-ci.yml * fix positioning on default in the diff * comments * indentation * Apply suggestions from code review Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e38342 - Browse repository at this point
Copy the full SHA 4e38342View commit details -
introduce log-target constant to more frame pallets (paritytech#13116)
* introduce log-target constant to more frame pallets * cargo fmt * make LOG_TARGET in session public * Update frame/elections-phragmen/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/elections-phragmen/src/migrations/v3.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/elections-phragmen/src/migrations/v3.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update frame/elections-phragmen/src/migrations/v3.rs Co-authored-by: Bastian Köcher <git@kchr.de> * move LOG_TARGET=runtime::session_historical to migrations module, where it's actually used Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for ad844be - Browse repository at this point
Copy the full SHA ad844beView commit details -
Update tests for 1.66 and switch CI to stable Rust 1.66 (paritytech#1…
…3118) * Update UI tests for 1.66 * Fix `test_enum` assertion for Rust 1.66 * Fix another `test_enum` assertion for Rust 1.66 * Fix another `test_enum` assertion for Rust 1.66 * Fix another `test_enum` assertion for Rust 1.66
Configuration menu - View commit details
-
Copy full SHA for cb63d3d - Browse repository at this point
Copy the full SHA cb63d3dView commit details
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c6eb8c8 - Browse repository at this point
Copy the full SHA c6eb8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f964453 - Browse repository at this point
Copy the full SHA f964453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0db37d0 - Browse repository at this point
Copy the full SHA 0db37d0View commit details -
remove update-node-template (paritytech#13100)
will be moved to polkadot's pipeline ref https://github.com/paritytech/release-engineering/issues/142
Configuration menu - View commit details
-
Copy full SHA for 946507b - Browse repository at this point
Copy the full SHA 946507bView commit details -
Allow duplicate topics in smart contract events (paritytech#13065)
* Removed `has_duplicates` check form the `deposit_event`. Removed the usage of `Error::DuplicateTopics`. * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 2c029fd - Browse repository at this point
Copy the full SHA 2c029fdView commit details -
[NFTs] Track item's metadata depositor (paritytech#13124)
* Refactor do_mint() * Track the depositor of item's metadata * Revert back the access control * On collection destroy return the metadata deposit * Clear the metadata on item burn returning the deposit * Address comments * Fix clippy * Don't return Ok on non-existing attribute removal
Configuration menu - View commit details
-
Copy full SHA for 293c1f2 - Browse repository at this point
Copy the full SHA 293c1f2View commit details -
IntegrityTest
implementation should be feature gated (paritytech#13094Configuration menu - View commit details
-
Copy full SHA for e752af1 - Browse repository at this point
Copy the full SHA e752af1View commit details -
Bump git2 from 0.14.4 to 0.16.0 (paritytech#13123)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.4 to 0.16.0. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](rust-lang/git2-rs@0.14.4...git2-curl-0.16.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ad58606 - Browse repository at this point
Copy the full SHA ad58606View commit details -
Scheduler is already at V4 (paritytech#13105)
* Scheduler is already at V4 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix Referenda log target Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 6d3596f - Browse repository at this point
Copy the full SHA 6d3596fView commit details
Commits on Jan 12, 2023
-
Optimize merkle proofs for efficient verification in Solidity (parity…
…tech#12857) * Sort hashes when generating & verifying MMR proofs * Remove unused variables * Double-hash leaves in beefy-merkle-tree * Revert "Double-hash leaves in beefy-merkle-tree" This reverts commit f788f5e. * Retry Polkadot companion CI jobs
Configuration menu - View commit details
-
Copy full SHA for f9d1dcd - Browse repository at this point
Copy the full SHA f9d1dcdView commit details -
client/beefy: fix logs (paritytech#13130)
Minor change to logs but required to minimize spamming during initial BEEFY deployment.
Configuration menu - View commit details
-
Copy full SHA for e9b0fac - Browse repository at this point
Copy the full SHA e9b0facView commit details -
Stop keeping track of epoch changes for the sync gap (paritytech#13127)
* Stop keeping track of epoch changes data within the sync gap * Fix docs * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Fix typo Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 2bfc1dd - Browse repository at this point
Copy the full SHA 2bfc1ddView commit details
Commits on Jan 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d92281a - Browse repository at this point
Copy the full SHA d92281aView commit details -
sp-beefy: align authority id key type with its signature type (parity…
…tech#13131) Still allows custom message hasher, but ties together the crypto types used for private+public keys and the signature. Signed-off-by: acatangiu <adrian@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 88be4b6 - Browse repository at this point
Copy the full SHA 88be4b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbc525f - Browse repository at this point
Copy the full SHA cbc525fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30641ee - Browse repository at this point
Copy the full SHA 30641eeView commit details
Commits on Jan 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 49962f7 - Browse repository at this point
Copy the full SHA 49962f7View commit details
Commits on Jan 16, 2023
-
pallet-offences-benchmarking: Box events in verify (paritytech#13151)
* pallet-offences-benchmarking: Box events in verify Events in frame are represented by an enum in the pallet and the runtime. The size of an enum in Rust depends on the size of biggest variant. This means we always need to allocate memory for the biggest variant when allocating memory for an event. The offences benchmarking is verifying the benchmarking results by checking the events. To check the events it is generating all the expected events. With the recent changes in Polkadot the events are too big and lead to issues when running this verify functions. The solution is to box each event, as the vector holding all the events will then only need to hold fat pointers * expected events, instead of size_of(event) * expected events. This issue isn't a problem in production, as we never read the events on chain. When we are reading the events, it is done in an offchain context and they are only decoded one by one. Besides that this also enables the benchmarking verification for everyone running these benchmarks. * FMT * Disable checking again
Configuration menu - View commit details
-
Copy full SHA for 70f2e36 - Browse repository at this point
Copy the full SHA 70f2e36View commit details -
More improvements for the crate publishing pipeline (paritytech#13153)
* more improvements for the crate publishing pipeline * move default definitions to the publish-crates script * add script to check the crate publishing pipeline at the start * fix yaml references * move more variables to .crates-publishing-pipeline * separate .crates-publishing-pipeline from .crates-publishing-variables * clean up redundant and unused code
Configuration menu - View commit details
-
Copy full SHA for ea00240 - Browse repository at this point
Copy the full SHA ea00240View commit details -
txpool: don't maintain the pool during major sync (paritytech#13004)
* txpool: don't maintain the pool during major sync Fix shall prevent from wasting the CPU during the major sync. No actions are actually required in transaction pool during the major sync. Fixes: paritytech#12903 * passing sync_oracle to maintain method * fixed: builder, txpool tests * do not maintain tx-pool if node gone out of sync * EnactmentAction: all logic moved to EnactmentState Tests to be done. * maintain guard logic moved directly to MaintainedTransactionPool * minor fixes * EnactmentAction: all logic moved to EnactmentState (again) * SyncOracle fixes here and there * Update client/transaction-pool/src/enactment_state.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Update client/transaction-pool/src/enactment_state.rs Co-authored-by: Bastian Köcher <git@kchr.de> * sync_oracle removed * spelling + fmt + doc * Review suggestions applied * log::info -> debug * Update client/transaction-pool/src/enactment_state.rs Co-authored-by: Bastian Köcher <git@kchr.de> * ".git/.scripts/commands/fmt/fmt.sh" Co-authored-by: parity-processbot <> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 7ff6fa2 - Browse repository at this point
Copy the full SHA 7ff6fa2View commit details
Commits on Jan 17, 2023
-
[client/network] Add support for
/wss
addresses (paritytech#13152)* join dns with another instance of WS transport Secure Websocket transport needs unresolved addresses, so we join DNS transport with yet another instance of Websocket transport. Closes paritytech#12024 * WSS transport itself need to wrap DNS transport in order to resolve addresses before passing them down to TCP transport Refs libp2p/rust-libp2p#3330 * reverse order * simplify code: remove WS from WSS inner DNS transport * remove the 2nd instance of WS transport
Configuration menu - View commit details
-
Copy full SHA for 2893730 - Browse repository at this point
Copy the full SHA 2893730View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7070e0 - Browse repository at this point
Copy the full SHA b7070e0View commit details -
NIS should retain funds in reserve (paritytech#12928)
* Keep funds with receipt holder * Counterpart is optional * Use named reserves * Tests * Benchmarks * Fixes * Update frame/nis/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/nis/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/nis/src/lib.rs * Update frame/nis/src/lib.rs * Update frame/nis/src/tests.rs * Update frame/nis/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nis/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nis/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nis/src/lib.rs * Update frame/nis/src/lib.rs * Update frame/nis/src/lib.rs * Update frame/nis/src/lib.rs * Formatting Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 6bac243 - Browse repository at this point
Copy the full SHA 6bac243View commit details -
Refactory of
next_slot
method (paritytech#13155)Refactory of `next_slot` method * Prevents slot worker exit if inherent data provider creation fails * Failure is not possible anymore * Fix potential failure after warp-sync where block headers of not already downloaded blocks are used by the inherent data provider
Configuration menu - View commit details
-
Copy full SHA for 414caff - Browse repository at this point
Copy the full SHA 414caffView commit details -
Breakout mock runtimes to separate files (paritytech#13150)
* break out moch runtimes to separate files * tranaction-payment: break out tests & mock runtime to separate files
Configuration menu - View commit details
-
Copy full SHA for f7e53fe - Browse repository at this point
Copy the full SHA f7e53feView commit details -
frame-benchmarking: Macros should not force a particular env (parityt…
…ech#13161) The macros in frame-benchmarking relied on having all the macros imported, which isn't a behavior for a proper macro :D This pr fixes this by making all internal macro usages absolute.
Configuration menu - View commit details
-
Copy full SHA for 42f38db - Browse repository at this point
Copy the full SHA 42f38dbView commit details
Commits on Jan 18, 2023
-
Fix the
storage_size
/state_getStorageSize
RPC call (paritytech#13154) * Have `KeyIterator` clone the `prefix` it receives * Stream keys in `storage_size` RPC and add a runtime limit * Update client/rpc/Cargo.toml Co-authored-by: Bastian Köcher <git@kchr.de> * Update client/rpc/src/state/utils.rs Co-authored-by: Bastian Köcher <git@kchr.de> * Rename the types to signify that the cancellation is due to a timeout * Move the test into a `mod tests` * Add a comment regarding `biased` in `tokio::select` * Make the `clone` explicit when calling `KeyIterator::{new, new_child}` Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for cfe9262 - Browse repository at this point
Copy the full SHA cfe9262View commit details -
[contracts] Adapt storage reading host functions to Weights V2 (parit…
…ytech#12976) * update RuntimeCosts to Weights V2, update tests * improve docs * clearer naming and docs to compat_weight helper * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * save before master merge * HostFnWeights to Weight * added to_weight! macro * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * RuntimeCosts::ChainExtension to weight_v2 * chain extension to weight v2 Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Configuration menu - View commit details
-
Copy full SHA for a447f03 - Browse repository at this point
Copy the full SHA a447f03View commit details -
zobmienet tests are not supposed to fail (paritytech#13015)
* zobmienet tests are not supposed to fail * Update scripts/ci/gitlab/pipeline/zombienet.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for af5a499 - Browse repository at this point
Copy the full SHA af5a499View commit details -
[contracts] Add integrity checks by pallet hook (paritytech#12993)
* integrity test for MaxCodeLen and CallStack::len() * integrity test for MaxDebugBufferLen * addressed review comments * fix append_debug_buffer() * ci fix * updated code_len_limit formula after further discussion * enlarged mem safe margin after discussion * +doc to Config trait associated types * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * more lil fixes from code review feedback * lowered max call depth to satisfy mem limits * fix node runtime pallet params to satisfy integrity check * fix max call depth value calc Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Configuration menu - View commit details
-
Copy full SHA for cba5977 - Browse repository at this point
Copy the full SHA cba5977View commit details
Commits on Jan 19, 2023
-
Expose
UnknownBlock
error viaApiError
(paritytech#12707)* Expose `UnknownBlock` error via `ApiError` In [certain cases](https://github.com/paritytech/polkadot/issues/5885) a runtime api is called for an unknown block. For example a block which is already pruned or on an abandon fork. In such cases the correct error is returned but it is wrapped in `ApiError::Application` and the only way to figure out what is the problem is to inspect the actual message in the error. In polkadot for example this usually happens when the runtime api version is being queried. It's beneficial to be able to clearly separate such errors so i that when they occur the client side can handle them more gracefully. E.g. log less stressful error message than `State already discarded for BlockId` or cancel any pending work related on this block. * Update primitives/api/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 911c9ab - Browse repository at this point
Copy the full SHA 911c9abView commit details -
Notification-based block pinning (paritytech#13157)
* Worker * Reorganize and unpin onnotification drop * Pin in state-db, pass block number * Pin blocks in blockchain db * Switch to reference counted LRU * Disable pinning when we keep all blocks * Fix pinning hint for state-db * Remove pinning from backend layer * Improve readability * Add justifications to test * Fix justification behaviour * Remove debug prints * Convert channels to tracing_unbounded * Add comments to the test * Documentation and Cleanup * Move task start to client * Simplify cache * Improve test, remove unwanted log * Add tracing logs, remove expect for block number * Cleanup * Add conversion method for unpin handle to Finalitynotification * Revert unwanted changes * Improve naming * Make clippy happy * Fix docs Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> * Use `NumberFor` instead of u64 in API * Hand over weak reference to unpin worker task * Unwanted * &Hash -> Hash * Remove number from interface, rename `_unpin_handle`, LOG_TARGET * Move RwLock one layer up * Apply code style suggestions * Improve comments * Replace lru crate by schnellru * Only insert values for pinned items + better docs * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Improve comments, log target and test Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for d4384f2 - Browse repository at this point
Copy the full SHA d4384f2View commit details -
Make DispatchError impl MEL (paritytech#13169)
* Make DispatchError impl MEL * Upgrade SCALE codec to support `codec(skip)` for MEL Co-authored-by: Bastian Köcher <info@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 0b6aec5 - Browse repository at this point
Copy the full SHA 0b6aec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b85d631 - Browse repository at this point
Copy the full SHA b85d631View commit details -
txpool: LOG_TARGET const added (paritytech#13180)
* txpool: LOG_TARGET const added part of: paritytech#12873 * LOG_TARGET added to tests mod * txpool::api for api * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * ".git/.scripts/commands/fmt/fmt.sh" Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for d7acf9e - Browse repository at this point
Copy the full SHA d7acf9eView commit details
Commits on Jan 20, 2023
-
Fix potential huge allocation as a result of
validate_block
output (p……aritytech#13183) * Fix potential huge allocation as a result of `validate_block` output * Address review comments; add more tests * Update client/executor/wasmtime/src/runtime.rs * Remove unnecessary comments Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for de943ee - Browse repository at this point
Copy the full SHA de943eeView commit details -
sc-network: Ensure private addresses are disabled if requested (parit…
…ytech#13185) When running with `--no-private-ipv4` the node should not trying to connect to any private ip addresses. With the switch to libp2p this behavior was broken. Part of this version upgrade was the following pr: libp2p/rust-libp2p#2995. This pr changed the default cache size of `libp2p-identity` from `0` aka disabled to `100`. Together with our implementation that was calling into `identity` to request addresses for a given peer. Before the switch to libp2p 0.50.0 this was returning zero addresses, but now with the cache enabled it started to return addresses. This pr fixes this by only letting discovery return addresses for a peer. It also ensures that we filter private addresses if requested. The cache is also disabled to restore the previous caching behavior, but it will actually not be called anymore.
Configuration menu - View commit details
-
Copy full SHA for 593c76b - Browse repository at this point
Copy the full SHA 593c76bView commit details -
Warn validators with slow hardware (paritytech#12620)
* move Metric * run hardware bench if validiator flag is being used * fix rustdoc & update node-template * fix * unused improt * warn * move Requirement * bench_result * ensure_requirements * make the code compile * check if authority * Update client/sysinfo/src/sysinfo.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * nit fixes * warning signs * Update client/sysinfo/src/sysinfo.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 38ec2d8 - Browse repository at this point
Copy the full SHA 38ec2d8View commit details -
Use year 2023 in the License headers (paritytech#13193)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2c16842 - Browse repository at this point
Copy the full SHA 2c16842View commit details
Commits on Jan 21, 2023
-
Move slow hardware warning print logic to CLI (paritytech#13198)
* Move slow hardware warning print logic to CLI Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update client/sysinfo/src/sysinfo.rs Co-authored-by: Bastian Köcher <git@kchr.de> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 355e4a9 - Browse repository at this point
Copy the full SHA 355e4a9View commit details -
Fix flaky BABE test (paritytech#13199)
The `authoring_blocks` test of BABE was calculating the slot based on the timestamp it sometimes failed in CI. The problem is that we combine all the notifications and authoring futures in one big future. This one big future may first polls one authoring future to build a block. Then it polls all notification futures again to import the block. Then some other authoring future is polled and builds on the imported block using the same slot and making the import fail. The solution is that we just artificially increase the slot to make the test work.
Configuration menu - View commit details
-
Copy full SHA for 79cb2e6 - Browse repository at this point
Copy the full SHA 79cb2e6View commit details
Commits on Jan 22, 2023
-
Add debug info in assert_has_event and assert_last_event (paritytech#…
…12979) * improve debug info in assert_has_event and assert_last_event * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 1f70226 - Browse repository at this point
Copy the full SHA 1f70226View commit details
Commits on Jan 23, 2023
-
new proc-macro-based benchmarking syntax (paritytech#12924)
* add stub for new benchmark macro * benchmark syntax * add #[extrinsic call] separator * parse #[benchmark] item as a function * proper emission of error when #[extrinsic_call] annotation is missing * clean up * enclosing module via benchmarks! { } working * use an attribute macro on the module instead of benchmarks! { } * cargo fmt * working component implementation * WIP * working * add syntax for Linear<A, B> * parsing of param ranges (still need to build tuple though) * params parsing WIP * clean up (don't need extrinsic call name) * use proper Result syntax for BenchmarkDef parsing * proper parsing of Linear<0, 1> style args * successfully parse and make use of linear component ranges 💥 * rename support variable => home because eventually will be moved * compile-time check that param range types implement ParamRange * switch to using balances as example, failing on instance pallet * successfully set up __origin and __call with balances 💥 * clean up * use a module * don't need a variable for transfer * rename benchmark_transfer -> transfer because no longer conflicts * clean up * working with transfer_increasing_users as well 💥 * re-add BareBlock * add comments for undocumented structs+functions+traits * refactor in preparation for removing module requirements * switch to a block instead of a module * use the outer macro pattern to to enable #[benchmarks] aggregation * successfully generate SelectedBenchmark 💥 * implement components for SelectedBenchmark * implement instance for SelectedBenchmark * properly track #[extra] * working impl for fn benchmarks() * run_benchmarks WIP * finish run_benchmark! impl 💥 * import balances transfer_best_case benchmark * import transfer_keep_alive balances pallet benchmark * import set_balance_creating balances pallet benchmark * import set_balance_killing balances pallet benchmark * import force_transfer balances pallet benchmark * add #[extra] annotation and docs to transfer_increasing_users * import transfer_all balances pallet benchmark * import force_unreserve balances pallet benchmark * prepare to implement impl_benchmark_test_suite! * ensure tests cover #[extra] before and after #[benchmark] tag * refactor * clean up * fix * move to outer * switch to benchmarks/instance_benchmarks * test impl almost done, strange compiler error * benchmark test suites working 💥 * clean up * add stub and basic parsing for where_clause * working except where clause and extrinsic calls containing method chains * assume option (2) for now wrt paritytech#12924 (comment) * clean up * switch to attribute-style * properly handle where clauses * fix subtle missing where clause, now just MessageQueue issues * fix block formatting in message-queue pallet * switch to block vs non-block parsing of extrinsic call * working now but some benchmark tests failing * message-queue tests working (run order issue fixed) 🎉 * add comments and internal docs for fame_support_procedural::benchmark * fix license years * docs for lib.rs * add docs to new support procedural macros * don't allow #[benchmark] outside of benchmarking module * add docs * use benchmark(extra, skip_meta) style args * update docs accordingly * appease clippy * bump ci * add notes about `extra` and `skip_meta` * fix doc tests * re-run CI * use `ignore` instead of `no_run` on doc examples * bump CI * replace some if-lets with if-elses * more refactoring of if-let statements * fix remaining if-lets in BenchmarkDef::from() * fix if-lets in benchmarks() * fix remaining if-lets, use nested find_map for extrinsic call * switch to use #[extrinsic_call] or #[block] situationally * refactor ExtrinsicCallDef => BenchmarkCallDef * update docs with info about #[block] * add macro stub for #[extrinsic_call] * fix docs and add stub for #[block] as well * remove unused extern crate line * fix clippy nits * Use V2 bench syntax in pallet-example-basic Just testing the dev-ex... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * carry over comment * use curly-brace style for impl_benchmark_test_suite! * remove unneeded parenthesis * proper handling of _() extrinsic call style * add docs for _() syntax * fix crate access * simplify keyword access Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * simplify module content destructuring Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * fix crate access "frame_benchmarking" => "frame-benchmarking", compiles * use _() extrinsic call syntax where possible in balances * simplify attr.path.segments.last() Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * fix compile error being suppressed * simplify extrinsic call keyword parsing Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * use ? operator instead of return None Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * rename generics => type_use_generics rename full_generics => type_impl_generics * simplify extrinsic call extraction with transpose * bump CI * nit * proper handling of too many + too few block/extrinsic call annotations * change to B >= A Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * remove unneeded ignore Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * remove another ignore Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add ui tests * use _() style extrinsic call on accumulate_dummy Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add range check to ParamRange * ui test for bad param ranges * fix failing example * add ignore back to other failing example * tweak expr_call span Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * fix typo * eliminate a match Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * change pub fn benchmarks to return Result<TokenStream> * fix origin error span * more informative error for invalid benchmark parameter name * fix spans on a few benchmark errors * remove unneeded clone * refactor inner loop of benchmark function parsing * preserve mod attributes * refactor outer loop of benchmark def parsing code, greatly simplified * simplify to use a ? operator when parsing benchmark attr path * fix another ? operator * further simplify benchmark function attr parsing with more ? ops * refactor extrinsic call handling to use if let rather than match * replace is_ok => is_err Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * re-use name during expansion of benchmark def * remove unneeded clone * fix span for origin missing error * fix missing semi Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for ed3f055 - Browse repository at this point
Copy the full SHA ed3f055View commit details -
Rename
*-private-ipv4
to*-private-ip
CLI args (paritytech#13208)* Rename `*-private-ipv4` to `*-private-ip` CLI args Renames the `*-private-ipv4` to `*-private-ip` in the CLI interface. The old names are staying as alias, thus it will not break for anyone. Besides that it also fixes the naming in the rest of the code. * FMT
Configuration menu - View commit details
-
Copy full SHA for d0a2c4a - Browse repository at this point
Copy the full SHA d0a2c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e72f72f - Browse repository at this point
Copy the full SHA e72f72fView commit details -
[Fix] CountedMap::set now takes Counter into account (paritytech#13214)
* [Fix] CountedMap::set now takes Counter into account * introduce tests for StorageMap
Configuration menu - View commit details
-
Copy full SHA for 419b840 - Browse repository at this point
Copy the full SHA 419b840View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d72b3 - Browse repository at this point
Copy the full SHA 52d72b3View commit details
Commits on Jan 24, 2023
-
BlockId removal: refactor: CallExecutor trait (paritytech#13173)
* BlockId removal: refactor: CallExecutor trait It changes the arguments of CallExecutor methods: - `call`, 'contextual_call', 'runtime_version', 'prove_execution' from: `BlockId<Block>` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * ".git/.scripts/commands/fmt/fmt.sh" Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 9052607 - Browse repository at this point
Copy the full SHA 9052607View commit details -
service: storage monitor added (paritytech#13082)
* service: storage monitor added Storage monitor added. It uses `notify` create to get notifications about any changes to monitored path (which is database path). Notifications are consumed in essential task which terminates when available storage space drops below given threshold. Closes: paritytech#12399 * Cargo.lock updated * misspell * fs events throttling added * minor updates * filter out non mutating events * misspell * ".git/.scripts/commands/fmt/fmt.sh" * Update client/service/src/storage_monitor.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> * storage-monitor crate added * cleanup: configuration + service builder * storage_monitor in custom service (wip) * copy-paste bad desc fixed * notify removed * storage_monitor added to node * fix for clippy * publish = false * Update bin/node/cli/src/command.rs Co-authored-by: Dmitry Markin <dmitry@markin.tech> * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * crate name: storage-monitor -> sc-storage-monitor * error handling improved * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * publish=false removed Co-authored-by: command-bot <> Co-authored-by: Anton <anton.kalyaev@gmail.com> Co-authored-by: Dmitry Markin <dmitry@markin.tech> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for ca5a505 - Browse repository at this point
Copy the full SHA ca5a505View commit details -
beefy: Add LOG_TARGET constant (paritytech#13222)
* LOG_TARGET const * fmt
Configuration menu - View commit details
-
Copy full SHA for 84af672 - Browse repository at this point
Copy the full SHA 84af672View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09de7b4 - Browse repository at this point
Copy the full SHA 09de7b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5749760 - Browse repository at this point
Copy the full SHA 5749760View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2afb5d - Browse repository at this point
Copy the full SHA d2afb5dView commit details
Commits on Jan 25, 2023
-
pallet-assets: Rename
total_supply
toamount
(paritytech#13229)* pallet-assets: Rename `total_supply` to `amount` We are actually passing the `amount` on assets being minted and not the total supply. Closes: paritytech#13210 * ".git/.scripts/commands/fmt/fmt.sh" * Fix compilation * FMT Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 1314eec - Browse repository at this point
Copy the full SHA 1314eecView commit details -
Babe: bad epoch index with skipped epochs and warp sync (paritytech#1…
…3135) * Detect and correct epoch-index for skipped epochs * Code refactory * Epoch index should be also be fixed for secondary claims with VRF * Fix typo * Make clippy happy * Fix typo * Trigger pipeline
Configuration menu - View commit details
-
Copy full SHA for e393874 - Browse repository at this point
Copy the full SHA e393874View commit details -
contracts: Deprecate random interface (paritytech#13204)
* Deprecate random interface * Revert change to runtime file * Fix docs * Fix tests * Rename to not_deprecated * Apply suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> * Deprecate `set_rent_allowance` Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
Configuration menu - View commit details
-
Copy full SHA for 1a1600b - Browse repository at this point
Copy the full SHA 1a1600bView commit details -
[contracts] Add upfront weight of merkle trie proofs for storage read…
…ing functions (paritytech#13236) * Add upfront weight of merkle trie proofs for storage reading functions * drive-by fixes
Configuration menu - View commit details
-
Copy full SHA for d74eab8 - Browse repository at this point
Copy the full SHA d74eab8View commit details -
CI: Rewrite
check-each-crate
in python (paritytech#13238)* CI: Rewrite `check-each-crate` in python This is a much better readable version of the script and it should also work on Macos and not siltently fail ;) * Fix dumb bugs and print everything to stderr * Don't buffer Python output * 🤦 * 🤦 🤦 * Use check all until we have more macos runners * Update scripts/ci/gitlab/check-each-crate.py Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update scripts/ci/gitlab/pipeline/test.yml Co-authored-by: Vladimir Istyufeev <vladimir@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for d22e68c - Browse repository at this point
Copy the full SHA d22e68cView commit details -
Fix try-runtime with create-snapshot (paritytech#13223)
* Fix try-runtime with create-snapshot * Apply review suggestions
Configuration menu - View commit details
-
Copy full SHA for d029225 - Browse repository at this point
Copy the full SHA d029225View commit details -
reduce exec time of fast-unstake benchmarks (paritytech#13120)
* reduce exec time of fast-unstake benchmarks * fix test * fmt * fix patch the tests * fix patch the tests * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * add batch size as well * update some benches to be better * fix one last test * fix * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * reduce time even more * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * fix tests * nit * remove * improve the weight calc further * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * fix benchmarks * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * update * fix * fix * fmt * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * lots of changes again... * smaller input * update * fmt * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * cleanup * small simplification * fmt * reduce exec time a bit * fix * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * test * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * increase again * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake * review comments * fmt * fix * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_fast_unstake Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 8b4331c - Browse repository at this point
Copy the full SHA 8b4331cView commit details
Commits on Jan 26, 2023
-
Rework the trie cache (paritytech#12982)
* Rework the trie cache * Align `state-machine` tests * Bump `schnellru` to 0.1.1 * Fix off-by-one * Align to review comments * Bump `ahash` to 0.8.2 * Bump `schnellru` to 0.2.0 * Bump `schnellru` to 0.2.1 * Remove unnecessary bound * Remove unnecessary loop when calculating maximum memory usage * Remove unnecessary `mut`s
Configuration menu - View commit details
-
Copy full SHA for 9db957c - Browse repository at this point
Copy the full SHA 9db957cView commit details -
Add task type label to metrics (paritytech#13240)
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 64a1a36 - Browse repository at this point
Copy the full SHA 64a1a36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05238ab - Browse repository at this point
Copy the full SHA 05238abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f404a4 - Browse repository at this point
Copy the full SHA 2f404a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4bc993 - Browse repository at this point
Copy the full SHA f4bc993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05fb813 - Browse repository at this point
Copy the full SHA 05fb813View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce05840 - Browse repository at this point
Copy the full SHA ce05840View commit details -
Configuration menu - View commit details
-
Copy full SHA for f929b72 - Browse repository at this point
Copy the full SHA f929b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7781776 - Browse repository at this point
Copy the full SHA 7781776View commit details -
Add WeightToFee and LengthToFee impls to transaction-payment Runtime …
…API (paritytech#13110) * Add WeightToFee and LengthToFee impls to RPC * Remove RPC additions * Update frame/transaction-payment/rpc/runtime-api/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * Add comments to length_to_fee and weight_to_fee Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 2dbf625 - Browse repository at this point
Copy the full SHA 2dbf625View commit details -
Correct arithmetical semantic of
PerDispatchClass
(paritytech#13194)* Fix PerDispatchClass arithmetic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test PerDispatchClass arithmetic Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add helpers for Weight Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove stale doc Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont mention Polkadot in Substrate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove saturating_ prefix Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix usage Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 495cc0e - Browse repository at this point
Copy the full SHA 495cc0eView commit details -
Aura: Fix warp syncing (paritytech#13221)
* Aura: Fix warp syncing We need to set the fork choice rule! When using Cumulus this is done by the `ParachainsBlockImport`, but for standalone chains we still need this! Closes: paritytech#13220 * Improve fork choice
Configuration menu - View commit details
-
Copy full SHA for 65d1d03 - Browse repository at this point
Copy the full SHA 65d1d03View commit details -
Add Proof Size to Weight Output (paritytech#11637)
* initial impl * add template test * linear fit proof size * always record proof when tracking storage * calculate worst case pov * remove duplicate worst case * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs * more comment output * add cli for worst case map size * update name * clap does not support underscores * rename * expose worst case map values * improve some comments * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs * update template * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs * fix fmt * more fmt * more fmt * Dont panic when there is no proof Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Whitelist :extrinsic_index Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use whitelist when recording proof Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add logs Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add PoV testing pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Deploy PoV testing pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Storage benches reside in the PoV pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Linear regress PoV per component Splits the PoV calculation into "measured" and "estimated". The measured part is reported by the Proof recorder and linear regressed over all components at once. The estimated part is calculated as worst-case by using the max PoV size per storage access and calculating one linear regress per component. This gives each component a (possibly) independent PoV. For now the measured size will always be lower than the PoV on Polkadot since it is measured on an empty snapshot. The measured part is therefor only used as diagnostic for debugging. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Put PoV into the weight templates Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Extra alanysis choise for PoV Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add+Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make benches faster Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use same template comments Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/bench-bot.sh" pallet dev pallet_balances * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy * Update referenda mock BlockWeights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Take measured value size into account Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/bench-bot.sh" pallet dev pallet_scheduler * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * proof_size: None Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ugly, but works Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * wup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * WIP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add pov_mode attribute to the benchmarks! macro Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use pov_mode attribute in PoV benchmarking Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Scheduler, Whitelist: Add pov_mode attr Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update PoV weights * Add CLI arg: default-pov-mode Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fix Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Update PoV weights" This reverts commit 2f3ac23. * Revert "WIP" This reverts commit c34b538. * Revert first approach This reverts commit range 8ddaa2f^..4c84f87 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add extra benchmarks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_alliance * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_whitelist * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_scheduler * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Clippy 🤦 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add reference benchmarks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix doc comments Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Undo logging Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add 'Ignored' pov_mode Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Allow multiple attributes per benchmark Turns out that the current benchmarking syntax does not support multiple attributes per bench 🤦. Changing it to support that since otherwise the `pov_mode` would conflict with the others. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Validate pov_mode syntax Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Ignore PoV for all contract benchmarks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump macro recursion limit Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update contract weights They dont have a PoV component anymore. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fix test ffs Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * pov_mode is unsupported in V2 syntax Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix pallet ui tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update pallet ui Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix pallet ui tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Parity Bot <admin@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <> Co-authored-by: Your Name <you@example.com>
Configuration menu - View commit details
-
Copy full SHA for ff9921a - Browse repository at this point
Copy the full SHA ff9921aView commit details
Commits on Jan 27, 2023
-
Use non-binary pronouns in comments. (paritytech#13209)
* use non binary pronouns in comments * cargo fmt * fix the use of "it" with "they" when dealing about an opperations identity
Configuration menu - View commit details
-
Copy full SHA for 248fdf0 - Browse repository at this point
Copy the full SHA 248fdf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e153d2 - Browse repository at this point
Copy the full SHA 1e153d2View commit details -
migrate new benchmarking syntax from
frame_support::benchmarking
to…… `frame_benchmarking::v2` (paritytech#13235) * * re-export frame_support::benchmarking in frame_benchmarking:: * prefer use frame_benchmarking::*; in examples, etc * switch to frame_benchmarking::v2 * completely migrate new benchmarking code out of frame_support * fix doc links * remove unneeded return Co-authored-by: Bastian Köcher <git@kchr.de> * remove another unneeded return Co-authored-by: Bastian Köcher <git@kchr.de> * properly export all macros in v1 * refactor existing frame_benchmarking imports to use ::v1 --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for ce2cee3 - Browse repository at this point
Copy the full SHA ce2cee3View commit details -
mutate_exists for StorageValue with ValueQuery (paritytech#13245)
* mutate_exists for StorageValue with ValueQuery Signed-off-by: muraca <mmuraca247@gmail.com> * added `#[crate::storage_alias]` to tests Signed-off-by: muraca <mmuraca247@gmail.com> * added StorageEntryMetadata Signed-off-by: muraca <mmuraca247@gmail.com> * Update frame/support/src/lib.rs --------- Signed-off-by: muraca <mmuraca247@gmail.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 9762613 - Browse repository at this point
Copy the full SHA 9762613View commit details
Commits on Jan 28, 2023
-
Fix derive PassByInner with generics (paritytech#13247)
* Fix derive PassByInner with generics * Update primitives/runtime-interface/proc-macro/src/pass_by/inner.rs --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 1e6b892 - Browse repository at this point
Copy the full SHA 1e6b892View commit details -
docs: Fix broken documentation links for pallets (paritytech#13241)
Fixes broken links to `Config` and `Call`, for READMEs the link has been fixed by adding the missing "/pallet" path, and for rust docs we let the compiler figure out the type's link by itself Signed-off-by: Jonathas-Conceicao <jonathasaoc@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ece32a7 - Browse repository at this point
Copy the full SHA ece32a7View commit details -
sc-finality-grandpa: Warp proof generation can not expect justificati…
…ons (paritytech#13249) When a node is running with `--blocks-pruning` it will also prunes justifications. So, the warp proof generation can not use `expect` for unwrapping the justification.
Configuration menu - View commit details
-
Copy full SHA for 0100b3b - Browse repository at this point
Copy the full SHA 0100b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c11190 - Browse repository at this point
Copy the full SHA 6c11190View commit details
Commits on Jan 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4caddb - Browse repository at this point
Copy the full SHA f4caddbView commit details -
Remove
uncles
related code (paritytech#13216)The code was added without any clear usage. The inherent for example is not benchmarked and not used.
Configuration menu - View commit details
-
Copy full SHA for fdff2b2 - Browse repository at this point
Copy the full SHA fdff2b2View commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a9c4334 - Browse repository at this point
Copy the full SHA a9c4334View commit details -
Apply suggestions from code review
Co-authored-by: Javier Viola <pepoviola@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dcd00f4 - Browse repository at this point
Copy the full SHA dcd00f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c7a375 - Browse repository at this point
Copy the full SHA 1c7a375View commit details -
grandpa: cleanup stale entries in set id session mapping (paritytech#…
…13237) * grandpa: cleanup stale entries in set id session mapping * Update frame/grandpa/src/migrations.rs Co-authored-by: Bastian Köcher <git@kchr.de> * grandpa: remove unused import * grandpa: migration off-by-one * Update frame/grandpa/src/lib.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> * Update frame/grandpa/src/lib.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> * grandpa: MaxSetIdSessionEntries as u64 * node-template: fix MaxSetIdSessionEntries type --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Anton <anton.kalyaev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 129fee7 - Browse repository at this point
Copy the full SHA 129fee7View commit details
Commits on Feb 1, 2023
-
Benchmark's successful origin api update (paritytech#13146)
* try successful origin unimplemented by default * error as a default impl for try_successful_origin * remove successful_origin func of EnsureOrigin trait * default impl -> unimplemented!() * update EnsureOriginWithArg * fix EnsureOriginWithArg * prefix unused arg with underscore * use try_successful_origin instead successful_origin, map err to Weightless * fix tests * remove default impl * unwrap for indirect origin dep * replace unwrap by expect with a message --------- Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 8cfe326 - Browse repository at this point
Copy the full SHA 8cfe326View commit details -
hooks default impl missing where clause (paritytech#13264)
* hooks default impl missing where clause * add tests * Update frame/support/test/tests/pallet_ui/pass/where_clause_missing_hooks.rs --------- Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for c4b2db5 - Browse repository at this point
Copy the full SHA c4b2db5View commit details -
implemented
contains_prefix
for StorageDoubleMap and StorageNMap (p……aritytech#13232) * implemented `contains_prefix` for StorageDoubleMap and StorageNMap Signed-off-by: muraca <mmuraca247@gmail.com> * match prefix to next_key Signed-off-by: muraca <mmuraca247@gmail.com> * warning unexpected behaviour with empty keys Signed-off-by: muraca <mmuraca247@gmail.com> * clarifications for unhashed::contains_prefixed_key Signed-off-by: muraca <mmuraca247@gmail.com> * added tests for StorageNMap Signed-off-by: muraca <mmuraca247@gmail.com> --------- Signed-off-by: muraca <mmuraca247@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b2b2e65 - Browse repository at this point
Copy the full SHA b2b2e65View commit details -
Calling proxy doesn't remove announcement (paritytech#13267)
* Calling proxy doesn't remove announcement * Update frame/proxy/src/tests.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * fmt --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3bc3742 - Browse repository at this point
Copy the full SHA 3bc3742View commit details
Commits on Feb 2, 2023
-
Fee and tip represented as asset ID inside
AssetTxFeePaid
(parityte……ch#13083) * fee & tip in the asset ID Balance type * docs * rewrite * update runtime config * docs
Configuration menu - View commit details
-
Copy full SHA for 68d00e2 - Browse repository at this point
Copy the full SHA 68d00e2View commit details -
Move beefy-merkle-tree to utils/binary-merkle-tree and make it generic (
paritytech#13076) * move BeefyMmrApi to pallet-beefy-mmr * fix test_utils use pallet-beefy-mmr BeefyMmrApi * Move beefy-merkle-tree to utils and Rename to Merkle-tree * fix fmt and test * Update merkle-tree to binary-merkle-tree and Remove Keccak256 mod from merkle-tree * change merkle-tree name to binary-merkle-tree * mirr fix
Configuration menu - View commit details
-
Copy full SHA for 5d0867c - Browse repository at this point
Copy the full SHA 5d0867cView commit details -
Metadata V15: Derive
TypeInfo
for describing runtime types (parityt……ech#13272) * scale_info: Derive TypeInfo for types present in runtime API Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * cargo: Update Cargo.lock Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for a69a08e - Browse repository at this point
Copy the full SHA a69a08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c00c90 - Browse repository at this point
Copy the full SHA 9c00c90View commit details -
Minor: Update output validity tests (paritytech#13190)
* Minor: Update output validity tests Quick follow-up to paritytech#13183. Mainly, I wanted to double check that the `test_return_max_memory_offset` test doesn't pass just because the output length is 0. I also: - Organized these tests into a module. - Added a comment explaining why we don't use the `wasm_export_functions` macro. * Update test based on review comment
Configuration menu - View commit details
-
Copy full SHA for 83de509 - Browse repository at this point
Copy the full SHA 83de509View commit details
Commits on Feb 3, 2023
-
BEEFY: define on-chain beefy-genesis and use it to coordinate voter i…
…nitialization (paritytech#13215) * beefy: add support to configure BEEFY genesis * client/beefy: more flexible test runtime api * client/beefy: add tests for custom BEEFY genesis * client/beefy: ignore old state that didn't account for pallet genesis * client/beefy: fix clippy * frame/beefy: default BEEFY-genesis is block One::one() * frame/beefy: add extra doc comments --------- Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 1d67b0f - Browse repository at this point
Copy the full SHA 1d67b0fView commit details -
feat: add event SkepticsChosen event in society (paritytech#13291)
* feat: add event SkepticsChosen event in society * feat: add test for SkepticsChosen event
Configuration menu - View commit details
-
Copy full SHA for 12823c2 - Browse repository at this point
Copy the full SHA 12823c2View commit details -
feat(client): significantly increase wasm instance limits (paritytech…
…#13298) Following paritytech#11949, this PR will allow parachains with runtimes bigger than Kusama to use the pooling strategy.
Configuration menu - View commit details
-
Copy full SHA for 09ae0e0 - Browse repository at this point
Copy the full SHA 09ae0e0View commit details -
Remove in-tree bounded types and use bounded-collections crate (parit…
…ytech#13243) * Remove in-tree bounded types and use bounded-collections crate * Fixes * Bump bounded-collections version * cargo fmt * Bump bounded-collections * Only export non-bounded types at the top level * Fixes * Bump bounded-collections
Configuration menu - View commit details
-
Copy full SHA for 8186c51 - Browse repository at this point
Copy the full SHA 8186c51View commit details
Commits on Feb 5, 2023
-
update linregress in frame-benchmarking to 0.5.1 (paritytech#13310)
* update nalgebra in frame-benchmarking to 0.5.0 * upgrade to 0.5.1 to incorporate upstream fix in linregress
Configuration menu - View commit details
-
Copy full SHA for dfc9223 - Browse repository at this point
Copy the full SHA dfc9223View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 727b487 - Browse repository at this point
Copy the full SHA 727b487View commit details -
[client/network] remove peer entry from
ephemeral_addresses
(parity……tech#13084) * [client/network] remove peer entry from `ephemeral_addresses` if there are no addresses associated with that peer * refactor as per @bkchr suggestion paritytech#13084 (comment) * add missing import * fix error
Configuration menu - View commit details
-
Copy full SHA for 550e6a1 - Browse repository at this point
Copy the full SHA 550e6a1View commit details -
rpc-spec-v2/tx: Fix error typo (paritytech#13307)
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Configuration menu - View commit details
-
Copy full SHA for f5e370d - Browse repository at this point
Copy the full SHA f5e370dView commit details -
BEEFY: client support for detecting equivocated votes (paritytech#13285)
* client/beefy: detect equivocated votes * client/beefy: make sure to persist state after voting * client/beefy: drop never-used aux-schema v2 migration * impl review suggestion --------- Signed-off-by: Adrian Catangiu <adrian@parity.io>
Configuration menu - View commit details
-
Copy full SHA for 51cf2e7 - Browse repository at this point
Copy the full SHA 51cf2e7View commit details -
Bump
wasmtime
to 5.0.0 (and a few other deps) (paritytech#13160)* Bump `wasmtime` to 4.0.0 (and a few other deps) * Use `Error::msg` instead of `anyhow!` * Bump `wasmtime` to 5.0.0 * Update `Cargo.lock` * Add `wasmtime` feature to `sp-wasm-interface` dependency
Configuration menu - View commit details
-
Copy full SHA for 47ecdb6 - Browse repository at this point
Copy the full SHA 47ecdb6View commit details -
Fix: Off-chain-worker example (paritytech#13300)
* fix: divider * update comment
Configuration menu - View commit details
-
Copy full SHA for fe7f0a9 - Browse repository at this point
Copy the full SHA fe7f0a9View commit details -
Rename
pallet-random-collective-flip
to Insecure... (paritytech#13301)* Rename pallet-random-collective-flip to Insecure... Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Configuration menu - View commit details
-
Copy full SHA for dd4497d - Browse repository at this point
Copy the full SHA dd4497dView commit details
Commits on Feb 7, 2023
-
zombienet
: warp-sync tests for validators (paritytech#13078)* zombienet validators warp sync draft Sketch of warp-sync test for validators. Not tested. Follow-up of: paritytech#12769 * yet another warp-sync scenario added - all validators are synced from DB, - some full nodes are synced from DB, - full-node is warp-synced * fixes * fixes * missing files * path fixed --------- Co-authored-by: parity-processbot <>
Configuration menu - View commit details
-
Copy full SHA for 41ae908 - Browse repository at this point
Copy the full SHA 41ae908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d60070 - Browse repository at this point
Copy the full SHA 3d60070View commit details -
Configuration menu - View commit details
-
Copy full SHA for b549d2b - Browse repository at this point
Copy the full SHA b549d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c3e5e - Browse repository at this point
Copy the full SHA 38c3e5eView commit details
Commits on Feb 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 35b971a - Browse repository at this point
Copy the full SHA 35b971aView commit details -
Referendum proposal's metadata (paritytech#12568)
* referenda metadata * todo comment * remove TODO, update rustdocs * referenda clear_metadata origin signed or root * referenda metadata unit tests * drop schema type for referenda metadata * remove metadata type * referenda metadata benches * note different preimages * metadata for democracy pallet * metadata democracy pallet tests and benches * fix cargo clippy * update docs * ".git/.scripts/bench-bot.sh" pallet dev pallet_democracy * ".git/.scripts/bench-bot.sh" pallet dev pallet_referenda * Update the doc frame/democracy/src/lib.rs Co-authored-by: Roman Useinov <roman.useinov@gmail.com> * Update the doc frame/democracy/src/lib.rs Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com> * reference instead clone for take Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com> * error rename BadMetadata to PreimageNotExist * clear metadata within internal_cancel_referendum fn * remove redundant clone * collapse metadata api into one set_metadata method * fmt * review fixes * not request preimage on set_metadata * rename events and update docs * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_democracy * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_referenda * rename reset_metadata to transfer_metadata --------- Co-authored-by: command-bot <> Co-authored-by: Roman Useinov <roman.useinov@gmail.com> Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f16448 - Browse repository at this point
Copy the full SHA 2f16448View commit details -
Improve test coverage of the
Notifications
protocol (paritytech#13033)* Add handler and upgrade tests * Add tests for `behaviour.rs` * Apply review comments * Update dependencies * Apply suggestions from code review Co-authored-by: Dmitry Markin <dmitry@markin.tech> * Apply review comments * Fix clippy * Update mockall * Apply review comment --------- Co-authored-by: Dmitry Markin <dmitry@markin.tech>
Configuration menu - View commit details
-
Copy full SHA for 2a636e2 - Browse repository at this point
Copy the full SHA 2a636e2View commit details -
Configurable voting-degree in council elections pallet (paritytech#13305
) * configurable council elections pallet * configurable council elections pallet * add warning * reduce sizes * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_elections_phragmen * fix stuff * make assert * fix docs * fix docs again * fix docs again * Update frame/elections-phragmen/src/lib.rs Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> * Update frame/elections-phragmen/src/lib.rs Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> * Update frame/elections-phragmen/src/lib.rs Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> * fix docs --------- Co-authored-by: command-bot <> Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6a504b0 - Browse repository at this point
Copy the full SHA 6a504b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f72780 - Browse repository at this point
Copy the full SHA 6f72780View commit details
Commits on Feb 9, 2023
-
pallet-scheduler: Ensure we request a preimage (paritytech#13340)
* pallet-scheduler: Ensure we request a preimage The scheduler was not requesting a preimage. When a preimage is requested, a user can deposit it without paying any fees. * Review changes
Configuration menu - View commit details
-
Copy full SHA for 0d611e0 - Browse repository at this point
Copy the full SHA 0d611e0View commit details -
[Fix] Try-state feature-gated for BagsList (paritytech#13296)
* [Fix] Try-state feature-gated for BagsList * fix comment * fix try_state remote-tests * feature-gate try-state remote test for bags-list * remove try-state from a migration * more SortedListProvider fixes * more fixes * more fixes to allow do_try_state usage in other crates * do-try-state for fuzz * more fixes * more fixes * remove feature-flag * do-try-state * fix review comments * Update frame/bags-list/src/mock.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> --------- Co-authored-by: parity-processbot <> Co-authored-by: Anton <anton.kalyaev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2ced413 - Browse repository at this point
Copy the full SHA 2ced413View commit details
Commits on Feb 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6e9c7ea - Browse repository at this point
Copy the full SHA 6e9c7eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4516910 - Browse repository at this point
Copy the full SHA 4516910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fc433 - Browse repository at this point
Copy the full SHA 41fc433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 722ccad - Browse repository at this point
Copy the full SHA 722ccadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21d58f6 - Browse repository at this point
Copy the full SHA 21d58f6View commit details
Commits on Feb 11, 2023
-
Fix longest chain finalization target lookup (paritytech#13289)
* Finalization target should be chosed as some ancestor of SelectChain::best_chain * More test assertions * Improve docs * Removed stale docs * Rename 'target' to 'base' in lookup method * Fix typo * Apply suggestions from code review Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> * Rename 'target_hash' to 'base_hash' in 'SelectChain::finality_target()' * Apply suggestions from code review Co-authored-by: Anton <anton.kalyaev@gmail.com> * Docs improvement * Doc fix * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Apply more code suggestions --------- Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by: Anton <anton.kalyaev@gmail.com> Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for ccd768f - Browse repository at this point
Copy the full SHA ccd768fView commit details
Commits on Feb 12, 2023
-
SetMembers configurable origin (paritytech#13159)
* SetMembers configurable origin * root origin comment replaced * fmt
Configuration menu - View commit details
-
Copy full SHA for 11bd6cd - Browse repository at this point
Copy the full SHA 11bd6cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for be72387 - Browse repository at this point
Copy the full SHA be72387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22c1a15 - Browse repository at this point
Copy the full SHA 22c1a15View commit details