- Aug 26, 2020
-
-
Shawn Tabrizi authored
* Support staking payout to any account * fix offences benchmarks
-
- Aug 24, 2020
-
-
Shawn Tabrizi authored
* Add `--verify` flag to benchmark execution * make it so `--verify` can be used for getting the actual benchmarks * undo manual testing * oops * use benchmark config struct * verify is default on, docs update * remove clone * improve formatting * fix test * bump impl for ci
-
- Aug 19, 2020
-
-
Shawn Tabrizi authored
* Add `get_whitelist` api * add whitelisted caller * Whitelist caller * remove caller 0 * initial piping of origin (not actual value yet) * remove attempt to pass origin around * Add whitelist for `DidUpdate` storage on `pallet_timestamp` * fix traits * only add to whitelist if !contains * PassBy not implemented error * Whitelist read/writes explicitly per key * update docs * reduce trait constraint * copy pasta * Apply suggestions from code review Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Alexander Popiak <[email protected]> * rename functions @apopiak * missed some renaming * enable doc tests * Update docs Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Alexander Popiak <[email protected]>
-
- Aug 13, 2020
-
-
Kian Paimani authored
-
- Aug 11, 2020
-
-
Kian Paimani authored
* Fx #4616 * Fix #4616
-
Kian Paimani authored
* Fancy compact encode/decode impl for compact solution * Make it optional * Remove extra file * Update primitives/npos-elections/compact/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * Final fixes. Co-authored-by: Guillaume Thiolliere <[email protected]>
-
- Aug 10, 2020
-
-
Kian Paimani authored
-
- Aug 03, 2020
-
-
Ashley authored
-
Kian Paimani authored
* Add integrity test for slash defer duration * Wrap in externalities * Update frame/staking/src/lib.rs
-
- Jul 29, 2020
-
-
Gavin Wood authored
-
- Jul 21, 2020
-
-
Kian Paimani authored
* Prevent duplicate voter * Update primitives/npos-elections/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
pscott authored
* Improve overall performance * Clean up code Co-authored-by: Bastian Köcher <[email protected]> * Remove needless :: Co-authored-by: Bastian Köcher <[email protected]> * Remove needless :: Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
- Jul 20, 2020
-
-
warfollowsme | ryabina.io authored
* More app-friendly event description * change origin -> owner * checked all decl_event! and changed decriptions. * annotated parameter names for remaining events
-
- Jul 17, 2020
-
-
Gavin Wood authored
* Fixes and tests * Don't set subs be re-registered. Also allow subs to de-register themselves and collect the deposit. Also allow individual registering and removal of subs. * Make it build * Update frame/identity/src/lib.rs Co-authored-by: joe petrowski <[email protected]> * Tests * Add benchmarks * Add some reasonable weights * Docs Co-authored-by: joe petrowski <[email protected]>
-
- Jul 16, 2020
-
-
thiolliere authored
-
- Jul 08, 2020
-
-
Shawn Tabrizi authored
* Start adding weight info * More weightinfo * finish weight info * more fixes * inital update of node runtime * fix the rest of the compilation * update balances * add docs * fix balances tests * Fix more tests * Fix compile * Fix pallet-evm tests
-
- Jul 07, 2020
-
-
Shaopeng Wang authored
* Use frame_system as default ident. * Remove unused 'frame_system' to 'system' renaming. * Fix construct_runtime_ui tests. * Rename system to frame_system in sudo/utility pallet test. * Bump runtime impl_version. * Update formatting.
-
- Jul 06, 2020
-
-
Bastian Köcher authored
* Start * Cleanup `construct_runtime!` * Add tests * Fix after merge * Update the docs
-
- Jul 04, 2020
-
-
André Silva authored
* slots: create primitives crate for consensus slots * offences: add method to check if an offence is unknown * babe: initial equivocation reporting implementation * babe: organize imports * babe: working equivocation reporting * babe: add slot number to equivocation proof * session: move duplicate traits to session primitives * babe: move equivocation stuff to its own file * offences: fix test * session: don't have primitives depend on frame_support * babe: use opaque type for key owner proof * babe: cleanup client equivocation reporting * babe: cleanup equivocation code in pallet * babe: allow sending signed equivocation reports * node: fix compilation * fix test compilation * babe: return bool on check_equivocation_proof * babe: add test for equivocation reporting * babe: add more tests * babe: add test for validate unsigned * babe: take slot number in generate_key_ownership_proof API * babe: add benchmark for equivocation proof checking * session: add benchmark for membership proof checking * offences: fix babe benchmark * babe: add weights based on benchmark results * babe: adjust weights after benchmarking on reference hardware * babe: reorder checks in check_and_report_equivocation
-
- Jun 25, 2020
-
-
Shaopeng Wang authored
* Update stale docstring with 'EnsureOneOf' introduced. * Apply review suggestions.
-
thiolliere authored
* bound unsigned when necessary * convert more type to AtLeast32BitUnsigned * Update primitives/arithmetic/src/traits.rs Co-authored-by: Kian Paimani <[email protected]> * doc refactor * line reorganize Co-authored-by: Kian Paimani <[email protected]>
-
Shawn Tabrizi authored
* payout creates controller * update benchmarks * oops * fix session benchmarks * Update weights * fix line width
-
Kian Paimani authored
* Panic on invalid * Fix return * Fix refund
-
- Jun 24, 2020
-
-
Kian Paimani authored
* add normalize * better api for normalize * Some grumbles * Update primitives/arithmetic/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * More great review grumbles * Way better doc for everything. * Some improvement * Update primitives/arithmetic/src/lib.rs Co-authored-by: Bernhard Schuster <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Bernhard Schuster <[email protected]>
-
- Jun 23, 2020
-
-
Shawn Tabrizi authored
* Remove lingering runtime upgrades * remove unused warnings * remove tests
-
- Jun 22, 2020
-
-
Bastian Köcher authored
* `pallet-staking`: Expose missing consts * Apply suggestions from code review Co-authored-by: Nikolay Volf <[email protected]> Co-authored-by: joe petrowski <[email protected]> * Update the source docs Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Nikolay Volf <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
- Jun 19, 2020
-
-
Gavin Wood authored
-
- Jun 15, 2020
-
-
thiolliere authored
* impl filter in origin * remove IsCallable usage. Breaking: utility::batch(root, calls) no longer bypass BasicCallFilter * rename BasicCallFilter -> BaseCallFilter * refactor code * Apply suggestions from code review Co-authored-by: Kian Paimani <[email protected]> * remove forgotten temporar comment * better add suggestion in another PR * refactor: use Clone instead of mem::replace * fix tests * fix tests * fix tests * fix benchmarks * Make root bypass filter in utility::batch * fix unused imports Co-authored-by: Kian Paimani <[email protected]>
-
- Jun 12, 2020
-
-
joe petrowski authored
* almost works * add clone to BalanceStatus * reserve event * fix staking tests * fix balances tests * Update frame/balances/src/tests.rs Co-authored-by: Kian Paimani <[email protected]> * restore tests and move event emission * move repatriate reserved event outside of mutate_account * clean up events in tests Co-authored-by: Kian Paimani <[email protected]>
-
- Jun 10, 2020
-
-
Shaopeng Wang authored
* 'OR gate' for EnsureOrigin. * Formatting. * More formatting. * Add docstring; Update 'Success' type. * Bump runtime impl_version. * Fix successful_origin. * Add either into std feature list. * Update docs.
-
- Jun 05, 2020
-
-
Kian Paimani authored
* Rename and move sp-phragmen * More renames for equalise * Update main module doc * Fix line width * Line width
-
Kian Paimani authored
* Remove some dead code * fix * Kill warnings
-
- Jun 02, 2020
-
-
Kian Paimani authored
* part1: Accept inly epsilon better solutions * Fix pre-dispatch check * Fix build * review grumbles * Epsilon -> Threshold
-
- Jun 01, 2020
-
-
Dan Forbes authored
-
- May 28, 2020
-
-
Kian Paimani authored
* Clean * Better doc * Better better doc * Again better doc * Fix indemt * Update frame/staking/src/lib.rs * Update frame/staking/src/lib.rs * Better test Co-authored-by: Gavin Wood <[email protected]>
-
- May 25, 2020
-
-
Kian Paimani authored
* Events and better log for staking. * Fix build * Update frame/staking/src/lib.rs Co-authored-by: Marcio Diaz <[email protected]> Co-authored-by: Marcio Diaz <[email protected]>
-
- May 23, 2020
-
-
Kian Paimani authored
* Fist draft of offchain weights * Round of review feedback * Update frame/staking/src/lib.rs * Fix fuzzer * Remove some redundant comment * Weight refund for submit solution -- potentially revert. * First version with custom trimming of the result. * Update frame/staking/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * Update frame/staking/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: thiolliere <[email protected]> * Update frame/staking/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * Update frame/staking/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * Some improvements * Benchmark submit solution without phragmen (PR for First draft of offchain phragmen weights) (#6073) * implementation of new benchmark * address comments * replace test * Update frame/staking/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * update weight * Fix refund * Clean and rady for final bench * Fix line-wdith * Fix gitlab build * Fix line-wdith * Fix test macro * Update frame/staking/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update frame/staking/src/benchmarking.rs Co-authored-by: Alexander Popiak <[email protected]> * Better length check * Update frame/staking/src/lib.rs Co-authored-by: Alexander Popiak <[email protected]> * Update final weight coefficients * Update frame/staking/src/lib.rs * Apply suggestions from code review * Update frame/staking/src/testing_utils.rs * Try and fix the line-width * Revert "Try and fix the line-width" This reverts commit b4e284727220085b9b3daf7682c4bbf29621da09. * Try and fix the line-width the correct way * Revert "Try and fix the line-width the correct way" This reverts commit 04fce128e851c9584f9f0d708a5a73cae799d8c8. Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
- May 21, 2020
-
-
Shawn Tabrizi authored
* Weight accounting for on_offence. * Try to compute weight. * Guesstimate upper bounds on db read/writes for slashing * greater than or equal to * add new trait * Update mock.rs * Add basic weight test * one more test * Update frame/staking/src/lib.rs Co-authored-by: thiolliere <[email protected]> * Update frame/staking/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * Add test for offences queue Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
- May 20, 2020
-
-
Tomasz Drwięga authored
* Only check single extrinsics weight limit in validate_transaction. * Add missing parameter to all pallets. * Add tests, fix default configuration. * Bump spec version. * Use AvailableBlockRation to calculate MaxExtrinsicWeight
-
- May 15, 2020
-
-
Benjamin Kampmann authored
-