- Nov 01, 2019
-
-
Marcio Diaz authored
* Comment local_cache propagation * Add test * Deny cache when modifications are unknown * Fix indentation
-
Caio authored
* Implement Debug for some structures `NetworkConfiguration`, `TransportConfig`, `NodeKeyConfig` and `Secret`. Needs a new release of the `rust-libp2p` crate. This PR is just a reminder. * Explicitly separate `std` and `core` * Add manual implementation for Secret
-
Jim Posen authored
* executor: Use non wasmi-specific execution in tests. * executor: Move all runtime execution tests into tests file. * executor: Use test_case macro to easily execute tests with different Wasm execution methods. * executor: Convert errors to strings with Display, not Debug. * node-executor: Rewrite benchmarks with criterion. They were not passing compilation before and criterion seems to be more widely used in Substrate. * executor: Begin implementation of Wasm runtime. The implementation demonstrates the outline of the execution, but does not link against the external host functions. * executor: Define and implement basic FunctionExecutor. The SandboxCapabilities::invoke is still left unimplemented. * executor: Implement host function trampoline generation. * executor: Instantiate and link runtime module to env module. * executor: Provide input data during wasmtime execution. * executor: Implement SandboxCapabilites::invoke for wasmtime executor. * executor: Integrate and test wasmtime execution method. * executor: Improve FunctionExecution error messages. * Scope the unsafe blocks to be smaller. * Rename TrampolineState to EnvState. * Let EnvState own its own compiler instead of unsafe lifetime cast. * Refactor out some common wasmi/wasmtime logic. * Typos and cosmetic changes. * More trampoline comments. * Cargo.lock update. * cli: CLI option for running Substrate with compiled Wasm execution. * executor: Switch dependency from fork to official wasmtime repo. * Quiet down cranelift logs. * Explicitly catch panics during host calls. We do this to ensure that panics do not cross language boundaries. * Additional checks and clarifications in make_trampoline. * Fixes after merge from master and panic safety for wasmtime instantiation.
-
* authority-discovery: futures 03 Future * make ci happy * use futures timer instead of tokio timer * Update core/authority-discovery/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * remove tokio 01 runtime * trigger build * kill futures01 * rename futures
-
Gavin Wood authored
* Add AllGood event for im_online * Another event just in case. * Bump runtime
-
Pierre Krieger authored
-
- Oct 31, 2019
-
-
Ashley authored
* Retire storage_items * Add storage_items! tests to srml/support/tests * Assimilate genesis config
-
thiolliere authored
* improve doc * Apply suggestions from code review
-
Benjamin Kampmann authored
-
Pierre Krieger authored
-
Pierre Krieger authored
* Extract CLI to separate module in node/cli * Make node/cli compile for WASM * More work on node/cli browser * More work on browser node * More work * More work * Purge a bit the CI script * More clean up * Remove substrate-finality-grandpa from the CI Its tests use tokio, which fails to compile. * Address review * Add rocksdb feature to the service * Fix substrate-service WASM CI * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * Don't WASM-compile substrate-service altogether
-
Jim Posen authored
* grandpa: Write Grandpa authorities to well known key. Instead of requiring execution proofs for Grandpa authorities, this enables much simpler storage proofs. * grandpa: Introduce named AuthorityList type. * grandpa: Storage migration for srml-grandpa module. * Remove no-longer-used GrandpaApi runtime API. * grandpa: Write AuthorityList to storage with encoding version. We expect the AuthorityList type may change (eg. key changes). To make upgrades smoother, include a version in the stored value. * Bump node runtime spec version. * Update srml/grandpa/src/lib.rs Co-Authored-By: André Silva <[email protected]>
-
André Silva authored
* im-online: account for block authorship * im-online: add test for block authorship onlineness * im-online: cleanup * im-online: fix test
-
Jim Posen authored
Passing around Vec<Vec<u8>> everywhere is gross and confusing and breaks encapsulation.
-
Gavin Wood authored
* Add translate item. * fix * doc * fix doc * A test added. * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * address suggestion
- Oct 30, 2019
-
-
* Make sure im-online reports are high priority. * Bump runtime.
-
Denis_P authored
* retry on gitlab system failures * test * 5 retries for the most popular project * max is just 2
-
Pierre Krieger authored
* Fix compiling substrate-chain-spec for WASM * Fix tests
-
Pierre Krieger authored
* Put the DB configuration in an enum * Allow passing a custom database to client-db * Clean-ups in client-db * Fix client tests * Fix service tests * Hopefully fix tests for good this time
😩 * Address review -
Pierre Krieger authored
-
Bastian Köcher authored
As with the native runtime, we now catch all native panics when we execute the wasm runtime. The panics inside the wasm runtime were already catched before by the wasm executor automatically, but any panic in the host functions could bring down the node. The recent switch to execute the native counterpart of the host function in `sr-io`, makes this change required. The native `sr-io` functions just `panic` when something is not provided or any other error occured.
-
Sergey Pepyakin authored
-
Pierre Krieger authored
-
Pierre Krieger authored
-
Pierre Krieger authored
* Make substrate-offchain compile for WASM again * Minor adjustments
-
- Oct 29, 2019
-
-
Ashley authored
-
Bastian Köcher authored
-
André Silva authored
-
Max Inden authored
-
Bastian Köcher authored
-
André Silva authored
* node: add sentry mode flag * cli: extend docs on validator and sentry modes * service: add missing field in test Configuration * node: Display instead of Debug when printing node role
-
André Silva authored
* grandpa: fix handling of catch-up requests * grandpa: fix tests * grandpa: add test for catch-up handling when observer disabled * grandpa: extend doc comment * grandpa: rename existing catch up test
-
Gavin Wood authored
* Introduce new option "always force new era". * Take appropriate action, even for small offences. - Deselect the offender in all circumstances - Ensure that deselection forces a new era - Ensure that forcing a new era works with the always-forcing. * Bump runtime
-
Kian Paimani authored
* Initial sotrage migration * Fix some deps * test added * another dep removed * Update srml/elections-phragmen/src/lib.rs Co-Authored-By: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-Authored-By: Bastian Köcher <[email protected]> * a bit nicer
-
Ashley authored
* Change DefaultMaxDepth from 1024 to 32 * Switch sr-arithmetic benchmarking to criterion * Update core/sr-arithmetic/Cargo.toml Co-Authored-By: Bastian Köcher <[email protected]> * Update core/sr-arithmetic/benches/bench.rs Co-Authored-By: Bastian Köcher <[email protected]> * Test on variable limb lengths * Change license * Rework division
-
- Oct 28, 2019
-
-
Bastian Köcher authored
* Remove footgun around session keys/handlers - `OpaqueKeys` now has an associated type `KeyTypeIdProviders`. This can be used in the runtime as input for `SessionHandler` from the session trait. - `impl_opaque_keys` now works with modules and extracts the `KeyTypeId` from the module directly. - Added some checks to the `session` storage initialization that checks that the `SessionHandler` and `Keys` use the same number of keys and that the order is equal. * Update core/sr-primitives/src/traits.rs
-
Tomasz Drwięga authored
* Fix a import+prune+replace case for multi-provides transactions. * Fix tests.
-
Nikolay Volf authored
* Working bench for 50 sequental * configured benches * fix warnings * Optimize and fix issues * add preamble * Fix benchmarks. * fix compilation * remove unneeded features for now
-
Kian Paimani authored
* initial version for testing * New version that compiles * optional at block parameter * Fix some more view grumbles. * Update srml/transaction-payment/src/lib.rs
-