- Sep 09, 2021
-
-
Zeke Mostov authored
* build the template, hand it over to zeke now. * Tests working * save wip * Some updates * Some cleanup * mo cleanin * Link to issue * Apply suggestions from code review Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Apply suggestions from code review Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Bound accuracy for prepare_election_result * Use npos_election::Error for phragmms * save * Apply suggestions from code review * Simplify test to use Balancing::set * Cargo.lock after build * Revert "Cargo.lock after build" This reverts commit 7d726c8efa687c09e4f377196b106eb9e9760487. * Try reduce cargo.lock diff * Update bin/node/runtime/src/lib.rs * Comment * Apply suggestions from code review * Set balancing directly * Document som pub items * Update frame/election-provider-multi-phase/src/unsigned.rs * Apply suggestions from code review Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Improve some comments * Revert accidental change to random file * tiney * revert Co-authored-by:
kianenigma <kian@parity.io> Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [zeroize](https://github.com/iqlusioninc/crates) from 1.2.0 to 1.4.1. - [Release notes](https://github.com/iqlusioninc/crates/releases) - [Commits](https://github.com/iqlusioninc/crates/compare/zeroize/v1.2.0...zeroize/v1.4.1) --- updated-dependencies: - dependency-name: zeroize dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.6.5 to 0.6.6. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.5...0.6.6) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
girazoki authored
* Add setter configurable only fior benchmarking or tests * Update primitives/runtime/src/traits.rs Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
Bastian Köcher authored
* Remove the last bits of unknown_os in the code base * Fmt
-
- Sep 07, 2021
-
-
cheme authored
* fix no child proof attached but root included. * small stress test for proof of child tries. * rust fmt
-
- Sep 06, 2021
-
-
cheme authored
* reset cache when storage possibly change (fix init of tests). * remove backend_storage_mut * fix warn * remove remaining backend_storage_mut
-
- 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>
-
- Sep 02, 2021
-
-
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>
-
- Aug 31, 2021
-
-
Nazar Mokrynskyi 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
-
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
-
-
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>
-
- Aug 25, 2021
-
-
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>
-
- Aug 24, 2021
-
-
Bastian Köcher authored
Before we fetched the runtime code from the `TrieBackend` and this lead to not using the storage cache. Thus, we recalculated the storage hash for the runtime code on every call into the runtime and this killed the performance on parachains block authoring. The solution is to fetch the runtime code from the storage cache, to make sure we use the cached storage cache.
-
- Aug 18, 2021
-
-
Ashley authored
* Split native executor stuff from wasm executor stuff * Remove `native_runtime_version` in places * Fix warning * Fix test warning * Remove redundant NativeRuntimeInfo trait * Add a warning for use_native * Run cargo fmt * Revert "Add a warning for use_native" This reverts commit 9494f765a06037e991dd60524f2ed1b14649bfd6. * Make choosing an executor (native/wasm) an explicit part of service construction * Add Cargo.lock * Rename Executor to ExecutorDispatch * Update bin/node/executor/src/lib.rs Co-authored-by:
Squirrel <gilescope@gmail.com> * Fix tests * Fix minor node-executor error * Fix node cli command thing Co-authored-by:
Squirrel <gilescope@gmail.com>
-
- Aug 17, 2021
-
-
David authored
* Comment out browser stuff * Remove browser stuff * Remove more wasm transport code * Remove ExtTransport and rework how telemetry initialises. * Change (most) wasm-timer using code to use std::time * Rename CI-job * Aura does not compile for wasm * Remove testing in the browser on CI * Update README * Leave `StreamSink` be * fmt
-
- Aug 16, 2021
-
-
Trevor Arjeski authored
* RUSTSEC-2021-0076 bump libsecp256k1 libsecp256k1 allows overflowing signatures https://rustsec.org/advisories/RUSTSEC-2021-0076 Changes were made to conform to libsecp256k1 version differences. Closes #9356 * parse_standard_slice() -> parse_overflowing_slice() * Added v2 host function for ecdsa_verify * Add feature tag over helpers * Added ecdsa_verify v2 to test runner * PR feedback - Spaces -> tabs - renamed two helper functions * Fixed imports after rebasing * Bump rest of libsecp256k1 (and libp2p) libp2p also uses libsecp256k1 so it is required to be bumped too, along with all the version difference changes. * Add version2 for ecdsa pubkey recovery * libp2p rebase master fixes * Fix test panic when non Behaviour event is returned * Update bin/node/browser-testing/Cargo.toml * Update primitives/core/src/ecdsa.rs * Update primitives/core/src/ecdsa.rs * Update Cargo.lock Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- Aug 13, 2021
-
-
Squirrel authored
Remove unneeded dependencies and dev-dependencies. Made self_destruct test not dependent on wasm bin size. Updated code related to deprecated warning on tracing-subscriber `scope()` ( See https://github.com/tokio-rs/tracing/issues/1429 )
-
- Aug 12, 2021
-
-
Alexander Theißen authored
* Stableize `seal_debug_message` * Update changelog * Enable more tests * Cargo fmt
-
- Aug 11, 2021
-
-
Kian Paimani authored
* Partially applied * Everything builds, need to implement compact encoding as well. * Fix some tests, add a ui test as well. * Fix everything and everything. * small nits * a bunch more rename * more reorg * more reorg * last nit of self-review * Seemingly fixed the build now * Fix build * make it work again * 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> * nits * factor out double type * fix try-build Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
-
Kian Paimani authored
* reformat everything again * manual formatting * last manual fix * Fix build
-
Chevdor authored
* remove dependency that is no longer required * remove unused deps
-
- Aug 10, 2021
-
-
Bastian Köcher authored
Actually this will cost us another allocation, but before this wasn't really safe. Assuming that we only need `size_of` bytes for the encoding of the tx could have ended with an invalid encoding.
-
Ashley authored
* Split native executor stuff from wasm executor stuff * Remove `native_runtime_version` in places * Fix warning * Fix test warning * Remove redundant NativeRuntimeInfo trait * Add a warning for use_native * Run cargo fmt * Revert "Add a warning for use_native" This reverts commit 9494f765a06037e991dd60524f2ed1b14649bfd6.
-
- Aug 09, 2021
-
-
Marek Kotewicz authored
* implement "auto" database backend in client/db, in progress, #9201 * move fn supports_ref_counting from DatabaseSource enum to Database trait to make it work correctly for all types of dbs * update kvdb_rocksdb to 0.13 and use it's new config feature to properly auto start existing database * tests for auto database reopening * introduce OpenDbError to cleanup opening database error handling and handle case when database is not enabled at the compile time * cargo fmt strings again * cargo fmt strings again * rename DataSettingsSrc to fix test compilation * fix the call to the new kvdb-rocksdb interdace in tests to fix compilation * simplify OpenDbError and make it compile even when paritydb and rocksdb are disabled * cargo fmt * fix compilation without flag with-parity-db * fix unused var compilation warning * support different paths for rocksdb and paritydb in DatabaseSouce::Auto * support "auto" database option in substrate cli * enable Lz4 compression for some of the parity-db colums as per review suggestion * applied review suggestions
-
Bastian Köcher authored
* Clarify how `ApiId` is being generated * Clarify more
-
- Aug 05, 2021
-
-
Arkadiy Paronyan authored
* Transaction storage guide and fixes * Apply suggestions from code review Co-authored-by:
Bruno Škvorc <bruno@skvorc.me> * Update frame/transaction-storage/README.md Co-authored-by:
Bruno Škvorc <bruno@skvorc.me> * Extended example Co-authored-by:
Bruno Škvorc <bruno@skvorc.me>
-
- Aug 04, 2021
-
-
Squirrel authored
* Removing wasm unused import warnings * cargo fmt
-
- Aug 03, 2021
-
-
thiolliere authored
* add test * refactor
-
Bastian Köcher authored
Before we used the `other` context, while we are actually either in the import or sync context.
-
- Aug 02, 2021
-
-
Arkadiy Paronyan authored
* Started warp sync * BABE & GRANDPA recovery * Warp sync protocol * Sync warp proofs first * Added basic documentation * Apply suggestions from code review Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * Style changes * Apply suggestions from code review Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * fmt * Apply suggestions from code review Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * Fixed chage trie pruning wrt missing blocks * Restore parent finalization * fmt * fmt * Revert pwasm-utils bump * Change error type & check API version * Apply suggestions from code review Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Build fix * Fixed target block check * Formatting Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
-
- Jul 30, 2021
-
-
Squirrel authored
* moved client code out of primitives * bump ci * Fixup from merge. * Removed unused deps thanks to review feedback * Removing unneeded deps * updating lock file * note about rustfmt * fixed typo to bump ci * Move lonely CacheKeyId to parent * cargo fmt * updating import style * Update docs/STYLE_GUIDE.md Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com>
-
- Jul 29, 2021
-
-
Squirrel authored
Apparently this should be rewritten when we need it again.
-
Bastian Köcher authored
* Improve `state` related logs to use a more uniform format The logging before wasn't that uniform and not that great to read/parse. Now we are using a uniform format for all the logs. Besides these changes, there are some minor changes around the code that calls the state machine. * Make CI happy * Use HexDisplay for `ext_id`
-
- Jul 28, 2021
-
-
dependabot[bot] authored
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.26 to 1.0.28. - [Release notes](https://github.com/alexcrichton/proc-macro2/releases) - [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.26...1.0.28) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jul 27, 2021
-
-
thiolliere authored
* make allocator limit available * better inner doc * move const * fmt Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-