- 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
-
-
Pierre Krieger authored
* Split the Roles bitfield in three * Forgot to include some changes * Fix cli test * More test fixes * Oh God, merging master broke other tests * Didn't run the doctests * Address review * I'm trying to fix the build blindly because it's taking a good hour to compile on my machine * Address some review * Also update the peerset's API to make sense * Fix peerset tests * Fix browser node * client: distinguish between local and network authority Co-authored-by: André Silva <[email protected]>
-
Denis_P authored
* test (ci): prepopulate caches with debug * test (ci): error in path * optimization (ci): CARGO_HOME cache prepopulation
-
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
-
gabriel klawitter authored
-
Nikolay Volf authored
* custom benchmark runner * add license preamble * delete old benchmarks * update toml * imporove macro * tabs * add size * size fixes * add docs for cli
-
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
-
cheme authored
* ci: fix echo sed failure Co-authored-by: gabriel <[email protected]>
-
Pierre Krieger authored
* Better logging for notifications and buffer size increase * Address review * Improve warning about notifications queue and remove spurious triggers
-
Cecile Tonglet authored
* Update CONTRIBUTING.adoc * Update docs/CONTRIBUTING.adoc Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Alexander Krupenkin authored
-
Pierre Krieger authored
* Add a sub_libp2p_notifications_queues_size Prometheus metric * Fix network tests * Address review
-
- Apr 02, 2020
-
-
Joshy Orndorff authored
-
Gavin Wood authored
* More emojies and spaces * Sync emojis * More emoji
-
André Silva authored
-
Bastian Köcher authored
This pr ensures that we don't panic because of a deadline that is already reached in basic authorship. This is mainly useful for debug builds, as release builds normally don't have debug assertions enabled.
-
Denis_P authored
-
- Apr 01, 2020
-
-
cheme authored
* Registering state from overlay. * fix * fix2 * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]>
-
Pierre Krieger authored
* Switch to the new protocol * Oops, forgot to remove light_dispatch.rs * Fix tests * Address review
-
André Silva authored
This was removed in https://github.com/paritytech/substrate/pull/5291 but is still too early to do it as it requires nodes still on Polkadot v0.7.26 to resync from scratch.
-
Gavin Wood authored
* A few missing emojies * P2p message emojis * Add a bit of colour * format * Introduce a couple of spaces * Some spaces
-
Pierre Krieger authored
-
Cecile Tonglet authored
* check_polkadot.sh: use the branch matching substrate's branch if possible * convert to grep * update comment
-
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]>
-
Arkadiy Paronyan authored
* Reset by removing pos-genesis changes * CLI option for DB cache size * Update Cargo.lock Co-authored-by: Shawn Tabrizi <[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
-
Bastian Köcher authored
-
Max Inden authored
* client/finality-grandpa: Instrument until-imported queue The `UntilImported` queue takes as input finality grandpa messages that depend on blocks that are not yet imported and holds them back until those blocks are imported. This commit adds a basic metric, the amount of messages waiting in the queue, to the module. For now this metric is only available for the global `UntilImported` queue awaiting blocks for commit and catch-up messages. * client/finality-grandpa/src/until_imported: Update metric help text Co-Authored-By: Ashley <[email protected]> Co-authored-by: Ashley <[email protected]>
-
Pierre Krieger authored
* Increase limit on light client response size * Address review
-
Drew Stone authored
* Add deposit/withdraw events * Remove balances trait
-
gabriel klawitter authored
-
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]>
-
Bastian Köcher authored
* Implements mocking of runtime apis This pr adds support for easily mock runtime api implementations for tests by using the `mock_impl_runtime_apis!` macro. The syntax is similar to `impl_runtime_apis!`. The mocked implementation automatically implements `ApiExt`, `ApiErrorExt` and `Core` as these are required by the runtime api traits, but not required in tests or only a subset of them. * Fix warnings * Update primitives/api/proc-macro/src/utils.rs Co-Authored-By: Nikolay Volf <[email protected]> * Review feedback Co-authored-by: Nikolay Volf <[email protected]>
-