1. Feb 06, 2019
    • Wei Tang's avatar
      Update trie to v0.11 (#1704) · 2056e4cd
      Wei Tang authored
      * Update trie to v0.11
      
      * Update wasm runtimes
      2056e4cd
    • Gregory Terzian's avatar
      Rewrite network protocol/service to use channels (#1340) · 64cde6f9
      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
      64cde6f9
    • 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 02, 2019
  5. Feb 01, 2019
  6. Jan 31, 2019
  7. Jan 30, 2019
    • cheme's avatar
      Merge metadata by module (#1428) · 6f3b43ee
      cheme authored
      Clean up metadata format. Merge events metadata into runtime metadata. Remove low value info (internal macro identifier and counters).
      6f3b43ee
    • Arkadiy Paronyan's avatar
      6ff99ea7
    • Benjamin Kampmann's avatar
      Document more TODOs as tickets (#1418) · 4fa9fb66
      Benjamin Kampmann authored
      Went through the TODOs, removed a bunch, which are outdated or nothing more than a regular comment, documented a bunch more as actual tickets and made them FIXMEs and unified their structure (`FIXME #TICKETNO DESC` for local tickets, `FIXME: DESC LINK` for external tickets) for easier in-editor support. Further more remove unnecessary remarks and related old code that I noticed in that instance.
      4fa9fb66
  8. Jan 29, 2019
  9. Jan 28, 2019
  10. Jan 25, 2019
  11. Jan 24, 2019
  12. Jan 23, 2019
  13. Jan 22, 2019
    • Bastian Köcher's avatar
      Rewrite Inherent data (#1488) · 53bf81e5
      Bastian Köcher authored
      
      
      * Implement new inherent data
      
      * Fixes compilation on wasm
      
      * Fixes after rebase
      
      * Switch back to generate inherent stuff by macro
      
      * Update after rebase
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarbkchr <[email protected]>
      
      * Fix compilation after rebase
      
      * Address grumbles
      
      * Remove `InherentDataProviders` from `Client`
      
      * Update wasm files after rebase
      
      * Address grumbles
      
      * Fixes compilation after latest merge
      
      * Last fix
      53bf81e5
    • thiolliere's avatar
      compact param in calls (#1499) · 8cd437ae
      thiolliere authored
      
      
      * impl #[codec(compact)] for param
      
      * update modules
      
      * test all and build runtime
      
      * Update srml/support/src/dispatch.rs
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * Update srml/support/src/dispatch.rs
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      
      * delete wip comment
      
      * update param to use #[compact] instead of Cmpact<>
      
      * fmt
      
      * impl metadata
      
      * test metadata
      
      * add compact attr test
      
      * script buid
      
      * update test
      8cd437ae
    • Benjamin Kampmann's avatar
      72c16f39
    • Sergei Pepyakin's avatar
      Dispatch Calls to other modules (#1473) · e212a0b1
      Sergei Pepyakin authored
      * WIP
      
      * Use system::Origin::Signed as an origin
      
      * Add a vm test for ext_dispatch_call
      
      * Take fee for dispatching a Call
      
      # Conflicts:
      #	node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm
      
      * Clean & Rebuild
      
      # Conflicts:
      #	node/runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.compact.wasm
      
      * Dispatch call test.
      
      * Rebuild the runtime.
      
      * Fix the length of the buffer.
      
      * Rebuild binaries.
      e212a0b1
  14. Jan 21, 2019
    • Bastian Köcher's avatar
      Make runtime api calls native when possible (#1302) · bf6a781b
      Bastian Köcher authored
      * Add simple benchmark for the runtime api
      
      * Make the executor support native calls
      
      * Some documentation
      
      * Hide behind `feature = "std"`
      
      * Rework the native calls
      
      * Make all tests compile again
      
      * Make every parameter using the Block serialized/deserialized in the native call
      
      * Forward `UnwindSafe` requirement
      
      * Remove debug stuff
      
      * Add some documentation
      
      * Fixes warnings
      
      * Fixes errors after master rebase
      
      * Fixes compilation after master rebase
      
      * Fixes compilation after rebase
      bf6a781b
    • Marcio Diaz's avatar
      Fix revert for non finalized blocks (#1479) · 3c08ca7e
      Marcio Diaz authored
      * fix: temporal modification to make revert works for non finalized blocks
      
      * fix: print info when the number of blocks asked to revert is higher than the number of reversible blocks
      
      * fix: remove function get_db_path_for_subcommand and remove it from all subcommands
      
      * fix: revert only non finalized blocks
      
      * fix: improve printed information for revert command
      
      * fix: new wasm file
      
      * chore: remove unused parameter
      
      * fix: revert log logic
      
      * fix: subcommands should take sub_matches instead of matches
      
      * fix: removing confusing message
      3c08ca7e
    • Bastian Köcher's avatar
      Revert new wasm allocator (#1502) · 4d0eea0e
      Bastian Köcher authored
      * Revert "Better allocator for wasm (#1460)"
      
      This reverts commit c3bee593.
      
      * Update wasm files
      4d0eea0e
  15. Jan 18, 2019
  16. Jan 17, 2019