1. Apr 20, 2020
  2. Apr 19, 2020
  3. Apr 17, 2020
  4. Apr 16, 2020
    • Nikolay Volf's avatar
      Batch signature verification (#5023) · 372f8b2c
      Nikolay Volf authored
      
      
      * create parallel tasks extension
      
      * make type system happy
      
      * basic externalities
      
      * test for dynamic extensions
      
      * batching test
      
      * remove premature verify_batch
      
      * shnschnorrkel batch
      
      * alter test
      
      * shnschnorrkel test
      
      * executive batching
      
      * some docs
      
      * also multi/any signatgures
      
      * error propagation
      
      * styling
      
      * make verification extension optional
      
      * experimental ed25519 parallelization
      
      * some merge fallout
      
      * utilize task executor
      
      * merge fallout
      
      * utilize task executor more
      
      * another merge fallout
      
      * feature-gate sp-io
      
      * arrange toml
      
      * fix no-std
      
      * sr25519 batching and refactoring
      
      * add docs
      
      * fix name
      
      * add newline
      
      * fix block import test
      
      * long sr25519 test
      
      * blocking instead of parking
      
      * move everything in crypto
      
      * return batch_verify to check :)
      
      * use condvars
      
      * use multi-threaded executor for benches
      
      * don't call via host interface
      
      * try no spawning
      
      * add true
      
      * cleanup
      
      * straighten batching
      
      * remove signature check from this test (?)
      
      * remove now pointless test
      
      * remove another now useless test
      
      * fix warnings
      
      * Revert "remove another now useless test"
      
      This reverts commit bbdec24bb67ed4373072daef7c863e1a8825bd8b.
      
      * rethink the sp-io-part
      
      * Revert "remove now pointless test"
      
      This reverts commit 4d553066322e65782264caa6053d4cd5538df977.
      
      * fix wording
      
      * add  wording
      
      * add todo and fix
      
      * return check and fix
      
      * add logging in sp-io
      
      * Update primitives/io/src/batch_verifier.rs
      
      Co-Authored-By: default avatarcheme <[email protected]>
      
      * address review and use std condvar
      
      * account for early exit
      
      * address reivew
      
      * address review
      
      * more suggestions
      
      * add docs for batch verification
      
      * remove unused
      
      * more review suggestions
      
      * move to sp-runtime
      
      * add expects
      
      * remove blocks
      
      * use entry
      
      * Update primitives/io/src/batch_verifier.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update primitives/externalities/src/extensions.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * update overlooked note
      
      * remove stupid return
      
      * Update primitives/io/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update primitives/io/src/lib.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * fix wording
      
      * bump spec_version
      
      Co-authored-by: default avatarcheme <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      372f8b2c
    • Shawn Tabrizi's avatar
      Weights to u64 + Balances Weights (#5446) · 980b635c
      Shawn Tabrizi authored
      
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      980b635c
  5. Apr 15, 2020
  6. Apr 14, 2020
  7. Apr 11, 2020
  8. Apr 09, 2020
  9. Apr 08, 2020
  10. Apr 07, 2020
    • Marcio Diaz's avatar
      Benchmark Offences Pallet (#5411) · fb9bbf30
      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
      fb9bbf30
    • Shawn Tabrizi's avatar
      Generate Unit Tests for Benchmarks (#5527) · d3cc0514
      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
      d3cc0514
  11. Apr 06, 2020
  12. Apr 05, 2020
  13. Apr 04, 2020
    • Shawn Tabrizi's avatar
      Simple Staking Payouts (#5406) · 6847f845
      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: default avatarjoepetrowski <[email protected]>
      6847f845
    • Gavin Wood's avatar
      EnsureOrigin is a frame abstraction - it should be in frame_support (#5521) · 7c0fa837
      Gavin Wood authored
      * EnsureOrigin is a frame abstraction - it should be in frame_support
      
      * Fixes
      7c0fa837
    • André Silva's avatar
      support: add lateness trait (#5519) · f0375a85
      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
      f0375a85
  14. Apr 03, 2020
  15. Apr 01, 2020
  16. Mar 31, 2020