- Apr 06, 2021
-
-
Gavin Wood authored
* Bump codec. * Bump codec-derive * Remove FullCodec bound on Call
-
Sergey Pepyakin authored
* Establish the runtime_blob module Seed it with the existing contents of the `util` module. * Port wasmtime mutable globals instrumentation into runtime blob APIs * Opt-out from fast instance reuse * Minor clean up * Spaces * Docs clean up * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Factor out the expects * Fix the suggestion Co-authored-by: Bastian Köcher <[email protected]>
-
Gavin Wood authored
* Fix account ref-counting in session. * Avoid needless check * fix compile * put back in check and conversion * Fix test to actually catch this error Co-authored-by: Shawn Tabrizi <[email protected]>
-
Vladimir Istyufeev authored
-
Bastian Köcher authored
-
Pierre Krieger authored
-
Arkadiy Paronyan authored
* Revert "Fixes `storage_hash` caching issue and enables better caching for Cumulus (#8518)" This reverts commit 85eef08bf23453a06758acbb4b17068ca982b8a2. * Fix reverting storage_hash * Restore test
-
Alexander Popiak authored
* add more notes on changing epoch duration * add note about changing slot duration
-
- Apr 05, 2021
-
-
Liu-Cheng Xu authored
* Add some trivial improvements * Finish primitives/runtime
-
Pierre Krieger authored
* Clean up log levels in sc_network * Fix imports
-
Pierre Krieger authored
-
Kian Paimani authored
* Add nominators option to chain-spec-builder * Update bin/utils/chain-spec-builder/src/main.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 04, 2021
-
-
Bastian Köcher authored
To make the life of people easier ;)
-
- Apr 03, 2021
-
-
Arkadiy Paronyan authored
* Fixed restoring state-db journals on startup * Improved documentation a bit * Update client/state-db/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Keith Yeung authored
* Properly declare errors in pallets that use decl_module * Remove extra error type declaration
-
Caio authored
-
- Apr 02, 2021
-
-
Bastian Köcher authored
* Fixes `storage_hash` caching issue and enables better caching for Cumulus There was a caching issue with `storage_hash` that resulted in not reverting cached storage hashes when required. In Cumulus this resulted in nodes failing to import new blocks after a runtime upgrade, because they were using the old runtime version. Besides that, this pr optimizes for the Cumulus use case. In particular that we always import blocks first as non-best blocks and enact them later. In current version of the caching that would mean we would always throw away the complete cache of the latest imported block. Now, we always update the cache for the first block of a new block height. This enables us to use the cache if this block will enacted as best block later. If there is a fork and that is enacted as best, we revert all the changes to the cache. * Apply suggestions from code review Co-authored-by: Arkadiy Paronyan <[email protected]> * Indentation * Update client/db/src/storage_cache.rs Co-authored-by: André Silva <[email protected]> Co-authored-by: Arkadiy Paronyan <[email protected]> Co-authored-by: André Silva <[email protected]>
-
ordian authored
-
Pierre Krieger authored
* Another tweak to GrandPa warp sync * Rename to WarpSyncFragment * Ensure proof is minimal
-
- Apr 01, 2021
-
-
Bastian Köcher authored
-
ferrell-code authored
* tests for assets * Update frame/assets/src/tests.rs Co-authored-by: Bastian Köcher <[email protected]> * Update frame/assets/src/tests.rs Co-authored-by: Bastian Köcher <[email protected]> * add force asset status check * remove TODO * actually remove TODO * add force asset status tests Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
* Add a feedback when response is successfully sent * Fix gp warp sync
-
Keith Yeung authored
* Make use of PrefixIterator underneath Storage[Key]Iterator * Add ChildTriePrefixIterator and methods * Add documentation on ChilTriePrefixIterator fields * Deprecate Storage[Key]Iterator API instead of removing them * Allow fetching for the prefix as an option for ChildTriePrefixIterator * Rename prefix_fetch to fetch_previous_key * fix implementation + test * make gitdiff better * Add test for storage_iter and storage_key_iter Co-authored-by: thiolliere <[email protected]>
-
Gavin Wood authored
* Introduce OnSetCode type into system config trait. * Docs. * Fixes * Fixes
-
André Silva authored
* grandpa: always store justification for best finalized block * grandpa-warp-sync: add latest justification when finished proving * grandpa-warp-sync: change logic for sending best justification when finished * grandpa: test storing best justification * grandpa: reorder variants in WarpSyncFinished
-
- Mar 31, 2021
-
-
Yuanchao Sun authored
session key.
-
Arkadiy Paronyan authored
* Fixed sync missing some block announcements * Apply suggestions from code review Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Andrew Jones authored
* tmp add upgrade file * Migrate pallet-indices to `pallet!` * Delete temp upgrade file * Fix some migration errors * Fix some warnings * Add serde bound, explicit balance type * Module -> Pallet
-
Arkadiy Paronyan authored
* Duplicate logging to stdout * Update client/tracing/src/logging/event_format.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Arkadiy Paronyan authored
-
- Mar 30, 2021
-
-
André Silva authored
* client: rename variables * client: fix justifications migration * client: fix compilation
-
Kian Paimani authored
* helper macro to create storage types on the fly * Update frame/support/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * update lock * fix test; * Fix line width Co-authored-by: Alexander Popiak <[email protected]>
-
Bastian Köcher authored
* Make grandpa work * Introduce `SharedData` * Add test and fix bugs * Switch to `SharedData` * Make grandpa tests working * More Babe work * Make it async * Fix fix * Use `async_trait` in sc-consensus-slots This makes the code a little bit easier to read and also expresses that there can always only be one call at a time to `on_slot`. * Make grandpa tests compile * More Babe tests work * Fix network test * Start fixing service test * Finish service-test * Fix sc-consensus-aura * Fix fix fix * More fixes * Make everything compile *yeah* * Fix build when we have Rust 1.51 * Update client/consensus/common/src/shared_data.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/common/src/shared_data.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/common/src/shared_data.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/common/src/shared_data.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/common/src/shared_data.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/babe/src/tests.rs Co-authored-by: André Silva <[email protected]> * Update client/consensus/babe/src/tests.rs Co-authored-by: André Silva <[email protected]> * Fix warning Co-authored-by: André Silva <[email protected]>
-
Bastian Köcher authored
This is not really required and having a special `test-helpers` feature is a bad idea anyway.
-
- Mar 29, 2021
-
-
Jimmy Chu authored
Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
Sukhveer Sanghera authored
* Add Social Network * Remove TNET * Update ss58-registry.json * Update ss58-registry.json * Update ss58-registry.json * Add back comment Co-authored-by: everhusk <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Github Actions <[email protected]>
-
Bastian Köcher authored
* Prepare UI tests for Rust 1.51 & new CI image * another stderr to be fixed Co-authored-by: Denis P <[email protected]>
-
Jimmy Chu authored
Co-authored-by: Kian Paimani <[email protected]>
-
Steve Biedermann authored
* Combine SnapshotConfig string fields name and directory into single PathBuf field named path * Update Cargo.lock * fix test build failure
-
Kian Paimani authored
* Bring back the on_finalize weighg of stakin. * Better logs * Also make a few things pub * Fix build * Add assertions * Add test. * remove dbg * Update frame/election-provider-multi-phase/src/unsigned.rs * Update frame/staking/src/tests.rs * Fix * Fix * Update frame/election-provider-multi-phase/src/unsigned.rs
-