Skip to content
  1. Nov 20, 2019
    • Bastian Köcher's avatar
      Fix `forks_should_work_correctly` test · 6c18929a
      Bastian Köcher authored
      When we enabled arbitary precision for `serde_json`, the feature leaked
      through the whole workspace. The given test fails because of some bug in
      serde json when the feature is enabled.
      6c18929a
  2. Nov 19, 2019
  3. Nov 18, 2019
  4. Nov 16, 2019
  5. Nov 15, 2019
  6. Nov 14, 2019
    • Benjamin Kampmann's avatar
      Reorganising the repository - external renames and moves (#4074) · f44873dc
      Benjamin Kampmann authored
      * Adding first rough ouline of the repository structure
      
      * Remove old CI stuff
      
      * add title
      
      * formatting fixes
      
      * move node-exits job's script to scripts dir
      
      * Move docs into subdir
      
      * move to bin
      
      * move maintainence scripts, configs and helpers into its own dir
      
      * add .local to ignore
      
      * move core->client
      
      * start up 'test' area
      
      * move test client
      
      * move test runtime
      
      * make test move compile
      
      * Add dependencies rule enforcement.
      
      * Fix indexing.
      
      * Update docs to reflect latest changes
      
      * Moving /srml->/paint
      
      * update docs
      
      * move client/sr-* -> primitives/
      
      * clean old readme
      
      * remove old broken code in rhd
      
      * update lock
      
      * Step 1.
      
      * starting to untangle client
      
      * Fix after merge.
      
      * start splitting out client interfaces
      
      * move children and blockchain interfaces
      
      * Move trie and state-machine to primitives.
      
      * Fix WASM builds.
      
      * fixing broken imports
      
      * more interface moves
      
      * move backend and light to interfaces
      
      * move CallExecutor
      
      * move cli off client
      
      * moving around more interfaces
      
      * re-add consensus crates into the mix
      
      * fix subkey path
      
      * relieve client from executor
      
      * starting to pull out client from grandpa
      
      * move is_decendent_of out of client
      
      * grandpa still depends on client directly
      
      * lemme tests pass
      
      * rename srml->paint
      
      * Make it compile.
      
      * rename interfaces->client-api
      
      * Move keyring to primitives.
      
      * fixup libp2p dep
      
      * fix broken use
      
      * allow dependency enforcement to fail
      
      * move fork-tree
      
      * Moving wasm-builder
      
      * make env
      
      * move build-script-utils
      
      * fixup broken crate depdencies and names
      
      * fix imports for authority discovery
      
      * fix typo
      
      * update cargo.lock
      
      * fixing imports
      
      * Fix paths and add missing crates
      
      * re-add missing crates
      f44873dc
    • Max Inden's avatar
      *: Refactor authority discovery (key mngmt, runtime API) (#3955) · 6ae3b6c4
      Max Inden authored
      * {core,srml}/authority-discovery: Move generic to specific session keys
      
      * {srml,core}/authority-discovery: Verify signature outside of runtime
      
      Given that the `core/authority-discovery` uses concrete authority
      identifiers and signatures, one can verify a signature with the
      authority discovery within `core`. Given the above, the `verify` runtime
      api is obsolete and thus removed.
      
      * *: Add authority discovery to the set of session keys
      
      * *: Sign authority discovery DHT payload with keystore instead of runtime
      
      Instead of calling a runtime function to sign a dht payload, which then
      invokes the keystore, pass the keystore to the authority discovery
      module and use it directly.
      
      * core/authority-discovery: Give libp2p Kademlia time to start up
      
      * core/authority-discovery: Move authorities priority group name to const
      
      * node/runtime/src/lib.rs: Bump runtime spec version
      
      * *: Fix lints and node/testing test failures
      
      * *: Fix formatting
      
      * core/authority-discovery: Box dht event channel in unit tests
      
      * node/cli/src/service.rs: Fix future import
      
      * node/cli/src/service.rs: Replace unwrap by expect with proof
      
      * node/cli/src/chain_spec: Remove TODO for testnet key generation
      
      * core/authority-discovery/src/lib: Remove scale encoding TODOs
      
      * srml/authority-discovery: Make comment a doc comment
      
      * core/authority-discovery: Remove unused StreamExt import
      
      * node/runtime: Bump impl version to debug CI
      
      * Test ci.
      
      * Change the line width to 100.
      
      * Revert "Change the line width to 100."
      
      This reverts commit edff1f85.
      
      * Fix a check for polkadot to work on forked repos.
      
      * Revert "node/runtime: Bump impl version to debug CI"
      
      This reverts commit 1a90903b.
      
      * Revert "Test ci."
      
      This reverts commit a2c9df57.
      
      * Cargo.lock: Fix wrong lock file merge
      
      * srml/authority-discovery: Keep track of new validator set not upcoming
      
      * core/authority-discovery: Document key retrieval functions
      6ae3b6c4
    • Caio's avatar
    • Sergey Pepyakin's avatar
      Additional wasm diagnostics (#4097) · 25ee6eb4
      Sergey Pepyakin authored
      * Wasm diagnostics
      
      * Pass the error
      
      * Make errno optional
      
      * Cargo.lock
      
      * Log the error
      25ee6eb4
    • Arkadiy Paronyan's avatar
      4da0414d
  7. Nov 12, 2019
  8. Nov 11, 2019
    • Bastian Köcher's avatar
    • 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