- Mar 05, 2020
-
-
Benjamin Kampmann authored
This reduces the usage of `Blake2Hasher` in the code base and replaces it with `BlakeTwo256`. The most important change is the removal of the custom extern function for `Blake2Hasher`. The runtime `Hash` trait is now also simplified and directly requires that the implementing type implements `Hashable`.
-
- Mar 04, 2020
-
-
Benjamin Kampmann authored
* Adds test to verify that the runtime currently is always contained in the proof * Start passing the runtime wasm code from the outside * Fix compilation * More build fixes * Make the test work as expected now :) * Last fixes * Fixes benchmarks * Review feedback * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Review feedback * Fix compilation Co-authored-by: Sergei Pepyakin <[email protected]>
-
Benjamin Kampmann authored
* Forget peerstore nodes after 5mn * Bump to one hour * Also bump on rediscover
-
Benjamin Kampmann authored
-
Shawn Tabrizi authored
* Benchmark pallet * Add a bunch more benchmarks * do nothing test * new benchmarks * Clean up extra tests * Encode and Decode Vec<T::AccountId> * Starting to migrate benchmarks to macro * Use macro * Remove call and storage * Update Cargo.toml * Add storage recalc benchmark * Add support for custom functions in benchmark! macro * Reset DB for storage recalc * Feedback from review * Add more comments * Remove benchmark pallet from node * Fix cargo files * Fix comments * Change `crate` to `super` * missed one * Use results of benchmark encode/decode * Pass generic to extra functions * reset macro to master * Update lib.rs * Update to use standard syntax
-
Jakub Pánik authored
* Added subscribe_all_heads RPC function * Update client/rpc/src/chain/tests.rs Fixed style ( spacing ) Co-Authored-By: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Mar 03, 2020
-
-
Bastian Köcher authored
This updates `parity-scale-codec` to `1.2.0`, which includes multiple performance improvements and a fix that bounds the capacity of a vector at decoding.
-
Ashley authored
* Add a few things * Add finality_grandpa_round * fix fg tests * Nitpicks * Nitpicks * Fix name of prometheus crate
-
Bastian Köcher authored
This exposes memory statistics from the state-db.
-
- Mar 02, 2020
-
-
Bastian Köcher authored
* Make sure we remove peers on disconnect in gossip state machine * Clear up the code * Add a comment
-
Pierre Krieger authored
-
Pierre Krieger authored
-
pscott authored
* Make export blocks default to json on stdout * Multiline instead of single line to stay under 100 cols * Change --json flag to --binary, defaulting to json
-
- Feb 28, 2020
-
-
Ashley authored
* Start removing last few instances of futures01 * Use to_poll on wasm * Revert "Use to_poll on wasm" This reverts commit 1c61728f . * Fix fg test * Upgrade network test futures * Update offchain hyper version * Update service test * bump tokio to 0.2.10 * Removed some unneeded tokios * fixes * fix run_until_all_full * Make service test debuggable * Update client/offchain/src/api/http.rs Co-Authored-By: Demi Obenour <[email protected]> * Add service_test to test-int output * nitpicking * Finally fix test * Give up and revert client/serviec/test * Revert gitlab ci too Co-authored-by: Demi Obenour <[email protected]>
-
- Feb 27, 2020
-
-
Benjamin Kampmann authored
* Bump to alpha.3 * update gitlab-ci
-
Max Inden authored
This patch renames the crate for the following two reasons: 1. The prometheus-exporter crate introduces native in-process Prometheus style instrumentation to the Substrate project. Within the Prometheus ecosystem the term "exporter" is used for external processes exposing metrics for e.g. the Linux Kernel. In-process exposition would be described via the term "endpoint". 2. "prometheus-exporter" is generic and ignores the fact that it is only usable within the context of Substrate. In addition the name "prometheus-exporter" is already taken on crates.io.
-
Web3 Philosopher authored
* removes use of sc-client from sc-basic-authorship * refactor use of ProposerFactory * correct dep path
-
Bastian Köcher authored
Sadly we need to keep one function `ext_blake2_256`. This function is manually defined in `sp-core`.
-
Web3 Philosopher authored
* removes use of sc_client::Client from sc_finality_grandpa * code formatting * code formatting * removes use of sc_client::Client from sc_finality_grandpa
-
Nikolay Volf authored
-
- Feb 26, 2020
-
-
Benjamin Kampmann authored
* setting first batch of descriptions * fix what I just broke * next batch * and pallets, too * last batch * set cargo.lock * keep'em dev-deps * bump version to alpha.2
-
Pierre Krieger authored
-
- Feb 25, 2020
-
-
Arkadiy Paronyan authored
* Less verbose state-db logging * Validate block responses for block bodies * Update client/network/src/protocol.rs Co-Authored-By: Bastian Köcher <[email protected]> * Added validation test * Disconnect on missing header as well * Typo Co-Authored-By: André Silva <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
Benjamin Kampmann authored
bump version to -alpha.1
-
Nikolay Volf authored
* fix doc * rephrase
-
André Silva authored
* aura: remove unused transaction pool parameter * node-template: remove transaction pool from aura * aura: fix tests
-
Cecile Tonglet authored
* Initial commit Forked at: 41bb2193 Parent branch: origin/master * Increase killing grace period of CLI tests and display more info * Use --dev everywhere possible * Put pruning mode to its own params struct * Add pruning params to export-blocks command * Added missing file * Removed not-dev mode in tests * Add pruning mode to the revert command * Decrease killing grace period again * Move back unsafe_pruning to import_params * Applied proposed changes
-
Benjamin Kampmann authored
* adding unleash to ci * fixing formatting * with a dot please * alpha.3 now * do not publish testing helpers * remove old test-helpers cruft * fix cargo.lock * with alpha 4 * do not publish runtime-interface-test either * disable more test crates from publishing * switch to alpha.5 * replace tempdir with tempfile * update lru * switch to bytes 0.5 * release script fixes * switch on and to latest alpha * BUT THE SPACES
-
- Feb 21, 2020
-
-
Benjamin Kampmann authored
* setting versions to development pre-release fixing version in dependencies * unset already released wasm-builder * do not publish test crates * adding licenses * setting homepage metadata * set repository url
-
asynchronous rob authored
* remove networkspecialization * Fix most of the fallout * get all tests compiling Co-authored-by: Pierre Krieger <[email protected]>
-
Cecile Tonglet authored
Related to #4776 Related to https://github.com/paritytech/polkadot/pull/832 To summarize the changes: 1. I did not manage to validate with types the service's Configuration. But I did reduce the possibility of errors by moving all the "fill" functions to their respective structopts 2. I split params.rs to multiple modules: one module params for just CLI parameters and one module commands for CLI subcommands (and RunCmd). Every command and params are in their own file so things are grouped better together and easier to remove 3. I removed the run and run_subcommand helpers as they are not helping much anymore. Running a command is always a set of 3 commands: 1. init 2. update config 3. run. This still allow the user to change the config before arguments get parsed or right after. 4. I added tests for all subcommands. 5. [deleted] Overall the aim is to improve the situation with the Configuration and the ...
-
Web3 Philosopher authored
* removes use of sc_client::Client from sc_consensus_babe * Update client/consensus/babe/src/lib.rs Co-authored-by: Benjamin Kampmann <[email protected]>
-
Arkadiy Paronyan authored
-
Pierre Krieger authored
* Open one substream for each notifications protocol * Fix WASM build * Apply suggestions from code review Co-Authored-By: Toralf Wittner <[email protected]> * Address concerns * Use unsigned-varint to read the varint * Use unsigned-varint * Forgot Cargo.lock Co-authored-by: Toralf Wittner <[email protected]>
-
André Silva authored
* node-template: disable grandpa observer * node: disable grandpa observer * node: add doc about grandpa-voter infallible task * grandpa: remove grandpa observer from public API * grandpa: ignore observer_enabled field in config
-
Pierre Krieger authored
-
Wei Tang authored
* aura: remove unneeded SlotDuration struct and rename digest -> digests * aura: add alias type for SlotDuration * aura: fix tests * Fix missing parameters in get_or_compute * Use special function for fetching aura slot_duration
-
Wei Tang authored
-
- Feb 20, 2020
-
-
Stanislav Tkach authored
* Remove deprecated API * Remove (some) allow(dead_code) * Bump spec_version * Fix import, remove allow dead code. Co-authored-by: Shawn Tabrizi <[email protected]>
-
Pierre Krieger authored
-