1. Feb 06, 2019
    • Bastian Köcher's avatar
      Make API backwards compatible with CC (#1697) · 95e9be2c
      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
      v0.10
      95e9be2c
    • Wei Tang's avatar
      Support multi-hash in multi-trie via PlainDB (#1106) · dd3fdeed
      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
      dd3fdeed
    • Gav Wood's avatar
      Add OnInitialise handler. (#1690) · be46b0c8
      Gav Wood authored
      * Add OnInitialise handler.
      
      Closes #1686
      
      * Fix typo
      
      * Fix wasm build
      
      * Add tests for initialise and finalise.
      be46b0c8
  2. Feb 05, 2019
  3. Feb 04, 2019
  4. Feb 03, 2019
  5. Feb 02, 2019
  6. Feb 01, 2019
  7. Jan 31, 2019
  8. Jan 30, 2019