Skip to content
  1. Sep 20, 2018
    • Gav's avatar
      typo · e2ccaa39
      Gav authored
      e2ccaa39
    • Gav's avatar
      Implement unimplemented. · 0a9a47d7
      Gav authored
      0a9a47d7
    • Gav's avatar
      ac0cc991
    • Gav's avatar
      Rename extrinsic-pool -> transaction-pool · 3269674b
      Gav authored
      Closes #770
      3269674b
    • 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
  5. Sep 15, 2018
  6. 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
  7. Sep 13, 2018
    • Gav Wood's avatar
      Remove unneeded code (#737) · 43ae2f62
      Gav Wood authored
      43ae2f62
    • Gav's avatar
      Remove stale file · 9da6bc90
      Gav authored
      9da6bc90
    • 金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