Skip to content
  1. Nov 11, 2019
    • Bastian Köcher's avatar
      Refactor sr-api to not depend on client anymore (#4086) · d2c4b0db
      Bastian Köcher authored
      
      
      * Refactor sr-api to not depend on client anymore
      
      * Fix benches
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * Apply suggestions from code review
      d2c4b0db
    • Max Inden's avatar
      [WIP] .gitlab-ci.yml: Fix a check for polkadot to work on forked repos v2 (#4078) · a3c5b77c
      Max Inden authored
      * Fix a check for polkadot to work on forked repos.
      
      * .gitlab-ci.yml: Add `git diff` for CI debugging
      
      * More future proof and less redundant.
      
      * .gitlab-ci.yml: Improve comments and refactor sed command
      
      * .gitlab-ci.yml: Remove two commas in a row
      
      * .gitlab-ci.yml: Ensure to match branch statements at the end
      
      * .gitlab-ci.yml: Reference concrete commit
      
      When one does not specify the concrete commit, cargo-update tries to
      checkout 'master' in the Substrate repository.
      
      * .gitlab-ci.yml: Remove 'git diff' debug line
      a3c5b77c
    • Talha Cross's avatar
    • Arkadiy Paronyan's avatar
      5216fe11
    • Arkadiy Paronyan's avatar
      Cleanup filtered messages (#4082) · 223960f1
      Arkadiy Paronyan authored
      223960f1
    • Tomasz Drwięga's avatar
      Typed chain state queries over rpc. (#4079) · 50c1cf5e
      Tomasz Drwięga authored
      * Create typed client helpers for querying chain state storage items declared by
      'decl_storage!'.
      
      * Update substrate-rpc-custom functions to use async await syntax.
      
      * The implementation of substrate-rpc-custom was a bit verbose and repetitive.
      This commit makes the implementation simpler by intruducing a struct which
      represents query for a typed value in storage. The new struct is called
      StorageQuery. A StorageQuery wraps a raw StorageKey but is not directy
      constructable. To construct a StorageQuery, the user must supply an
      implementation of a srml_support::storage::generator trait such as
      StorageValue or StorageMap.
      
      A type implementing one of the generator traits can be aquired by:
      A) marking a storage item as pub within a call to decl_storage (recommended)
      or B) implementing one of the generator types manually.
      
      While option B may sometimes me necessary, it's not recommended because
      separate manual implementaions may lose sync with the original definition.
      
      * drop unused dependency
      
      * fmt
      
      * Remove unnecessary pub from Authorities field in test-runtime storage
      declaration.
      
      This field was added to support a test in an earlier commit. The
      test no longer relies on test-runtime so the change can be reverted.
      
      * Move it to srml as support extension.
      
      * Fix long lines.
      
      * Fix.
      50c1cf5e
    • Arkadiy Paronyan's avatar
  2. Nov 10, 2019
  3. Nov 09, 2019
  4. Nov 08, 2019
  5. Nov 07, 2019