- Dec 03, 2018
-
-
asynchronous rob authored
* make block builder generic over inherent-data * construct_runtime has you specify inherent data type * get all tests to compile
-
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.
-
Bastian Köcher authored
-
asynchronous rob authored
-
- Dec 01, 2018
-
-
Andrew Jones authored
* Default to local bootnode with build-spec * Rexport libp2p stuff via network crate * Remove unused imports and fix where formatting * Remove spurious blank lines * Remove unnecessary else clause
-
- Nov 30, 2018
-
-
Drew Stone authored
* Implement macro for session change trait * Consolidate tuple macro into one
-
Bastian Köcher authored
* Make `AuthorityId` serialize/deserialize to/from `ss58` * Updates the wasm files
-
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: bkchr <[email protected]> * Addresses some grumbles * Adds test to ensure that method signatures need to match * New wasm files
-
Guanghua Guo authored
-
- Nov 27, 2018
-
-
Benjamin Kampmann authored
* Remove Proposer from Service Refs #1021, #1158
-
Guanghua Guo authored
-
Benjamin Kampmann authored
* Fix params: they are kebab not snake-cased * Fix docs missing in cli * remove unsed macro-use
-
Benjamin Kampmann authored
* Create gossip_consensus_message helper on service, simplify consensus_gossip access
-
- Nov 26, 2018
-
-
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: rphmeier <[email protected]> * address some grumbles
-
* core, node: use grandpa block import for locally sealed aura blocks * core: impl DerefMut for FullComponents * node: take grandpa_import_setup from service config
-
Svyatoslav Nikolsky authored
-
- Nov 23, 2018
-
-
asynchronous rob authored
-
- Nov 22, 2018
-
-
- Nov 21, 2018
-
-
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: rphmeier <[email protected]> * Update node/cli/src/params.rs Co-Authored-By: rphmeier <[email protected]> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <[email protected]> * Update node/runtime/src/lib.rs Co-Authored-By: rphmeier <[email protected]> * Update node/cli/src/lib.rs Co-Authored-By: rphmeier <[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
-
Gav Wood authored
* Remove unneeded bounds. * Other wasm.
-
- Nov 20, 2018
-
-
Luke Schoen authored
-
- Nov 19, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
Wei Tang authored
-
Svyatoslav Nikolsky authored
* fix light client startup * fix grumbles
-
- Nov 18, 2018
-
-
Bastian Köcher authored
* Revert "Pruning changes trie without digests (#952)" This reverts commit 468d4698. * pruning changes tries without digests * u64::max_value() * Update wasm files and fix merge conflict * Fixes tests
-
- Nov 17, 2018
-
-
Svyatoslav Nikolsky authored
* pruning changes tries without digests * u64::max_value()
-
- Nov 16, 2018
-
-
Sergey Pepyakin authored
* Update wasmi to 0.4.2 * Add simple benchmarks.
-
Bastian Köcher authored
This makes it possible to support `GenesisConfig`s that to do not use generic parameter.
-
Bastian Köcher authored
* Make sure to call the runtime trait functions The runtime trait functions export their functions as extern c functions. These functions itself call the trait functions. This commit makes sure that the trait functions are called and not functions with the same name that are implemented for the runtime. * Update the wasm files
-
asynchronous rob authored
* add extra verification for aura * fix tests * adjust documentation wording
-
asynchronous rob authored
-
Bastian Köcher authored
* Revert "start to refactor block import wrapper a bit" This reverts commit b919de49. * Refactor grandpa stuff to get tests almost compiling * Fixes after rebase * Fixes merge compile errors
-
- Nov 15, 2018
-
-
asynchronous rob authored
-
asynchronous rob authored
-
asynchronous rob authored
-
Bastian Köcher authored
-
asynchronous rob authored
-
asynchronous rob authored
-
azban authored
-