Skip to content
  1. Nov 02, 2019
  2. Nov 01, 2019
    • Kian Paimani's avatar
      Optional serde for phragmen support (#3994) · ec7c6cf1
      Kian Paimani authored
      
      
      * Add serde to phragmen
      
      * Update lock file
      
      * and bump a version
      
      * and bump a version again
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * revert impl-tarit for tuple update
      
      * revert session.
      
      * Revert "revert session."
      
      This reverts commit 98086c9d.
      
      * Revert "revert impl-tarit for tuple update"
      
      This reverts commit 28a7fdde.
      ec7c6cf1
    • Benjamin Kampmann's avatar
      expose offchain worker storage prefix (#3977) · 17aab52a
      Benjamin Kampmann authored
      * expose offchain worker storage prefix
      
      * add docs
      
      * move STORAGE_PREFIX to primitives
      17aab52a
    • Benjamin Kampmann's avatar
      Move config path generation into the service config for reusability (#3978) · d5565600
      Benjamin Kampmann authored
      
      
      * Move config path generation into the service config for reusability
      
      * Make NoCostum Default and fix tests
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * remove function not used anymore
      
      * Make path into an option
      
      * remove database_path function and call it directly
      
      * remove helper functions, use consts
      d5565600
    • Jim Posen's avatar
      executor: Move runtime version caching out of WasmRuntime interface. (#3993) · 72d5321a
      Jim Posen authored
      * executor: Move runtime caching out of WasmRuntime interface.
      
      The runtime version is now fetched and cached at a higher level, not
      within the WasmRuntime trait implementations.
      
      * executor: Require successful querying of runtime version.
      72d5321a
    • Bastian Köcher's avatar
    • Marcio Diaz's avatar
      Possible fix to storage cache (#3989) · a2191eed
      Marcio Diaz authored
      * Comment local_cache propagation
      
      * Add test
      
      * Deny cache when modifications are unknown
      
      * Fix indentation
      a2191eed
    • Caio's avatar
      Implement Debug for some structures (#3941) · 964eeb6b
      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
      964eeb6b
    • Jim Posen's avatar
      Integrate Wasmtime for runtime execution (#3869) · c2975363
      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.
      c2975363
    • Weiliang Li's avatar
      authority-discovery: futures 03 Future (#3848) · f237d8c9
      Weiliang Li authored and Pierre Krieger's avatar Pierre Krieger committed
      
      
      * 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: default avatarBastian Köcher <[email protected]>
      
      * remove tokio 01 runtime
      
      * trigger build
      
      * kill futures01
      
      * rename futures
      f237d8c9
    • Gavin Wood's avatar
      Add events for im_online (#3991) · 595f18e6
      Gavin Wood authored
      * Add AllGood event for im_online
      
      * Another event just in case.
      
      * Bump runtime
      595f18e6
    • Pierre Krieger's avatar
  3. Oct 31, 2019
  4. Oct 30, 2019
  5. Oct 29, 2019