Skip to content
  1. Feb 09, 2019
  2. Feb 08, 2019
  3. Feb 07, 2019
  4. Feb 06, 2019
    • Bastian Köcher's avatar
      Moves `node-template` into substrate repo (#1637) · 567122fa
      Bastian Köcher authored
      * Make runtime macros work without required `macro_use`
      
      * Adds node-template
      
      * Adds node-template-release tool
      
      * Fixes building `node-template` and improve the release
      
      * Add `profile.release` by release script to remove warning
      
      * Adds script for releasing the node template
      
      * Fixes compilation after master merge
      
      * Port node-template to edition 2018
      
      * Remove license
      
      * Fixes compilation after master merge
      
      * Add `node-template-release.sh` into the CI
      
      * WIP Ci integrate node template (#1701)
      
      * copy artifacts to s3 bucket latest path
      
      * typo
      
      * bucket name
      
      * Update wasm files
      567122fa
    • Pierre Krieger's avatar
      Update libp2p to v0.3 (#1634) · b6fd967d
      Pierre Krieger authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Update libp2p
      
      * Some more diagnostics
      
      * 30 seconds back to 5 seconds
      
      * Bump libp2p-core and improve test
      
      * Fix runtime Cargo.lock
      
      * More work
      
      * Finish upgrade to libp2p 0.3
      
      * Add a maximum of 60 seconds for the rounds
      
      * Remove env_logger
      
      * Update Cargo.lock
      
      * Update Cargo.lock in test-runtime
      
      * Fix test compilation
      
      * Make the test pass
      
      * Add identify addresses to Kademlia
      
      * Don't connect to nodes we're already connected to
      
      * Add warning for non-Substrate nodes
      
      * Fix external address not added
      
      * Start in Enabled mode
      b6fd967d
    • 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
    • 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
  5. Feb 05, 2019
  6. Feb 02, 2019
  7. Feb 01, 2019
  8. Jan 31, 2019
  9. Jan 30, 2019
  10. Jan 29, 2019
  11. Jan 28, 2019
  12. Jan 25, 2019
  13. Jan 24, 2019
  14. Jan 23, 2019
  15. Jan 22, 2019
    • Bastian Köcher's avatar
      Rewrite Inherent data (#1488) · 70b1af7b
      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
      70b1af7b
    • thiolliere's avatar
      compact param in calls (#1499) · 24929319
      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
      24929319
    • Sergei Pepyakin's avatar
      Dispatch Calls to other modules (#1473) · 58cd6530
      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.
      58cd6530
  16. Jan 21, 2019
    • Bastian Köcher's avatar
      Make runtime api calls native when possible (#1302) · 010e6311
      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
      010e6311
    • Marcio Diaz's avatar
      Fix revert for non finalized blocks (#1479) · b57486c7
      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
      b57486c7