- Apr 16, 2020
-
-
Shawn Tabrizi authored
Co-Authored-By: Kian Paimani <[email protected]>
-
- Apr 15, 2020
-
-
thiolliere authored
* implement iter for doublemap * fmt * fix tests * fix staking mock * address comment * update doc and constraint for reversible hasher Co-authored-by: Gavin Wood <[email protected]>
-
Gavin Wood authored
* Introduce trait * The trait * Generic * Basic impls. * Remove unneeded bounds * Minor changes * Switch over to the new DB trait * Integrated parity-db and added CLI for db selection * Default impl. * Fix logs. * Started integrating subdb * Apply suggestions from code review Co-Authored-By: Cecile Tonglet <[email protected]> * Apply suggestions from code review Co-Authored-By: Nikolay Volf <[email protected]> * Enable subdb * Bump parity-db * Fixed CLI macro * Fixed browser build * Fixed features * Sort out features * Use parity-db from crates.io * Typo Co-authored-by: arkpar <[email protected]> Co-authored-by: Cecile Tonglet <[email protected]> Co-authored-by: Nikolay Volf <[email protected]>
-
Benjamin Kampmann authored
-
- Apr 14, 2020
-
-
Benjamin Kampmann authored
* bumping version * cargo update * adding changelog
-
Alexander Theißen authored
* Add tests for weight refund * Update frame/system/src/lib.rs Co-Authored-By: Kian Paimani <[email protected]> * Fixed formatting * Format fixes Co-authored-by: Kian Paimani <[email protected]>
-
thiolliere authored
* submit solution for current era * add test * address comment * fix tests
-
- Apr 11, 2020
-
-
Alexander Theißen authored
This refunds weight and the weight bases fee back to the sender of an extrinsic after the dispatch.
-
Kian Paimani authored
* add pre/post condition check to elections * Tests for staking * Better intersection fn * Fix build
-
- Apr 09, 2020
-
-
Kian Paimani authored
* Make it force-aware * Fix merge issues
-
Kian Paimani authored
* Collection of enhancement for staking phragmen. * Ditch signed extension * Fix build * Update frame/staking/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * Update frame/staking/src/tests.rs Co-Authored-By: thiolliere <[email protected]> * Fix reward limits * Disallow payout_stakers * Remove unused import Co-authored-by: thiolliere <[email protected]>
-
- Apr 08, 2020
-
-
Stanislav Tkach authored
* Move contracts wasm test code into separate files * Move crypto_hashes into a separate file * Load wasm code at runtime * Move wasm files * Fix wasm formatting * Update crypto_hashes file
-
Marcio Diaz authored
* Add verify block to benchmarks macro. * Update all benchmarks. * Add tests, add params. * Should panic. * ups, add closures * Update tests.rs * update macro syntax * Revert benchmark syntax change * verify only in tests * Update tests.rs * Uncomment staking * Fix tests for benchmark instance * Add docs * Update frame/benchmarking/src/lib.rs * add trace logs to benchmarks * Verify returns closure Co-authored-by: Shawn Tabrizi <[email protected]>
-
Tomasz Drwięga authored
* Configurable Unsigned Priority. * Use the new builder. * Fix tests. * Fix benches. * Remove unused import. * Rename for_pallet
-
Alexander Theißen authored
* Refactor SignedExtension * Move DispatchInfo Associated type to Dispatchable * Bound Call: Dispatchable * Pass PostDispatchInfo to post_dispatch * Pass DispatchInfo by reference to avoid clones * Whitespace fix Co-Authored-By: Tomasz Drwięga <[email protected]> * Style changes from code review Co-Authored-By: Kian Paimani <[email protected]> * Only decalre in test mod to remove warning * Deduplicate Call definition * Bound frame_system::trait::Call by Dispatchable * Introduce DispatchInfoOf type alias * Whitespace fix from review Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 07, 2020
-
-
Marcio Diaz authored
* Add initial report_ofence bench. * Remove unused imports * Style nit * Add nominators * Remove logs. * Nits. * Add nominators param. * Reorg, comment. * Remove whitespaces. * Apply review suggestion: move benchmark to own crate. * Remove import. * Remove line. * Add feature flag. * Pass can_report. * Cleaning up. * More cleaning
-
Shawn Tabrizi authored
* Update to latest staking * generate tests for benchmarking * add tests, fix warnings * starting on democracy * impl_benchmark_tests * Way more readable * add test feature flag (does this work?) * Fix `successful_origin` impl * democracry benchmark tests * Fix example benchmarks, add tests * identity benchmark tests * Update im-online benchmark tests * try to add session benchmarking tests (problem with mock) * staking and timestamp * add test for treasury, issue with dynamic contains * utility * Vesting * test instead of check * hide until we figure out what is wrong * add docs * close code * Create custom mock for session-pallet-benchmarking * Use refcell pattern * make un-pub * test-linux-stable includes `runtime-benchmarks` feature * Revert "test-linux-stable includes `runtime-benchmarks` feature" This reverts commit a2dab38abd18ac3eb8a6220e4a00e687740bd38c. * run tests in `--release` * undo balance change * build wasm
-
- Apr 06, 2020
-
-
HackFisher authored
* Add call hash as parameters of multisig related event * update docs
-
- Apr 05, 2020
-
-
Shawn Tabrizi authored
* Sort members in elections-phragmen genesis * panic if duplicate member * print duplicate member
-
Gavin Wood authored
* Mandatory dispatch class * Tweaks * Docs * Fix test * Update frame/support/src/weights.rs Co-Authored-By: joe petrowski <[email protected]> * Introduce logic that was stated in PR. * Use * Docs. * Fix test * Fix merge * Update frame/support/src/weights.rs Co-Authored-By: Bastian Köcher <[email protected]> * Fix. * Fix Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
* some fixes * Update tips benchmark to be resiliant to genesis * Update Cargo.lock
-
- Apr 04, 2020
-
-
Shawn Tabrizi authored
* Simple Payouts * explicit test for out of order claiming * Add `payout_all` benchmark * Fix merge * add docs * change event to controller * Fix timestamp test warnings * Revert "change event to controller" This reverts commit 5d4a97832d47fe1273602d5410774d5421940c4e. * Update Reward event doc * Add "non-production" test * add unlock chunk to test * fix merge * End payout early if no reward points * payout_validator -> payout_stakers * bring back payout nominator/validator, but limit their use to before migration era * Add test for before migration * New payout works for the era that we migrate * Fix logic, check that migration era works * Migrate Era tests (copypasta) * Move comment * Add mock back to external functions * Fixes based on review from gui * Update Cargo.lock * Update Cargo.lock * small docs update Co-authored-by: joepetrowski <[email protected]>
-
Gavin Wood authored
* EnsureOrigin is a frame abstraction - it should be in frame_support * Fixes
-
André Silva authored
* support: add lateness trait * babe: implement the lateness trait * babe: add docs about lateness entry lifetime * babe: don't use option for lateness storage entry
-
- Apr 03, 2020
-
-
Alexander Theißen authored
* Make Dispatchable return the actual weight consumed Add PostInfo associated type to Dispatchable and have frame implement Dispatchable { type PostInfo = PostDispatchInfo } where PostDispatchInfo contains the actual weight consumed. * Fix whitespace issues in docs
-
Shawn Tabrizi authored
* Run benchmarks on block 1 * Put example benchmarks behind feature flag * add feature to cargo.toml * typo * Add `frame_system` trait bound * Update instance benchmarks too
-
Shawn Tabrizi authored
-
- Apr 01, 2020
-
-
Gavin Wood authored
* Initial draft of the logic * Build and tests * Make work with new initialize infratructure. * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> * Fix test * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> * Rejig interface to make it more useful for democracy. * Try to get democraxy module to make use of scheduler. * Make democracy use scheduler. * Use actual max weight for enactent * Remove TODO * Fix runtime build * Minor cleanup * Fix scheduler. * Fix benchmarks * Fix * Fix * Fix * More bench fixes * Fix * Fix. * Add more bench constants. * Fix cancel_queued bench. * Fix test comment. * Update frame/scheduler/src/lib.rs Co-Authored-By: Marcio Diaz <[email protected]> Co-authored-by: Marcio Diaz <[email protected]>
-
- Mar 31, 2020
-
-
Nikolay Volf authored
-
Shawn Tabrizi authored
* Move tests * Move around feature cfgs * Start benchmarks * as_multi bench * finish * fix tests * Update frame/utility/src/benchmarking.rs Co-Authored-By: Marcio Diaz <[email protected]> * Update Cargo.toml * fix test Co-authored-by: Marcio Diaz <[email protected]>
-
Kian Paimani authored
* A patch * Fix * Better approach. * Fix grumbles
-
Drew Stone authored
* Add deposit/withdraw events * Remove balances trait
-
thiolliere authored
-
Shawn Tabrizi authored
* Don't populate runtime events in genesis * typo * Change to block zero * Fix vesting tests * Update frame/system/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update frame/system/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Add test * Fix test * Fix contract tests * Fix phragmen tests * Fix Generic Assets Tests * Fix offences tests * Fix im-online * fix recovery * Fix utility tests * Shorter * Use ext Co-authored-by: Bastian Köcher <[email protected]>
-
Gavin Wood authored
* Batch benchmarks together with `*` notation. * Fix short structopt conflict * Return error if `batches` is empty * Move fast benchmarks macro into `frame_benchmarking` (#5445) * Move macro into `frame_benchmarking` * Update docs * Extra line * Return error if `batches` is empty Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 30, 2020
-
-
pscott authored
* Add docs.rs metadata to all cargo.toml files * Remove docs.rs metada in substrate's cargo.toml
-
- Mar 29, 2020
-
-
Joseph Mark authored
* Extend PerThing + Saturating * Add saturating_pow to Saturating * Add saturating_truncating_mul to PerThing (rounding-down mul) * Add saturating_reciprocal_mul to PerThing (divide x by perthing) * Provide default methods where possible * Restore const functions * Fix test * Update primitives/arithmetic/src/per_things.rs Co-Authored-By: Kian Paimani <[email protected]> * Add comment and test verifying no overflow * Formatting * Fix possible overflow and change type constraint * Use overflow pruning for all mul * Formatting and comments * Improve comments and names * Comments in `rational_mul_correction` explain overflow aversion. * Test rational_mul_correction * Formatting * Docs and formatting * Add new trait methods to Perthing type impl * Fix signature * saturating_pow for Delegations * Add missing trait method to impl Co-authored-by: Kian Paimani <[email protected]>
-
- Mar 28, 2020
-
-
Bastian Köcher authored
-
- Mar 27, 2020
-
-
thiolliere authored
* hide metadata function for non generic event * add doc for decl_storage
-
thiolliere authored
-