1. May 06, 2020
    • Tomasz Drwięga's avatar
      Benchmarks for offences pallet. (#5851) · 66c02fe6
      Tomasz Drwięga authored
      
      
      * really rough mock runtime
      
      * start to work on offences
      
      * Make sure to start the session.
      
      * Update to latest master.
      
      * Add verify.
      
      * Fix on_initialize benchmark.
      
      * Add grandpa offence.
      
      * Add Babe offence benchmarking.
      
      * Enable babe test.
      
      * Address review grumbles.
      
      * Address review grumbles.
      
      * Address review grumbles part 1/2
      
      * use currency trait
      
      * features
      
      * Check events explicitly.
      
      * Auto-impl tuple converter.
      
      * Removed dead code.
      
      * add test feature flag
      
      * dont use std
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      66c02fe6
  2. May 05, 2020
  3. May 04, 2020
  4. May 03, 2020
    • Shawn Tabrizi's avatar
      Remove Old Migration Code (#5870) · 92d0c0b7
      Shawn Tabrizi authored
      * remove old migration code
      
      * Remove old staking
      
      * Remove indices migration
      
      * Remove upgrade test in transaction-payment
      
      * oops
      
      * Revert "Remove old staking"
      
      This reverts commit 95262b1ac43c9b5bcf49d2ae80800feabcbbbaa0.
      
      * remove migration test in staking
      
      * fix warnings
      92d0c0b7
  5. May 01, 2020
  6. Apr 30, 2020
  7. Apr 29, 2020
  8. Apr 28, 2020
  9. Apr 27, 2020
    • thiolliere's avatar
      Update weight for im-online (#5771) · dc09f761
      thiolliere authored
      * implementation using Keys::decode_len
      
      * add heartbeat new param
      
      * address issues
      
      * improve doc
      
      * fix test
      
      * fix overflow
      dc09f761
    • Kian Paimani's avatar
      Enable Offchain Equalise (#5683) · ee54eff4
      Kian Paimani authored
      * Master.into()
      
      * Remove debug stuff
      
      * Better license
      
      * Migrate away from SimpleDispatchInfo
      
      * Fix test
      
      * Revert "Migrate away from SimpleDispatchInfo"
      
      This reverts commit dbdd27fa19948f16bd17defdc01d3dd32986df11.
      
      * Move to offchain randomness
      
      * Fix tests
      
      * Fix tests more
      ee54eff4
    • Nikolay Volf's avatar
      Add append api and use it to deposit events (#5795) · 33d00692
      Nikolay Volf authored
      * use append api to deposit events
      
      * use optimized append
      
      * one more optimization
      
      * fix bug
      
      * fix issues
      
      * address review
      33d00692
  10. Apr 25, 2020
    • Bastian Köcher's avatar
      Add support for custom runtime upgrade logic (#5782) · 15e33c46
      Bastian Köcher authored
      This adds support for registering custom runtime upgrade logic that can
      be implemented in the runtime directly instead of putting it into a module.
      15e33c46
    • Xiliang Chen's avatar
      expose constants for identity pallet (#5783) · 74bc141f
      Xiliang Chen authored
      * expose constants
      
      * bump version
      74bc141f
    • Tomasz Drwięga's avatar
      Compute weight only once. (#5780) · ef1c2d06
      Tomasz Drwięga authored
      ef1c2d06
    • Shawn Tabrizi's avatar
      Introduce `BlockExecutionWeight` and `ExtrinsicBaseWeight` (#5722) · 8a33c297
      Shawn Tabrizi authored
      
      
      * Introduce `BlockExectionWeight` and `ExtrinsicBaseWeight`
      
      * Add new traits everywhere
      
      * Missed one update
      
      * fix tests
      
      * Update `check_weight` logic
      
      * introduce `max_extrinsic_weight` function
      
      * fix + add tests
      
      * format nits
      
      * remove println
      
      * make test a bit more clear
      
      * Remove minimum weight
      
      * newlines left over from find/replace
      
      * Fix test, improve clarity
      
      * Fix executor tests
      
      * Extrinsic base weight same as old `MINIMUM_WEIGHT`
      
      * fix example test
      
      * Expose constants
      
      * Add test for full block with operational and normal
      
      * Initiate test environment with `BlockExecutionWeight` weight
      
      * format nit
      
      * Update frame/system/src/lib.rs
      
      Co-Authored-By: default avatarKian Paimani <[email protected]>
      
      * Replace `TransactionBaseFee` with `ExtrinsicBaseWeight` (#5761)
      
      * Replace `TransactionBaseFee` with `ExtrinsicBaseFee`
      
      * Fix stuff
      
      * Fix and make tests better
      
      * Forgot to update this test
      
      * Fix priority number in test
      
      * Remove minimum weight from merge
      
      * Fix weight in contracts
      
      * remove `TransactionBaseFee` from contract tests
      
      * Let `register_extra_weight_unchecked` go past `MaximumBlockWeight`
      
      * address feedback
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      8a33c297
  11. Apr 24, 2020
  12. Apr 23, 2020
  13. Apr 22, 2020