Skip to content
  1. Jun 02, 2020
  2. Jun 01, 2020
  3. May 30, 2020
  4. May 29, 2020
  5. 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
    • Gavin Wood's avatar
      f489f180
    • Shawn Tabrizi's avatar
      Allow over-weight collective proposals to be closed (#6163) · 009868d5
      Shawn Tabrizi authored
      * split `finalize_proposal` to approve and disapprove
      
      * Add test
      
      * Add root `disapprove_proposal`
      
      * Update approve logic after voting period passes
      009868d5
    • Sergey Pepyakin's avatar
      pallet-contracts: State rent fixes (#6147) · 874794dc
      Sergey Pepyakin authored
      
      
      * Don't store the storage size offset in the contract itself.
      
      * Clean the AccountDb code a bit
      
      * Use `storage_size: 0` when creating AliveContractInfo
      
      * Count empty storage items.
      
      * Update frame/contracts/src/account_db.rs
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      * Use more clear wording.
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * Change the order of decrement and increment for storage size
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      874794dc
    • Alexander Theißen's avatar
      Make post dispatch fee consistent with a direct calculation (#6165) · df59acf4
      Alexander Theißen authored
      * Make post dispatch fee consistent with a direct calculation
      
      * Remove unnecessary `saturated_into` calls
      
      * Add test with negative multipliers
      
      * Added regression test
      
      * Test improvements
      df59acf4
    • Bernhard Schuster's avatar
      offchain storage lock (#6010) · d65e6443
      Bernhard Schuster authored
      
      
      * feat/offchain/storage: add remove interface method
      
      * feat/offchain/storeage: add remote to StorageValueRef
      
      * feat/offchain/storage: add storage lock
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * refactor/offchain/storage/lock: introduce `Lockable` trait part 1 of 2
      
      * chore/offchain/rename: _remove -> clean
      
      * feat/offchain/storage/lock: add TimeAndBlock based part 2 of 2
      
      * fix/offchain/storage/lock: block and time expiry must be && not ||
      
      * chore/offchain/storage: minor fmt doc comments
      
      * doc/comment: prefer markdown emphasis over CAPS
      
      * doc/comment: rewrap multiline module level docs
      
      * doc/comment: rephrase
      
      * impl sleep_until and use the actual time for the test env
      
      * feat/test: add more tests, ignore some sample impl doctests
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      * doc/comment: better description
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      * chore/storage: lifetime cleanup
      
      * fix/cleanup: trait bounds, cargo-spellcheck + extra explanations
      
      * fix/doc: periods +-
      
      * fix/review: Apply suggestions from code review
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * cleanup: remove explicit lifetime bound, copy -> clone
      
      * fix/review: make trait Lockable contain only static, try_lock should not return Err(Option<L>),
      
      * chore/lifetimes: remove a couple of lifetime bounds which the compiler can figure out
      
      * refactor: migrate to an instant based
      
      * fix/feedback: fix, reduce, rename, docs update pending
      
      * docs/reword: adjust to changed code
      
      * fix/offchain/testing: timestamp and sleep_until shall not block
      
      * chore/lines: lines must < 100 chars
      
      * fix/docs: add missing pub field doc comments
      
      * refactor/x: try_lock does not need to return an Option<_>
      
      * refactor/simplify: a better way of waiting for a lock to resolve
      
      * docs: consistency
      
      * fix/line: < 100
      
      * fix/doctest/use: avoid crate::
      
      * fix/doctest: *
      
      * fix/review: remove unused trait bound
      
      * fix/review: pretty by const fn
      
      * fix/review: reduce default timeout to 20s
      
      * docs: grammar
      
      * fix/review: add with_block_deadline
      
      * doc: revamp BlockNumberProvider documentation to be less frame centric
      
      * chore: fmt
      
      * docs: add missing doc comment
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      d65e6443
    • Gavin Wood's avatar
      Update locks on upgrade (#6172) · 49b15615
      Gavin Wood authored
      49b15615
    • Kian Paimani's avatar
      Fix Election when ForceNone V1 (#6166) · ac641cd5
      Kian Paimani authored
      
      
      * Clean
      
      * Better doc
      
      * Better better doc
      
      * Again better doc
      
      * Fix indemt
      
      * Update frame/staking/src/lib.rs
      
      * Update frame/staking/src/lib.rs
      
      * Better test
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      ac641cd5
  6. May 27, 2020
  7. May 26, 2020
  8. May 25, 2020