- Mar 05, 2020
-
-
Gavin Wood authored
* Adds a session getter to historical proofs * Bump spec_version * Adds some useful trait derives to Proof
-
Gavin Wood authored
* Add the vested_transfer function with tests * Add VestingDeposit for minimum amount to create a new schedule * Remove irrelevant file commit * Bump spec * Add weight comment * Fix CI build * Make the check before the transfer * Update frame/vesting/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/vesting/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> * Update frame/vesting/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update frame/vesting/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update frame/vesting/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Add tab to line 249 * Rename to `MinVestedTransfer` for clarity Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Benjamin Kampmann authored
-
Arkadiy Paronyan authored
This reverts commit 6ee39261.
-
Benjamin Kampmann authored
* Hide benchmarks behind a feature flag * Propage attributes in impl_runtime_apis macro * Bump impl_version * Fillter cfg attributes * Hide more things under the feature * Fix set_block_number availability * Rename filter_attrs -> filter_cfg_attrs * Rename runtime_benchmarks to runtime-benchmarks
-
Gavin Wood authored
-
Gavin Wood authored
* Reorganize tasks into task manager * move to separate file and improve api * address api issues * fix spawning inside closures * decouple executor * tasks_setup -> tasks_builder * remove drops * add deprecatiion comment * add pub(super) * fix identation
-
Benjamin Kampmann authored
This adds support for enabling features in the wasm build. The `default` and `std` feature are ignored in the build.
-
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
-