1. Jun 15, 2020
    • thiolliere's avatar
      Introduce in-origin filtering (#6318) · 0db70ea9
      thiolliere authored
      
      
      * impl filter in origin
      
      * remove IsCallable usage. Breaking: utility::batch(root, calls) no longer bypass BasicCallFilter
      
      * rename BasicCallFilter -> BaseCallFilter
      
      * refactor code
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * remove forgotten temporar comment
      
      * better add suggestion in another PR
      
      * refactor: use Clone instead of mem::replace
      
      * fix tests
      
      * fix tests
      
      * fix tests
      
      * fix benchmarks
      
      * Make root bypass filter in utility::batch
      
      * fix unused imports
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      0db70ea9
  2. Jun 10, 2020
    • Shaopeng Wang's avatar
      "OR gate" for EnsureOrigin (#6237) · e2a6c3e5
      Shaopeng Wang authored
      * 'OR gate' for EnsureOrigin.
      
      * Formatting.
      
      * More formatting.
      
      * Add docstring; Update 'Success' type.
      
      * Bump runtime impl_version.
      
      * Fix successful_origin.
      
      * Add either into std feature list.
      
      * Update docs.
      e2a6c3e5
  3. Jun 09, 2020
  4. Jun 08, 2020
  5. Jun 06, 2020
    • Marcio Diaz's avatar
      Enable fixed point u128 (#6214) · 37bbc552
      Marcio Diaz authored
      * Add fixed u128.
      
      * remove move
      
      * Change sat_from_integer impl.
      
      * checked_pow is always positive
      
      * Revert.
      
      * rename fixed file
      
      * Rename to FixedI
      
      * rename fixed file
      
      * Add newline.
      
      * Use Multiplier in impls.
      
      * Renames negate() to saturating_negate().
      
      * Uncomment test.
      
      * Add Signed to macro.
      
      * Add some tests for Saturating trait.
      37bbc552
    • Gavin Wood's avatar
      Allow "anonymous" proxied accounts (#6236) · b74957d5
      Gavin Wood authored
      
      
      * Anonymous proxiers
      
      * More testing
      
      * More testing
      
      * Build fix
      
      * Build fix
      
      * Benchmarks.
      
      * fix benchmarking
      
      * add weights
      
      * fix line width
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      b74957d5
  6. Jun 05, 2020
  7. Jun 02, 2020
  8. May 28, 2020
    • Bastian Köcher's avatar
      Wasm-builder `runtime-wasm` feature (#6177) · 5b4ed426
      Bastian Köcher authored
      * Enable the `runtime-wasm` for wasm builds
      
      This enables the `runtime-wasm` feature for wasm builds. The feature is
      not mandatory and will only be activated if it exists in the
      `Cargo.toml`.
      
      * Fix compilation
      
      * Update docs
      
      * Uprgade version
      
      * Apply suggestions from code review
      5b4ed426
  9. May 27, 2020
  10. May 26, 2020
  11. May 25, 2020
  12. May 22, 2020
  13. May 21, 2020
  14. May 20, 2020
  15. May 18, 2020
  16. May 16, 2020
  17. May 15, 2020
  18. May 14, 2020
  19. May 13, 2020
  20. May 12, 2020
  21. May 07, 2020
    • Shawn Tabrizi's avatar
      Update System Weights (#5888) · 6b66b177
      Shawn Tabrizi authored
      * Update system weights
      
      * Use maximum block weight for scheduler
      
      * Update offences to use full block
      
      * Move weight inside if statement
      
      * Add one read to offences `on_initialize`
      
      * Delete factory test
      
      * Revert "Delete factory test"
      
      This reverts commit 8f95aacd.
      
      * Revert "Add one read to offences `on_initialize`"
      
      This reverts commit 7df7ebc7.
      
      * Revert "Move weight inside if statement"
      
      This reverts commit 87277d07.
      
      * Revert "Update offences to use full block"
      
      This reverts commit 0bbe0ce1
      
      .
      
      * Use scheduler in Sudo
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * Revert "Use scheduler in Sudo"
      
      This reverts commit 95bd2768
      
      .
      
      * remove max extrinsic weight (it does nothing useful)
      
      * fix tests
      
      * introduce `sudo_unchecked_weight`
      
      * bump spec version
      
      * scheduler 80 percent of maximum
      
      * Update `set_changes_trie_config` weight
      
      * Update bin/node/runtime/src/lib.rs
      
      * Update frame/democracy/src/tests.rs
      
      * Update tests.rs
      
      * update based on feedback
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      6b66b177
    • Shawn Tabrizi's avatar
      Extend Schedule Pallet for Root Scheduling/Canceling (#5907) · 6c55cbb7
      Shawn Tabrizi authored
      * Add root dispatch to scheduler
      
      * Move encode operation upwards
      
      * fix benchmark
      
      * extend extrinsics
      
      * add some clarifying comments
      
      * start to add benchmarking
      
      * finish weights
      
      * remove double encode
      
      * bump spec
      
      * Update weights
      
      * more accurate weights
      
      * bump base weight
      6c55cbb7