Skip to content
  1. Dec 07, 2018
  2. Dec 06, 2018
  3. Dec 05, 2018
  4. Dec 04, 2018
  5. Dec 03, 2018
    • Luke Schoen's avatar
      docs: (#1200) · 59e1801c
      Luke Schoen authored
      Fixes ordering of command-line arguments. `substrate --help` shows usage as substrate `[FLAGS] [OPTIONS] [SUBCOMMAND]`, where `--chain=staging` is one of the possible OPTIONS, and `build-spec` is a possible SUBCOMMAND.
      The ordering should be `substrate --chain=staging build-spec` instead.
      
      Relates to issue raised by user attente in Riot https://matrix.to/#/!HzySYSaIhtyWrwiwEV:matrix.org/$154385734133299JuBZU:matrix.parity.io
      59e1801c
    • asynchronous rob's avatar
      make block builder and construct_runtime! generic over inherent-data (#1191) · 63980e37
      asynchronous rob authored
      * make block builder generic over inherent-data
      
      * construct_runtime has you specify inherent data type
      
      * get all tests to compile
      63980e37
    • Bastian Köcher's avatar
      Cleanup the cli interface (#1194) · 69a288e5
      Bastian Köcher authored
      Parameters like `--dev`, `--base-path` or `--chain` were replicated
      for each subcommand and were also present in the "top". This pr removes
      these parameters from the subcommands.
      The subcommands also ignored stuff like `--dev` as it was only read in
      the top matcher, that did not look into the subcommand matchers.
      Now, if you specify one of the parameters for a subcommand, you will get
      an error instead of silently ignoring it.
      69a288e5
    • Bastian Köcher's avatar
    • asynchronous rob's avatar
      40e6c752
  6. Dec 01, 2018
  7. Nov 30, 2018
    • Drew Stone's avatar
      Implement macro for session change trait over arbitrary tuples (limit 19) (#1177) · 2327b213
      Drew Stone authored
      * Implement macro for session change trait
      
      * Consolidate tuple macro into one
      2327b213
    • Bastian Köcher's avatar
      Make `AuthorityId` serialize/deserialize to/from `ss58` (#1180) · 1dc56b48
      Bastian Köcher authored
      * Make `AuthorityId` serialize/deserialize to/from `ss58`
      
      * Updates the wasm files
      1dc56b48
    • Bastian Köcher's avatar
      Rewrite `impl_runtime_apis!` and `decl_runtime_apis!` as proc-macro (#1174) · ed421c56
      Bastian Köcher authored
      
      
      * Rewrites `impl_runtime_apis!` macro as `proc-macro`
      
      * Adds some documentation
      
      * Require the `impl_runtime_apis` to use a path for accessing the trait
      
      * Make the runtime implement `GetNodeBlockType`
      
      * Moves first chunk of runtime api code into the `impl_runtime_apis` macro
      
      This also renames `ClientWithApi` into `RuntimeApi`.
      
      * Make `impl_runtime_apis` use `runtime` api version automatically
      
      * `decl_runtime_apis` automatically adds `Block: BlockT` as generic parameter
      
      * Remove function generic arguments in block builder api
      
      * Remove some unnused stuff from the `decl_runtime_apis` macro
      
      * Make `InherentData` working again
      
      * Make `impl_runtime_apis!` implement the `RuntimeApi` side as well
      
      * Make it compile again after rebasing with master
      
      * Split `sr-api-macros` into multiple files
      
      * Reimplement `decl_runtime_apis!` as proc_macro
      
      * Use `decl_runtime_apis!` for `Core` as well and improve error reporting
      
      * Adds documentation for `decl_runtime_apis!` and `impl_runtime_apis!`
      
      * Move some code
      
      * Adds compile fail tests
      
      * Adds a test and fixes some bugs
      
      * Make `impl_runtime_apis!` support `_` as parameter name
      
      * Fixes build errors with wasm
      
      * Wasm rebuild after master rebase
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarbkchr <[email protected]>
      
      * Addresses some grumbles
      
      * Adds test to ensure that method signatures need to match
      
      * New wasm files
      ed421c56
    • Guanghua Guo's avatar
      Delete unused extern (#1178) · 309f627d
      Guanghua Guo authored
      309f627d
  8. Nov 27, 2018
  9. Nov 26, 2018
    • asynchronous rob's avatar
      GRANDPA: add commit messages (#1151) · 59af4de4
      asynchronous rob authored
      
      
      * get compiling with latest version of grandpa
      
      * generalize UntilImported to prepare for waiting for commit message targets
      
      * extract until_imported out to own module
      
      * logic for blocking commits until enough blocks imported
      
      * add tests for commit message blocking logic
      
      * pass through commit mesage round number as well
      
      * extract communication streams to own module
      
      * add Error implementation for ExitOrError
      
      * introduce stream adapter for checking commit messages
      
      * output sink for commits
      
      * implement the unimplemented
      
      * remove extra line
      
      * update to latest version of grandpa api
      
      * update finality-grandpa to 0.4.0
      
      * Use filter_map earlier when checking incoming commits messages
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * address some grumbles
      59af4de4
    • André Silva's avatar
      core, node: use grandpa block import for locally sealed aura blocks (#1167) · b7e0db72
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core, node: use grandpa block import for locally sealed aura blocks
      
      * core: impl DerefMut for FullComponents
      
      * node: take grandpa_import_setup from service config
      b7e0db72
    • Svyatoslav Nikolsky's avatar
      fix purge-chain cli option (#1164) · 675c3b05
      Svyatoslav Nikolsky authored
      675c3b05
  10. Nov 23, 2018
  11. Nov 22, 2018
  12. Nov 21, 2018
    • asynchronous rob's avatar
      Minimal switch of substrate-node to GRANDPA /Aura (#1128) · 11fe84a7
      asynchronous rob authored
      
      
      * add beginnings of SRML grandpa library
      
      * get srml-grandpa compiling
      
      * tests for srml-grandpa
      
      * add optional session integration to grandpa SRML
      
      * start integration into node runtime
      
      * Allow extracting pending change from header digest
      
      * Make it compile on wasm
      
      * make tests compile again
      
      * Move Authority Key fetching into service, simplify service factory construction
      
      * Generalize Authority Consensus Setup system
      
      * Add Authority Setup Docs
      
      * Allow CLI params to be extensible
      
       - move params to structopts
       - split parsing and default command execution
       - add custom config to node
       - extended parsing of custom config
       - extending params via structop's flatten
      
      * Minor fixes on cli extension params:
       - added docs
       - re-add actual app name, rather than node-name
       - make strategy and subcommand optional
      
      * better cli params
      
      * synchronize GRANDPA and normal node authorities
      
      * Implement grandpa::network for gossip consensus
      
      * run_grandpa in Node
      
      * Fix missed merge error
      
      * Integrate grandpa import queue
      
      * more specific type def
      
      * link up linkhalf and import block
      
      * make grandpa future send
      
      * get compiling
      
      * Fix new params convention and license header
      
      * get it running
      
      * rebuild node runtime WASM
      
      * change logging level
      
      * Update node/cli/src/params.rs
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * Update node/cli/src/params.rs
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * Update node/cli/src/lib.rs
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * Update node/runtime/src/lib.rs
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * Update node/cli/src/lib.rs
      
      Co-Authored-By: default avatarrphmeier <[email protected]>
      
      * Clean up and Fixme for mutable config
      
      * Move GrandpaService Integration into grandpa, feature gated but on per default
      
      * Fixing grandpa runtime module test
      
      * Update wasm runtime hashes for tests
      
      * GRANDPA: use post-header hash when logging scheduled changes
      
      * add an extra bit of logging to authorities
      
      * fixing missing constrain
      
      * remove old code
      
      * move `NewAuthorities` to an event in srml-grandpa
      
      * fix node-executor tests to use grandpa log
      
      * Remove GossipConsensus from tests, use newly provided sync-feature, fixes tests
      
      * Update to latest wasm runtimes
      
      * address grumbles
      
      * address grumbles
      
      * only derive deserialize when using std
      
      * Clean up use of Deserialize
      11fe84a7
    • Gav Wood's avatar
      Remove unneeded bounds. (#1149) · 84da9d4a
      Gav Wood authored
      * Remove unneeded bounds.
      
      * Other wasm.
      84da9d4a
  13. Nov 20, 2018
  14. Nov 19, 2018
  15. Nov 18, 2018
    • Bastian Köcher's avatar
      Revert and redo #952 (#1133) · d149f335
      Bastian Köcher authored
      * Revert "Pruning changes trie without digests (#952)"
      
      This reverts commit 6f9a505f.
      
      * pruning changes tries without digests
      
      * u64::max_value()
      
      * Update wasm files and fix merge conflict
      
      * Fixes tests
      d149f335
  16. Nov 17, 2018
  17. Nov 16, 2018