1. Sep 21, 2018
  2. Sep 20, 2018
    • Gav Wood's avatar
      Address grumbles in eras PR (#782) · 2eb36233
      Gav Wood authored
      * Address grumbles
      
      * Fix hash
      2eb36233
    • Gav Wood's avatar
      Transaction eras (#758) · 0b72f33d
      Gav Wood authored
      * Initial groundwork
      
      * A mess.
      
      * Integrate
      
      * Fix tests
      
      * Unit tests
      
      * Tests for unchecked_extrisnic
      
      * fix tab
      
      * Improve binary format.
      
      * fix tests
      
      * Rename extrinsic-pool -> transaction-pool
      
      Closes #770
      
      * Implement unimplemented.
      
      * typo
      0b72f33d
    • Guanqun Lu's avatar
      remove duplicate try_into_trie_backend (#779) · e9fa40e6
      Guanqun Lu authored and asynchronous rob's avatar asynchronous rob committed
      e9fa40e6
    • Guanghua Guo's avatar
      Delete useless type (#775) · bd83d807
      Guanghua Guo authored
      bd83d807
    • Bastian Köcher's avatar
      Replace JSON metadata with custom metadata structures (#766) · 64fa981d
      Bastian Köcher authored
      * Move module metadata from json string to custom metadata
      
      * Revisit the metadata structures
      
      1. Move the structures into the metadata crate.
      2. Switch to using Cow/MaybeOwnedArray to support Encode/Decode
      
      * Adapt to new metadata structures
      
      * Convert event json metadata to new metadata structures
      
      * Convert storage json metadata to new metadata structures
      
      * Convert runtime metadata from json to new metadata structs
      
      * Implements new metadata structures in client and runtime
      
      * Fixes errors on `no_std`
      
      * Fixes errors after rebasing master
      
      * Do not use `Cow` anymore in metadata
      
      Also replace `String` with our own type definition `StringBuf`.
      This fixes compilation on `no_std`.
      
      * Wrap `RuntimeMetadata` in `RuntimeMetadataVersioned` to support versioning
      
      * Move metadata into `srml` and make core unaware of the implementation
      64fa981d
  3. Sep 19, 2018
  4. Sep 18, 2018
  5. Sep 17, 2018
  6. Sep 15, 2018
  7. Sep 14, 2018
    • Guanqun Lu's avatar
      Sr treasury fix (#739) · 0741b981
      Guanqun Lu authored
      * treasury: use 'mutate' and 'retain' to avoid creating a new vec
      
      * treasury: check the underflow case
      0741b981
    • Drew Stone's avatar
      Fixed spelling and grammar for clarity (#730) · 3596c7bc
      Drew Stone authored
      * Fixed spelling and grammar for clarity
      
      * Update README.adoc
      
      * Three comma club
      
      * gramma grammma grammar
      
      * Update README.adoc
      
      * Remove commas
      
      Corrected the commas.
      
      Consider the sentences:
      
      - "Energy-saving light bulbs which are cheap make for a sensible investment"
      - "Energy-saving light bulbs, which are cheap, make for a sensible investment"
      
      They are different. The first one is intimating that energy-saving light bulbs come in many prices and it's only the cheap ones which are a good investment. The second implies that all energy-saving light bulbs are generally cheap and they, regardless of price, make for a good investment.
      
      The commas added (which I just removed) switched the meaning, incorrectly, from one to the other.
      3596c7bc
  8. Sep 13, 2018
  9. 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
  10. Sep 11, 2018