- Sep 07, 2021
-
-
Sergejs Kostjucenko authored
-
Qinxuan Chen authored
* Migrate pallet-membership to new pallet attribute macro Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Add migrations Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * more general Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * fix event metadata Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * some nits Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * fix some nits Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * apply suggestion Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * some nits Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Remove useless Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix migration Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix format Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix migration now we need to store the new version manually. * Fix migration and Add migration test Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix format Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Use new_test_ext Signed-off-by:
koushiro <koushiro.cqx@gmail.com> Co-authored-by:
thiolliere <gui.thiolliere@gmail.com>
-
Bastian Köcher authored
* SimpleSlotWorker make `claim_slot` async * FMT
-
- Sep 06, 2021
-
-
Shawn Tabrizi authored
* introduce benchmark skip * fmt * Update lib.rs * fix up
-
Alexander Theißen authored
* Remove storage rent * Add storage migration * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Add migration for deletetion queue * Fix compilation * Increase gas supplied to out_of_gas to be sure that it won't deplete too early * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by:
Parity Bot <admin@parity.io>
-
Alexander Theißen authored
* Add erc20 benchmarks * Fix typos Co-authored-by:
Michael Müller <michi@parity.io> * Fix compilation issue on case sensitive fs Co-authored-by:
Michael Müller <michi@parity.io>
-
cheme authored
* reset cache when storage possibly change (fix init of tests). * remove backend_storage_mut * fix warn * remove remaining backend_storage_mut
-
Alexander Theißen authored
* Don't allow failure for cargo fmt * cargo fmt
-
Arkadiy Paronyan authored
* Fixed block response limit check * Fixed start block detection and added a test * Missing test
-
- Sep 04, 2021
-
-
Squirrel authored
* sp-utils => sc-utils * cargo fmt * These files are now in the client so should be licensed as GPL3 * Apply suggestions from code review Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Zeke Mostov authored
* Simplify stake map creation in `OnChainSequentialPhragmen::elect` * Use or_else * More or_else * trivial; * revert
-
- Sep 03, 2021
-
-
Michael Müller authored
* Remove dead file * Remove leftover license header
-
- Sep 02, 2021
-
-
Xiliang Chen authored
* Add VoteLocking config Co-authored-by:
Alexander Popiak <alexander.popiak@gmail.com>
-
Andreas Doerr authored
-
thiolliere authored
-
Keith Yeung authored
* Generate storage info for aura pallet * Add MaxAuthorities to node-template aura pallet config * Fix compilation errors on node-template * Use WeakBoundedVec instead of BoundedVec * Improve comment on BoundedSlice's EncodeLike impl Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Bump MaxAuthorities count to 32 for node template * cargo fmt * cargo fmt Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com>
-
- Sep 01, 2021
-
-
Bastian Köcher authored
As we have removed the feature for now, we don't need this here as well. Co-authored-by:
Giles Cope <gilescope@gmail.com>
-
Squirrel authored
* Update contrib docs to reflect simplified process Co-authored-by:
Andronik Ordian <write@reusable.software>
-
- Aug 31, 2021
-
-
Chevdor authored
* doc: convert the adoc to md * add ref to UncheckedExtrinsic * Add references to the SS58 format * Add details about the inspect command * removing command that is no longer available * reorder display so ss58 representations show up next to each other * remove deprecated section * Add doc about the password option * fix fmt * minor fixes fix #6613 Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by:
Squirrel <gilescope@gmail.com> Co-authored-by:
David <dvdplm@gmail.com>
-
thiolliere authored
-
Nazar Mokrynskyi authored
-
Alexander Theißen authored
-
- Aug 30, 2021
-
-
Qinxuan Chen authored
* Add methods param for RPC state_traceBlock Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * rename event_values_filter arg Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Add some doc Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Add some doc Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * Fix doc Signed-off-by:
koushiro <koushiro.cqx@gmail.com> * format Signed-off-by:
koushiro <koushiro.cqx@gmail.com>
-
Georges authored
* Migrate Aura pallet to BoundedVec Implementing issue #8629 * Fixed aura tests after BoundedVec change * Moved Vec to BoundedVec in authority-discovery * Merging into the main branch * Added MaxEncodedLen to crypto Need this without full_crypto to be able to add generate_store_info * Add generate_store_info for aura * Adding changes to Slot to add MaxEncodedLen * Adding generate_store_info to authority discovery * fmt * removing panics in runtime if vec size too large * authority-discovery: Remove panics in runtime Can happen if vec size is too large, so truncate the vec in that case * Adding logging when I truncate Vecs * Got the sign the other way around * Reverting pallet_aura changes This is already being addressed by PR #9371 * Change BoundedVec to WeakBoundedVec More robust implementation following @thiolliere recommendation. Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- Aug 29, 2021
-
-
Xiliang Chen authored
* improve decode for UncheckedExtrinsic * fmt
-
- Aug 27, 2021
-
-
thiolliere authored
* fix benchmark writer * update doc to show the more general implementation
-
thiolliere authored
-
Qinxuan Chen authored
Signed-off-by:
koushiro <koushiro.cqx@gmail.com>
-
Karel L. Kubat authored
* implement Add, Sub, CheckedAdd, CheckedSub, SaturatingAdd, SaturatingSub for Perthings * ifx inner >= max bug * move arithmetic impl to main macro block * implement CheckedMul for Perthings * incorporate feedback Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- Aug 26, 2021
-
-
Joshy Orndorff authored
-
Shawn Tabrizi authored
* make events private * "i know what i am doing" * feedback
-
Amar Singh authored
* add more errors for check attributes in npos elections solution type * revert local env * return Ok false if there are no attributes * fmt * Update primitives/npos-elections/solution-type/src/lib.rs Co-authored-by:
Squirrel <gilescope@gmail.com> * Update primitives/npos-elections/solution-type/src/lib.rs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> * Update primitives/npos-elections/solution-type/src/lib.rs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> * Update primitives/npos-elections/solution-type/src/lib.rs * improve span by giving extra attribute, nightly fmt * fix test to test new error msg Co-authored-by:
Squirrel <gilescope@gmail.com> Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
-
thiolliere authored
* improve doc * fmt
-
- Aug 25, 2021
-
-
Shawn Tabrizi authored
* expose storage prefix generation, remove duplicate code * remove more duplicate code * clean up import * fix io test * remove slicing * Update frame/support/src/storage/mod.rs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
-
Alexander Theißen authored
* Embed wasmi into the runtime * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by:
Parity Benchmarking Bot <admin@parity.io>
-
Shaun Wang authored
* pallet-proxy: emit events on proxy added. * Apply review suggestions.
-
Bastian Köcher authored
The old implementation was listening for storage changes and every time a block changed the `CODE` storage field, it checked if the runtime version changed. It used the best block to compare against the latest known runtime version. It could happen that you processed the storage notification of block Y and checked the runtime version of block X (the current best block). This is also what happened on parachains. Parachains import blocks and set the new best block in a later step. This means we imported the block that changed the code, got notified and checked the runtime version of the current best block (which would still be the parent of the block that changed the runtime). As the parent did not changed the runtime, the runtime version also did not changed and we never notified the subscribers. The new implementation now switches to listen for best imported blocks. Every time we import a new best block, we check its runtime version against the latest known runtime version. As we also send a notification when the parachains sets a block as new best block, we will trigger this code path correctly. It moves some computation from checking if the key was modified to getting the runtime version. As fetching the runtime version is a rather common pattern, it should not make any big difference performancewise.
-
- Aug 24, 2021
-
-
Bastian Köcher authored
* Upgrade tokio to 1.10 * Fix test runner * Try fix it * Update Cargo.lock * Review feedback * ahhhh * FML * FMT * Fix tests
-
Tomasz Drwięga authored
* Better RPC prometehus metrics. * Add session metrics. * Add counting requests as well. * Fix type for web build. * Fix browser-node * Filter out unknown method names. * Change Gauge to Counters * Use micros instead of millis. * cargo fmt * Update client/rpc-servers/src/lib.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * move log to separate lines. * Fix compilation. * cargo +nightly fmt --all Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Vladimir Istyufeev authored
-