1. Jun 04, 2020
    • Hernando Castano's avatar
      Use Subscription Manager from `jsonrpc-pubsub` (#6208) · f028a509
      Hernando Castano authored
      * Bump jsonrpc pubsub, core, http, and ws
      
      Right now these are the packages which _need_ to be updated
      so I can just the latest `jsonrpc-pubsub` code. Once a release
      it cut upstream the rest of the dependencies should be updated
      as well.
      
      * Use jsonrpc-pubsub's SubscriptionManager
      
      This places sc-rpc-api::Subscriptions
      
      * Bump jsonrpc-core outside of sc-rpc-*
      
      * Update client/rpc tests
      
      Right now one of the `author` tests is failing, I
      need to think a bit about how best to fix it.
      
      * Remove Subscriptions manager
      
      There's no need for this implementation since we're
      using the one from `jsonrpc-pubsub` now
      
      * Fix author RPC test
      
      This test used to check for a numerial subscription ID,
      whereas now it uses a string based ID which is the default
      provided by `jsonrpc-pubsub`'s subscription manager.
      
      * Remove unused NumericIdProvider
      
      * Add missing bracket
      
      Removed one too many with that last one, lol
      
      * Bump `jsonrpc` to v14.2
      
      There's an exception though. `jsonrpc-derive` cannot be bumped
      past v14.0.5 just yet since it has a dependency on `quote` pinned
      to v1.0.1. This means that at the moment it won't build on Substrate
      since it's using v1.0.3.
      
      * Track `jsonrpc-derive` master branch
      
      * Bump `quote` version to v1.0.6
      
      * Bump `jsonrpc-derive` to v14.2.1
      
      This includes support for `quote` v1.0.6
      f028a509
    • zx9w's avatar
      The link to getting-started was obsolete. (#6238) · b86eeb2f
      zx9w authored
      
      
      * The link to getting-started was obsolete.
      
      * link to installation and tutorials
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      b86eeb2f
  2. Jun 03, 2020
  3. Jun 02, 2020
  4. Jun 01, 2020
  5. May 30, 2020
  6. May 29, 2020
  7. 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
  8. May 27, 2020
  9. May 26, 2020