Skip to content
  1. Feb 06, 2019
    • Sergei Pepyakin's avatar
      Indices maintenance (#1705) · 7d8ae2df
      Sergei Pepyakin authored
      * Migrate the indicies crate to 2018 edition.
      
      * Use .cloned() instead of .map(|x| x.clone())
      
      * Update documentation.
      7d8ae2df
    • Wei Tang's avatar
      Update trie to v0.11 (#1704) · 1d0049ee
      Wei Tang authored
      * Update trie to v0.11
      
      * Update wasm runtimes
      1d0049ee
    • Gregory Terzian's avatar
      Rewrite network protocol/service to use channels (#1340) · a2d2ed69
      Gregory Terzian authored
      * rewrite network protocol/service to use channels
      
      * remove use of unwrap
      
      * re-introduce with_spec
      
      * remove unnecessary mut
      
      * remove unused param
      
      * improve with_spec, add with_gossip
      
      * rename job to task
      
      * style: re-add comma
      
      * remove extra string allocs
      
      * rename use of channel
      
      * turn TODO into FIXME
      
      * remove mut in match
      
      * remove Self in new
      
      * pass headers by value to network service
      
      * remove network sender from service
      
      * remove TODO
      
      * better expect
      
      * rationalize use of network sender in ondemand
      a2d2ed69
    • gabriel klawitter's avatar
      fix cache clearing error (#1703) · 8aae19e2
      gabriel klawitter authored
      8aae19e2
    • Bastian Köcher's avatar
      Make API backwards compatible with CC (#1697) · 190393d4
      Bastian Köcher authored
      * Rework how a runtime api calls into the runtime
      
      Now we generate a default implementation for each api call that calls
      a generated method `method_runtime_api_impl`. This newly generated
      method is the one that will be implemented by the `impl_runtime_apis`
      macro in the runtime for the client side.
      
      * Support `changed_in` to change runtime api function signatures
      
      * Update documentation
      
      * Fixes tests
      
      * Implement checking the api version with a predicate
      
      * Make the implementation backwards compatible with CC
      
      * Update wasm files after merge
      
      * Check for wasm runtime differences by building master and current branch
      
      * Update spec_version and wasm files
      
      * Fixes
      
      * Revert my changes
      
      * Remove `patch.crates-io` from test-runtime
      190393d4
    • Wei Tang's avatar
      Support multi-hash in multi-trie via PlainDB (#1106) · 1ba7e35c
      Wei Tang authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Temporarily pin trie to #2
      
      * Use generic and delay trait object casting
      
      Rust does not support super-trait upcasting
      
      * Add PlainDB impl for Ephemeral
      
      * Add PlainDB trait alias for completeness
      
      * Use PlainDB for test TrieBackendStorage fetch
      
      We always check overlay first for a storage fetch, which already checked null data. Using PlainDB here makes it work
      nicer with other PlainDB overlays.
      
      * Update trie reference
      
      * Use HashDBRef in places when approriate
      
      * Use PlainDBRef in places when approriate
      
      * Update trie crate reference
      
      * Remove unused HashDB::keys
      
      * Patch dependencies
      
      * Fix cargolock
      
      * Update cargo lock again
      1ba7e35c
    • Gav Wood's avatar
      Add OnInitialise handler. (#1690) · fa2e3234
      Gav Wood authored
      * Add OnInitialise handler.
      
      Closes #1686
      
      * Fix typo
      
      * Fix wasm build
      
      * Add tests for initialise and finalise.
      fa2e3234
  2. Feb 05, 2019
  3. Feb 04, 2019
    • Andrew Jones's avatar
      Convert to jsonrpc-derive, use jsonrpc-* from crates.io (#1679) · 822c7ded
      Andrew Jones authored
      * use local version of jsonrpc to test
      
      * Convert rpcs to test out in progress jsonrpc-derive api
      
      * Revert "Convert rpcs to test out in progress jsonrpc-derive api"
      
      This reverts commit 69231784171180d9bdb1bde1fcfd20f233357b17.
      
      * Convert to new jsonrpc-derive macro
      
      * Add RPC trait Metadata comment
      
      * Break up long pubsub attr lines
      
      * Update to 10.0.1 jsonrpc-* from crates.io
      
      * Remove typed::Subscriber prefixes
      
      * Remove empty comment
      822c7ded
    • André Silva's avatar
      Split substrate-finality-grandpa (#1675) · 57ac31a0
      André Silva authored and asynchronous rob's avatar asynchronous rob committed
      * core: grandpa: move consensus_changes to its own submodule
      
      * core: grandpa: move justification to its own submodule
      
      * core: grandpa: move environment to its own submodule
      
      * core: grandpa: move block import to its own submodule
      57ac31a0
    • Michael Müller's avatar
      Replace allocator with freeing-bump allocator (#1656) · bf49b00c
      Michael Müller authored
      * Link substrate issue tracker in panic
      
      * Replace allocator with freeing-bump allocator
      
      * Revert me: Panic on double allocate/free
      
      * Revert me: Add shallow benchmark for a first impression
      
      * Revert "Revert me: Add shallow benchmark for a first impression"
      
      This reverts commit 5f0d4df39395eb55c9ec2d6fe1ed992533475fec.
      
      * Revert "Revert me: Panic on double allocate/free"
      
      This reverts commit a114df7d6cfc21d60af396ccca02e5c8205db6ce.
      
      * Rename heap to FreeingBumpHeapAllocator
      
      * Rename heap.rs to allocator.rs
      
      * Use sandbox heap
      
      * Move functions
      
      * Move variables into constructor
      
      * Revert "Move variables into constructor"
      
      This reverts commit f46fa0d0cdf4ea97760ccce58003b0d33f433743.
      
      * Remove unnecessary casts
      
      * Add comment for new parameter
      
      * Improve typing
      
      * Move variables into constructor
      
      * Avoid dynamic allocation
      
      * Remove unused variables
      
      * Revert "Link substrate issue tracker in panic"
      
      This reverts commit 32dfa1d02bcf881d1d514a930fcc0fdf3c5f8e08.
      
      In the meantime this was fixed in https://github.com/paritytech/substrate/pull/1667.
      
      * Improve naming
      
      * Only assert in debug mode
      
      * Remove dynamic allocation
      bf49b00c
    • Arkadiy Paronyan's avatar
      38d7eb66
    • Wei Tang's avatar
      Refactor aura and generalize slot worker (#1632) · 1a3fa9eb
      Wei Tang authored
      * Refactor aura and generalize slot worker
      
      * Fix bound issues
      
      * Change copyright to 2019
      
      * Write deps minor version
      
      * Don't pass inherent_data_providers
      
      * Revert "Write deps minor version"
      
      This reverts commit 6d886702a899bfbdbbc609c0536e8abab2bc012c.
      
      * Fix merge issues
      1a3fa9eb
    • Bastian Köcher's avatar
    • Arkadiy Paronyan's avatar
      Fixed panic handling (#1667) · 6c341f4e
      Arkadiy Paronyan authored
      6c341f4e
  4. Feb 03, 2019
  5. Feb 02, 2019
  6. Feb 01, 2019
  7. Jan 31, 2019