1. Sep 12, 2018
    • Bastian Köcher's avatar
    • Guanqun Lu's avatar
      add a python script to show the runtime packages' dependencies (#725) · b9849fe3
      Guanqun Lu authored
      * add a python script to show the dependencies
      
      * add the header line and modify the mod
      b9849fe3
    • Bastian Köcher's avatar
    • Bastian Köcher's avatar
      Make `decl_event!` more ergonomic (#723) · 20cae2d1
      Bastian Köcher authored
      * Improve and simplify `decl_event!`
      
      - RawEvent is not required anymore to be written in the defintion
      - Events with and without parameters are now supported everywhere
      
      * Make `decl_event!` more flexible with the automatic naming of generic parameters
      
      The macro will now automatically derive the name of a generic parameter
      from the trait type name, if no explicit name is given.
      
      `where Balance = <T as Trait>::Balance` can be simplified to
      `where <T as Trait>::Balance`.
      
      * Adapts to latest refactoring changes
      20cae2d1
    • Guanqun Lu's avatar
      enhance dispatch (#720) · 01e4954a
      Guanqun Lu authored
      * normalize decl_storage
      
      * dispatch the function call
      
      * add test case
      
      * fix the root case
      
      * add system
      
      * fix the typo in unit test
      
      * fix the doc generation for decl_module
      
      * fix the unit test due to the interface change
      01e4954a
    • Gav Wood's avatar
      Phase 1 of repo reorg (#719) · bc276f3c
      Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Remove unneeded script
      
      * Rename Substrate Demo -> Substrate
      
      * Rename demo -> node
      
      * Build wasm from last rename.
      
      * Merge ed25519 into substrate-primitives
      
      * Minor tweak
      
      * Rename substrate -> core
      
      * Move substrate-runtime-support to core/runtime/support
      
      * Rename/move substrate-runtime-version
      
      * Move codec up a level
      
      * Rename substrate-codec -> parity-codec
      
      * Move environmental up a level
      
      * Move pwasm-* up to top, ready for removal
      
      * Remove requirement of s-r-support from s-r-primitives
      
      * Move core/runtime/primitives into core/runtime-primitives
      
      * Remove s-r-support dep from s-r-version
      
      * Remove dep of s-r-support from bft
      
      * Remove dep of s-r-support from node/consensus
      
      * Sever all other core deps from s-r-support
      
      * Forgot the no_std directive
      
      * Rename non-SRML modules to sr-* to avoid match clashes
      
      * Move runtime/* to srml/*
      
      * Rename substrate-runtime-* -> srml-*
      
      * Move srml to top-level
      bc276f3c
  2. Sep 11, 2018
  3. Sep 10, 2018
  4. Sep 09, 2018
    • David's avatar
      LocalCallExecutor and RemoteCallRequest generic over Hasher and NodeCodec (#573) · 889c1dc1
      David authored
      * LocalCallExecutor and RemoteCallRequest generic over Hasher and NodeCodec
      
      * Fix client/db
      
      * Use new triehash
      
      * Use new triehash
      Don't use ethereum-types from rlp
      
      * New triehash
      
      * Use new triehash
      
      * fixes and rlp without ethereum-types
      
      * Lockfile
      
      * lockfile
      
      * Rename enumerated_trie_root to keccak_rlp_enumerated_trie_root
      
      * Rename ordered_trie_root -> keccak_rlp_ordered_trie_root
      Rename trie_root -> keccak_rlp_trie_root
      
      * Fix panic message
      
      * Kick the ball one step up the ladder
      
      * Normalize function signatures between wasm and native
      
      * Sort out compilation and test errors
      
      * Cleanup
      
      * Constrain the wasm-version using an ExternTrieCrypto trait that is implemented only for KeccakHasher
      
      * hashdb is not optional
      
      * lockfile
      
      * Runtimes
      
      * Missing bounds
      
      * wasm binaries
      
      * lockfiles
      
      * binaries
      
      * LocalCallExecutor uses concrete hasher/codec
      
      * Use binaries from master
      
      * Externalities is concrete
      RuntimeInfo is not generic
      
      * whitespace grumble
      
      * lockfile
      
      * lockfile and binaries
      889c1dc1
    • Guanqun Lu's avatar
      add mutate api (#695) · 01b100ad
      Guanqun Lu authored
      * runtime-storage: add 'mutate' api
      
      * support mutate for StorageValue
      
      * try adding 'mutate' for map
      
      * dispatch on Option<> type
      
      * add check for prev_some
      
      * consolidate the wrap type
      
      * unify wrap type handling
      
      * add sample for StorageValue
      01b100ad
  5. Sep 07, 2018
  6. Sep 06, 2018
  7. Sep 05, 2018