Skip to content
  1. Nov 01, 2019
    • Marcio Diaz's avatar
      Possible fix to storage cache (#3989) · 596ac7bd
      Marcio Diaz authored
      * Comment local_cache propagation
      
      * Add test
      
      * Deny cache when modifications are unknown
      
      * Fix indentation
      596ac7bd
    • Caio's avatar
      Implement Debug for some structures (#3941) · d5f61d52
      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
      d5f61d52
    • Jim Posen's avatar
      Integrate Wasmtime for runtime execution (#3869) · 8676c25e
      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.
      8676c25e
    • Weiliang Li's avatar
      authority-discovery: futures 03 Future (#3848) · 34bd4c33
      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
      34bd4c33
    • Gavin Wood's avatar
      Add events for im_online (#3991) · 26f4084f
      Gavin Wood authored
      * Add AllGood event for im_online
      
      * Another event just in case.
      
      * Bump runtime
      26f4084f
    • Pierre Krieger's avatar
  2. Oct 31, 2019
  3. Oct 30, 2019
  4. Oct 29, 2019
  5. Oct 28, 2019
    • Bastian Köcher's avatar
      Remove footgun around session keys/handlers (#3949) · 057636fd
      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
      057636fd
    • Tomasz Drwięga's avatar
      Fix a import+prune+replace case for multi-provides transactions. (#3939) · 06433c98
      Tomasz Drwięga authored
      * Fix a import+prune+replace case for multi-provides transactions.
      
      * Fix tests.
      06433c98
    • Nikolay Volf's avatar
      Basic extrinsic pool benchmarks (#3922) · 448ce2ad
      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
      448ce2ad
    • Kian Paimani's avatar
      RPC to query transaction fee + weight + info (#3876) · 7e87dfdc
      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
      7e87dfdc