- 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
-
-
Gavin Wood authored
-
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]>
-
Chevdor authored
-
Logan Saether authored
* Adding more democracy docs * Remove Cargo.lock * Update docs in democracy * Update frame/democracy/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Update frame/democracy/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> * Resolve * Remove cargo.lock again * Add paragraph on AQB * Update frame/democracy/src/lib.rs * Update frame/democracy/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Marcio Diaz authored
* Init allowing non dispatchable closure to be benchmarked. * Remove example, add it in timestamp * Fix nits. * Move test to example. * Update frame/example/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/example/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Apply review suggestion: move test to benchmarking crate. * Update frame/benchmarking/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Remove unused imports. Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Benjamin Kampmann <[email protected]>
-
- Mar 03, 2020
-
-
Gavin Wood authored
* TODOs * Remove superfluous: * partial implementation * full implementation * fix preferences * update comments * upgrade test WIP * fix more tests * fix cutoff * fix saturation * comment * upgrade mock * upgrade test * WIP migration * WIP migration * remove slot stake stuff * fix merge * migration of ledger * remove equalize from test * add test * fix * update doc * fix compilation * improve test readibility * improve doc * fix most todo * fix migration and test * remove println * WIP * add test and spec * weight * update doc * safer end_era * fix exposure of conversion * Revert "safer end_era" This reverts commit 72ff737d27be67d87308514b13e2574bc5f09fce. * fix useless put * exposure clipped * doc * fix payout with clipped * fix node runtime * add doc * pluggable and generalized staking module * remove print * update doc * refactor * improve documentation and implementation * fix test * Fix test * fix test * fix test * fix remove lowest stake from exposure, not biggest. * nomination index arguments in nominator_payout * add test * try to fix offence * apply slashed and bond eras until active era * doc * update spec version * add test upgrade from previous test environment * Apply suggestions from code review Co-Authored-By: Shawn Tabrizi <[email protected]> * nominators upgrade has been cleaned * dynamic history depth implementation * make current_era - history_depth included * Change equality check to start era to less than or equal * Use era specific validator prefs * Add print statement and comment about start era if < * fix next_reward overflow * make more check for bad era claim for zero cost * small refactor * code refactor + fix use of deprecated storage * fix wasm build * add comment * Fix tests * remove outdated comment * Apply suggestions from code review Co-Authored-By: Shawn Tabrizi <[email protected]> * gather active era information into one storage Co-authored-by: thiolliere <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
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
-
joe petrowski authored
Co-authored-by: Benjamin Kampmann <[email protected]>
-
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
-
Fedor Sakharov authored
* Offence reporting returns a result * Bump spec_version * Use unwrap instead of assertions * Fix more review grumbles
-
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 1c61728f10d520df5f9b28c415a0db68e478b9c7. * 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]>
-
Toralf Wittner authored
-
Marcio Diaz authored
* Add --mins --maxs to benchmark command. * Apply review suggestions.
-
Marcio Diaz authored
* Propagate DispatchError for benchmarks. * Apply review suggestions. * Use RuntimeString. * fix expect Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 27, 2020
-
-
Benjamin Kampmann authored
* Bump to alpha.3 * update gitlab-ci
-
Ashley authored
-
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.
-
Sergey Pepyakin authored
* Formatting clean up * Introduce separate setters for the fees.
-
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
-
Eric authored
* Handle gas_price being zero separately * Bump spec_version * Add a unit & integration tests for gas price = 0
-
s3krit authored
* Activate publishing of draft releases... ... And fix the message sending (missing parameter). * publish_draft_release.sh now checks latest... ... release on github rather than just a tag
-
Denis_P authored
* repro ui bug * fix the tests * test with the new image * test without CARGO_HOME * test without fixes * test again * fix trybuild old versions * bump CArgo.lock * fix trybuild newest versions * bump Cargo.lock * trying on the latest image * bump Cargo.lock * run with the old image * ci will be green on the image from 2020-02-19 [skip ci] * bump Cargo.lock
-
Bastian Köcher authored
* Adds documentation for `wipe` and `commit` This adds documentation to `wipe` and `commit` of `Externalities`. Besides that it removes the default implementation that would just panic and requires that all implementers of the trait implement the functions. * Update primitives/externalities/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Chevdor authored
-
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]>
-