1. Oct 09, 2018
    • Bastian Köcher's avatar
      Refactor the runtime API to use traits. (#878) · 2c65ad6c
      Bastian Köcher authored
      * Add missing `As` imports.
      
      * Adds new API traits that will be used by the client and runtime
      
      * Switch consensus to new API's
      
      * Switches transaction-pool to new API's
      
      * Move runtime api stuff into its own crate
      
      * Adds `impl_apis!` macro for implementing the new API traits
      
      * Make `metadata` return directly a blob
      
      * Runtime replace `impl_stubs!` with `impl_apis!`
      
      * Switches to none feature based approach for declaring the different API traits
      
      * Fixes compilation error
      
      * Fixes errors
      
      * Make the `decl_apis!` trait usable from the outside
      
      * Make the `test-client` use the new API traits
      
      * Remove last `impl_stubs!` bits and move some of them into wasm executor for tests
      
      * A little bit more documentation
      2c65ad6c
  2. Oct 05, 2018
  3. Oct 03, 2018
  4. Oct 01, 2018
  5. Sep 29, 2018
  6. Sep 28, 2018
    • Arkadiy Paronyan's avatar
      Integration tests (#805) · 9a660f82
      Arkadiy Paronyan authored
      * Started substrate tests
      
      * Sync test
      
      * Test updates
      
      * Improved tests
      
      * Use on-chain block delay
      
      * Parallel test execution
      
      * Otimized tests
      
      * Logging
      
      * Fixed racing test
      
      * Fixed compilation
      
      * Fixed timestamp test
      
      * Removed rlp dependency
      
      * Minor fixes
      
      * Fixed tests
      
      * Removed best_block_id and resolved fdlimit issue
      
      * Whitespace
      
      * Use keyring
      
      * Style
      
      * Added API execution setting
      
      * Removed stale import
      9a660f82
  7. Sep 27, 2018
  8. Sep 26, 2018
    • Guanqun Lu's avatar
      State db random fixes (#802) · 74a5ff7d
      Guanqun Lu authored
      * state-db: typo fixes
      
      * use fmt::Result for 'fmt'
      
      * state-db: typo fixes
      
      * state-db: use the same pattern to pass the parameter
      
      * state-db: follow the same style
      74a5ff7d
  9. Sep 25, 2018
  10. Sep 24, 2018
  11. Sep 21, 2018
  12. Sep 20, 2018
    • Gav Wood's avatar
      Address grumbles in eras PR (#782) · ebb688f8
      Gav Wood authored
      * Address grumbles
      
      * Fix hash
      ebb688f8
    • Gav Wood's avatar
      Transaction eras (#758) · 67bf1a6e
      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
      67bf1a6e
    • Bastian Köcher's avatar
      Replace JSON metadata with custom metadata structures (#766) · 5d64be26
      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
      5d64be26
  13. Sep 19, 2018
  14. Sep 18, 2018
  15. Sep 17, 2018
  16. Sep 15, 2018
  17. Sep 14, 2018
    • Guanqun Lu's avatar
      Sr treasury fix (#739) · b76660af
      Guanqun Lu authored
      * treasury: use 'mutate' and 'retain' to avoid creating a new vec
      
      * treasury: check the underflow case
      b76660af
  18. Sep 13, 2018