This repository was archived by the owner on May 22, 2023. It is now read-only.
forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since it's already there, why not give it a chance :P
* name reward amount * Fix
* Do not call `initialize_block` before any runtime api Before this change we always called `initialize_block` before calling into the runtime. There was already support with `skip_initialize` to skip the initialization. Almost no runtime_api requires that `initialize_block` is called before. Actually this only leads to higher execution times most of the time, because all runtime modules are initialized and this is especially expensive when the block contained a runtime upgrade. TLDR: Do not call `initialize_block` before calling a runtime api. * Change `validate_transaction` interface * Fix rpc test * Fixes and comments * Some docs
…ech#9238) * Implement `iter_keys` function for all types of storage maps * Remove draining iterator API * Rename associated key iterator types * Simplify iteration code * add test for `iter_keys().drain()` Co-authored-by: Shawn Tabrizi <[email protected]>
* implement InspectEnumerable in pallet_uniques * use `iter_keys` and `iter_key_prefix` * return an iterator instead of constructing a vec * update comments * additional warning about storage reads Co-authored-by: Shawn Tabrizi <[email protected]>
* add simnet tests * add link to bracap presentation of simnet * add link to bracap presentation of simnet * rm not needed file
A prometheus "server" typically refers to the prometheus process running on a central server which connects to various prometheus "exporters" and collects metrics. What is implemented here in substrate is a prometheus exporter. This patch fixes the associated log message to avoid confusion for new users.
* Add `Chilled` event to staking chill extrinsics * Update do_remove_{nom, val} doc comments * Not working: trying to match on event * Account for chilled event in offences benchmarking * trigger ci * correct
* Less duplication * Const Co-authored-by: Bastian Köcher <[email protected]> * less comments Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
…ch#9246) * always implement storage info on Pallet * fix UI test * Fold span computation into trait and method computation Co-authored-by: Keith Yeung <[email protected]>
* bump a bunch of deps in parity-common * primitive-types 0.10.0 * update Cargo.lock * downgrade a few more * this is unlikely to help * try something * Checkmate, Atheists!
…stead (paritytech#9163) * Update impl-codec to use new upstream MaxEncodedLen trait * Adapt crates to use the updated codec crate for `MaxEncodedLen` * Remove max-encoded-len crate altogether * Fix test compilation in `pallet-proxy` * reorganize import (paritytech#9186) * Fix remaining `MaxEncodedLen` imports * Fix remaining old usages of max-encoded-len crate * Fix UI test * Manually depend on new impl-codec to fix Polkadot companion build * Use newly released primitive-types v0.9.1 that has new codec impls * Make sure codec deps are up-to-date in crates that use them Co-authored-by: Guillaume Thiolliere <[email protected]>
…itytech#9279) * use genesis build * format
…ech#9271) * Removed score and compute from set_emergency_election_result * Supports type incorrectly set to A * Typo
…tech#9277) * Add function for embedding the runtime version in a wasm blob This function can be used to add the custom section to a wasm blob with the runtime version in it. * Review nitpick
* build: fix deprecated stdenv.lib in nix shell * build: fix libclang_path in nix shell * build: update rust toolchain in nix shell
* change reference module to pallet * fix inner doc Co-authored-by: thiolliere <[email protected]>
* Docs changes to improve clarity Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
* Allow the allocator to track the heap changes. * fix build * review comments * Update client/allocator/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]> * Update client/allocator/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
* move BlockNumberProvider * Update primitives/runtime/src/traits.rs * Update primitives/runtime/src/traits.rs Co-authored-by: Bastian Köcher <[email protected]>
* childstate_getKeysPaged rpc * Rename `v` to `iter`. * Update client/api/src/backend.rs Co-authored-by: Alexander Popiak <[email protected]> * Update client/api/src/backend.rs Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
214e4ff
to
5b5dddf
Compare
2c15d54
to
5c3d9d7
Compare
5c3d9d7
to
651233c
Compare
3e88750
to
bee6e0e
Compare
MRamanenkau
commented
Oct 7, 2022
MRamanenkau
commented
Oct 7, 2022
c5d511e
to
098a35c
Compare
AndreiNavoichyk
previously approved these changes
Oct 17, 2022
The base branch was changed.
AndreiNavoichyk
approved these changes
Dec 1, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.