- Sep 12, 2019
-
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
-
- Sep 11, 2019
-
-
André Silva authored
* grandpa: ignore result of voter command send * grandpa: avoid race condition on environment::finalize_block
-
Sergey Pepyakin authored
* Add a failing test case * Actual fix * read_child_storage, fix wasm side * Bump the impl version. * Alternative (#3597) * Update with_std.rs * Update with_std.rs * Update wasm_executor.rs * Update wasm_executor.rs * Update with_std.rs * Update wasm_executor.rs
-
Bastian Köcher authored
* Switch to new proc-macro crate for implementing traits for tuples * Switch back to stable `Cargo.lock` format * Reduce tuple number to match rusts default implementation
-
Kian Paimani authored
-
André Silva authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
Co-Authored-By: Bastian Köcher <[email protected]>
-
Tomasz Drwięga authored
-
Gavin Wood authored
* Minor cleanups and tests * Add another test * fix * Fix tests * Fix tests * Update srml/staking/src/tests.rs Co-Authored-By: thiolliere <[email protected]>
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Shawn Tabrizi authored
* Use `--release` for running a Substrate dev node Otherwise users may run into block production time problems. * Update README.adoc
-
Svyatoslav Nikolsky authored
* do not panic during execution proof check * Update core/state-machine/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Update core/state-machine/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Update core/state-machine/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * BackendTrustLevel enum * up runtime version * Update core/state-machine/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Update core/state-machine/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * fixed some grumbles * Update core/state-machine/src/testing.rs Co-Authored-By: Gavin Wood <[email protected]> * Update core/state-machine/src/lib.rs Co-Authored-By: Gavin Wood <[email protected]> * mov where * spaces -> tabs (to restart build)
-
- Sep 10, 2019
-
-
Bastian Köcher authored
* Start refactoring state-machine crate * More improvement to state-machine * Fix tests compilation on master and remove warnings * Fix compilation * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Update core/state-machine/src/basic.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Line width * Update core/primitives/src/storage.rs Co-Authored-By: Benjamin Kampmann <[email protected]> * Update core/state-machine/src/error.rs Co-Authored-By: Benjamin Kampmann <[email protected]> * Review feedback
-
Tomasz Drwięga authored
-
Bastian Köcher authored
* Adds new wrapper traits for wasm executor * Add new crate `substrate-wasm-interface` Thew new crate holds types and traits for the communicating between the wasm runtime and the host. * Rewrite externals with new macro etc * Fix vec initialization * Make executor tests working * Remove unused code + warnings * Introduce `Pointer` and `WordSize` for working with wasm * Fix tests and compilation * Fix compilation * Apply suggestions from code review Co-Authored-By: Sergei Pepyakin <[email protected]> * Review feedback * Remove unused conversions * Make each host function its own struct `HostFunctions` now just returns these function structs. Each function can be executed by using one of the function structs. The inherent host functions are now moved to the "normal" host functions. * Remove byteorder * Add floating point types * Make pointer interface more safe * Add type alias for wasm-interface Result * More review comments
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Bastian Köcher authored
* Augment every task spawned by Service with `on_exit` * Add CI test that the node exits
-
Benjamin Kampmann authored
* Add section regarding polkadot PRs. * Also add the comment in the PR template * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> Co-Authored-By: Robert Habermeier <[email protected]> * Rephrase Step 1, add command
-
- Sep 09, 2019
-
-
Svyatoslav Nikolsky authored
-
* grandpa: don't request justification for consensus changes on full node * sync: finalize justification/finality proof requests in-order * sync: ignore result of try_finalize_root on justification import
-
- Sep 07, 2019
-
-
Xiliang Chen authored
* fix unused var warning * fix node-tempalte build issue
-
- Sep 06, 2019
-
-
Sergey Pepyakin authored
* Grammar. * Update docs for wasm executor. * Update core/executor/src/lib.rs Co-Authored-By: André Silva <[email protected]>
-
Caio authored
Although simple, the current `Maybe*` trait implementations are based on a manual approach that uses some code duplication. Now this duplication is removed using a declarative macro. Tested locally, the modification don't seem to affect building times.
-
Arkadiy Paronyan authored
* Add transactions from retracted blocks back to the pool * Line width * Reverse retracted
-
Kian Paimani authored
* Better testing for lock types in staking/democracy. * Update docs. * Update srml/executive/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update srml/executive/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Fix test
-
Max Inden authored
With the *authority-discovery* module an authoritative node makes itself discoverable and is able to discover other authorities. Once discovered, a node can directly connect to other authorities instead of multi-hop gossiping information. 1. **Making itself discoverable** 1. Retrieve its external addresses 2. Adds its network peer id to the addresses 3. Sign the above 4. Put the signature and the addresses on the libp2p Kademlia DHT 2. **Discovering other authorities** 1. Retrieve the current set of authorities 2. Start DHT queries for the ids of the authorities 3. Validate the signatures of the retrieved key value pairs 4. Add the retrieved external addresses as ~reserved~ priority nodes to the peerset * node/runtime: Add authority-discovery as session handler The srml/authority-discovery module implements the OneSessionHandler in order to keep its authority set in sync. This commit adds the module to the set of session handlers. * core/network: Make network worker return Dht events on poll Instead of network worker implement the Future trait, have it implement the Stream interface returning Dht events. For now these events are ignored in build_network_future but will be used by the core/authority-discovery module in subsequent commits. * *: Add scaffolding and integration for core/authority-discovery module * core/authority-discovery: Implement module logic itself
-