1. 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
    • 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
  2. Sep 19, 2018
  3. Sep 18, 2018
  4. Sep 17, 2018
    • Gav Wood's avatar
      Generalised Transaction Queue API (#741) · cadd0558
      Gav Wood authored
      * First effort
      
      * API versioning
      
      * Introduce validate_transaction
      
      * Introduce the API plus fixes.
      
      * Docs
      
      * Typo
      
      * Add longevity parameter to transaction validity info.
      cadd0558
    • Bastian Köcher's avatar
      Implement `construct_runtime!` macro (#751) · 8b7e5526
      Bastian Köcher authored
      * Make `system` module renamable in `impl_outer_event!`
      
      * Implement `construct_runtime!` macro
      
      This macro generates code for calling all the common `impl_outer_*` macros.
      
      * Add documentation
      
      * Fixes wrong declaration of `contract`
      
      * Update dependencies to work on `no_std`
      
      * One more `Cargo.lock` update
      
      * Address comments
      8b7e5526
    • Guanghua Guo's avatar
      Not use extern (#748) · 2f99e8f0
      Guanghua Guo authored
      * Not use extern
      
      * Update Cargo.lock
      2f99e8f0
  5. Sep 13, 2018
    • Gav Wood's avatar
      Remove unneeded code (#737) · 43ae2f62
      Gav Wood authored
      43ae2f62
    • 金XX(Aton)'s avatar
      bugfix: balances::transfer for new_account issue#722 (#731) · 5a7cc59a
      金XX(Aton) authored
      * bugfix: balances::transfer for new_account
      
      issue:#722
      would_create flag should depend on dest, not origin.
      change 
      ```rust
      let would_create = from_balance.is_zero();
      ```
      to 
      ```rust
          let to_balance = Self::free_balance(&dest); 
          let would_create = to_balance.is_zero(); 
      ```
      in the other hand, provide `fn new_test_ext2()` and let `transfer_fee=10`, `creation_fee=50` for test case
      
      * Update lib.rs
      
      * Update tests.rs
      
      * Make `impl_outer_origin!` support generic `Origin`s (#732)
      
      * Make `impl_outer_origin!` support generic `Origin`s
      
      * Support empty outer origin
      
      * Contracts: fix transfer function. (#733)
      
      * Remove dependency on the parity repo (#734)
      
      * Fix test
      
      * Anothe fix
      5a7cc59a
    • Gav Wood's avatar
      Remove redundant code and merge rest into rt-std (#735) · 36893c73
      Gav Wood authored
      * Remove redundant code and merge rest into rt-std
      
      * Update lib.rs
      36893c73
  6. Sep 12, 2018
    • Bastian Köcher's avatar
    • Bastian Köcher's avatar
    • 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