- Mar 11, 2020
-
-
Hero Bird authored
* split out ext_clear_storage from ext_set_storage contracts API * update tests to adjust for the ext_set_storage changes * adjust COMPLEXITY for the ext_set_storage API changes * remove value_len == 0 constraint for ext_set_storage * bump spec_version * remove guarantee from COMPLEXITY of ext_clear_storage Co-authored-by: Gavin Wood <[email protected]>
-
Stanislav Tkach authored
* Use CLI to configure max instances cache * Fix tests * Move default value into CLI * Use SmallVec * Apply review comments * Get rid of `SmallVec` Co-authored-by: Bastian Köcher <[email protected]>
-
- Mar 10, 2020
-
-
Pierre Krieger authored
* Minor fixes for Android * Update parity-multiaddr * Bump in service Cargo.toml too
-
thiolliere authored
* add documentation and optimise payout_validator a bit * bump spec version to be safe this is just in case clipped exposure and exposure have different fields own and total. This shouldn't be the case but better be safe in case storage is wrong. * Update frame/staking/src/lib.rs Co-Authored-By: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Ashley authored
* Update to libp2p 0.16.2 * Use libp2ps implementation of a wasm websocket transport * Remove explicit Configuration type in node-cli Co-authored-by: Pierre Krieger <[email protected]>
-
Bastian Köcher authored
* Don't include `:code` by default in storage proofs (#5060) * 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]> * Fix compilation and change the way `RuntimeCode` works * Fix tests * Switch to `Cow` Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Sergei Pepyakin <[email protected]>
-
- Mar 09, 2020
-
-
Shawn Tabrizi authored
* Update logic to cancel_deferred_slash * More idiomatic * bump spec Co-authored-by: Gavin Wood <[email protected]>
-
Marcio Diaz authored
* Init macro * Refactor function. * Add feature * vested transfer benchmark * Fix features * Forgot to push this fix * bump impl * Nits. Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 06, 2020
-
-
Gavin Wood authored
* Second migration fix * Fix check-runtime script * Another fix to the CI * Revert changes. * Bump runtime
-
André Silva authored
-
Gavin Wood authored
-
Bastian Köcher authored
* Revert "Build block without checking signatures (#4916)" This reverts commit dc92587b. * Some further clean ups
-
- Mar 05, 2020
-
-
Gavin Wood authored
* Don't remove invalid transactions when skipping. * Use a special kind of extrinsic instead of arbitrary limit. * Fix txpool tests. * Attempt to create more blocks. * Bump lock Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Nikolay Volf <[email protected]>
-
Benjamin Kampmann authored
* removes use of sc_client::Client from sc-rpc * remove Client impl from sc-finality-benches * remove client impl from sc-finality-grandpa * read_proof accepts iterator * remove generic Executor param from ExecutorProvider * fix long ass line * code style changes * merge with master Co-authored-by: Arkadiy Paronyan <[email protected]>
-
Gavin Wood authored
This exposes the `runtime-benchmarks` feature via the cli crate and makes sure the benchmarking can be enabled. This requires that the user goes to `bin/node/cli` and runs `cargo build --features runtime-benchmarks` to build a node that has the feature enabled.
-
Gavin Wood authored
* Introduce default-setting prime for collective * Docs. * Elections phragmen supports prime * Fix * Membership supports prime * Fix * Update frame/collective/src/lib.rs Co-Authored-By: Shawn Tabrizi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
Benjamin Kampmann authored
* Wasm instance cache * Reduce slot locking * Fixed test * Dispose of instance in case of error * Fixed benches * Style, comments, some renames * Replaced upgradable lock with mutex * Bump dependencies * Re-export CallInWasm * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/native_executor.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/native_executor.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/wasmtime/src/runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Indents * Whitespace * Formatting * Added issue link Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Gavin Wood authored
* Add a few metrics to Client * Improve PrometheusConfig * Fix client docs
-
Gavin Wood authored
-
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]>
-
Arkadiy Paronyan authored
This reverts commit a193a19d.
-
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
-
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]>
-
- 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 72ff737d . * 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
-
- Mar 02, 2020
-
-
Fedor Sakharov authored
* Offence reporting returns a result * Bump spec_version * Use unwrap instead of assertions * Fix more review grumbles
-
- Feb 28, 2020
-
-
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
-
Web3 Philosopher authored
* removes use of sc-client from sc-basic-authorship * refactor use of ProposerFactory * correct dep path
-
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
-
- 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
-
- Feb 25, 2020
-
-
Benjamin Kampmann authored
bump version to -alpha.1
-
Marcio Diaz authored
* Add steps setting to CLI, use max value to hit worst case. * Bump impl_version. * Apply review suggestion.
-
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
-