- Apr 07, 2020
-
-
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
-
Denis_P authored
* change (ci): merge check warnings into test linux job * change (ci): newline doesn't make sense here
-
- Apr 06, 2020
-
-
HackFisher authored
* Add call hash as parameters of multisig related event * update docs
-
Tomasz Drwięga authored
-
Pierre Krieger authored
* Turn notifications_total into notifications_sizes * Address review
-
Nikolay Volf authored
* update externalities docs * Update primitives/externalities/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update primitives/externalities/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update primitives/externalities/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update primitives/externalities/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 05, 2020
-
-
pscott authored
* Make verbosity level mandatory instead of defaulting to 0 when using --telemetry-url * Update README docs * Change TelemetryError struct to enum * Return TelemetryParsingError instead of a Boxed dyn error * Replace spaces by tabs * Add example of expected format for telemetry-url * Remove UrlParsingError; Call to_string instead of parse for TelemetryEndpoints url
-
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
-
-
Benjamin Kampmann authored
* procfs is linux only * also for the import * fixup non-linux build
-
Benjamin Kampmann authored
This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by: - system load average (over one, five and 15min) - the TCP connection state of the process (lsof), refs #5304 - number of tokio threads - number of known forks - counter for items in each unbounded queue (with internal unbounded channels) - number of file descriptors opened by this process (*nix only at this point) - number of system threads (*nix only at this point) refs #4679 Co-authored-by: Max Inden <[email protected]> Co-authored-by: Ashley <[email protected]>
-
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]>
-