Skip to content
  1. Oct 19, 2018
    • Svyatoslav Nikolsky's avatar
      Moved DigestItem impl to impl_outer_log (#932) · 2fe31ae0
      Svyatoslav Nikolsky authored
      * moved DigestItem impl to impl_outer_log
      
      * Enable backtrace collecting on the CI
      
      * internal module is not required in impl_outer_log
      
      * Revert "internal module is not required in impl_outer_log"
      
      This reverts commit 54304469.
      
      * Revert "moved DigestItem impl to impl_outer_log"
      
      This reverts commit 8872bbee.
      
      * Revert "Revert "moved DigestItem impl to impl_outer_log""
      
      This reverts commit 47afd596.
      
      * Revert "Revert "internal module is not required in impl_outer_log""
      
      This reverts commit 9ae64001.
      
      * More diagnostics
      
      * check if only 1 test fails
      
      * test is back + some "traces"
      
      * removed some traces
      
      * removed "traces"
      2fe31ae0
  2. Oct 18, 2018
    • Bastian Köcher's avatar
      Move inherent implementation into the modules (#924) · 9c9c5777
      Bastian Köcher authored
      * Adds new `ProvideInherent` trait
      
      Also implements the new trait for `srml/consensus` and `srml/timestamp`.
      
      * Adds `impl_outer_inherent!` macro
      
      * Reexport macros from `alloc`
      
      * Introduce `RuntimeString` and fix `ProvideInherent` on `no_std`
      
      * Replace `VersionString` with `RuntimeString`
      
      * Improvements for `impl_outer_inherent!`
      
      * Make `construct_runtime!` support `impl_outer_inherent!`
      
      * Fixes after rebase
      
      * Whitespace
      9c9c5777
  3. Oct 16, 2018
  4. Oct 12, 2018
    • Bastian Köcher's avatar
      Adds `construct_simple_protocol` macro for simplifying the creation of protocols (#897) · 5abac6fd
      Bastian Köcher authored
      * Make `on_message` take the message as `&mut Option<_>`
      
      * Make `ConsensusGossip` implement `Specialization`
      
      * Move `new_session` into `ConsensusGossip`
      
      * Adds `construct_simple_protocol` macro for simplifying the creation of protocols
      5abac6fd
    • Tomasz Drwięga's avatar
      Tagged transaction queue integration (#893) · ce598db0
      Tomasz Drwięga authored
      * Make the graph generic.
      
      * Adapting pool API for the graph.
      
      * Merge pool & graph.
      
      * Restructure.
      
      * Fix test of transaction pool.
      
      * Get rid of node/transaction-pool.
      
      * Compilation fixes.
      
      * Test7
      
      * Fix compilation of tests.
      
      * Revert runtime changes.
      
      * Add validate_transaction to test-runtime.
      
      * Fix RPC tests.
      
      * Add clearing of the old transactions.
      
      * Trigger pool events.
      
      * Use new queue API.
      
      * Fix wasm build, re-export Hasher.
      
      * No warning if validate transaction fails.
      
      * Get rid of Into<u64> and use As
      ce598db0
  5. Oct 09, 2018
    • Bastian Köcher's avatar
      Runtime API clean up (#892) · 4fc8c98b
      Bastian Köcher authored
      * Rename `NewTxQueue` to `TaggedTransactionQueue`
      
      * Remove `BlockBuilder` API and support adding documentation to the API functions
      
      * Adds new `BlockBuilder` API
      
      * Fixes compilation with new `BlockBuilder` API
      
      * Some more cleanup
      
      * Cargo.lock update
      
      * Try to fix on stable
      4fc8c98b
    • Bastian Köcher's avatar
      Refactor the runtime API to use traits. (#878) · 3f467478
      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
      3f467478
  6. Oct 08, 2018
  7. Oct 05, 2018
    • asynchronous rob's avatar
      Initial GRANDPA integration (#866) · 9eeaae8a
      asynchronous rob authored
      * implement grandpa client
      
      * consensus gossip with arbitrary topics
      
      * defer GRANDPA messages until referenced blocks imported
      
      * set up communication for voter in a transparent way
      
      * instantiate GRANDPA voter
      
      * keep last round state on disk
      
      * switch back to crates.io finality-grandpa
      
      * update cargo.lock
      
      * use new `collect_garbage` API
      
      * update sync test framework and make public
      
      * test that observers can observe
      
      * fix warning
      
      * use more idiomatic predicate for collecting garbage in gossip
      
      * kill spaces
      
      * fix date
      9eeaae8a
    • guanqun's avatar
      Enhance decl storage (#777) · f9f7070e
      guanqun authored
      * enhance macro decl_storage()
      
      * update the state root hash
      
      * fix one comment
      f9f7070e
  8. Oct 03, 2018
  9. Oct 01, 2018
  10. Sep 30, 2018
  11. Sep 29, 2018
  12. Sep 28, 2018
    • Arkadiy Paronyan's avatar
      Integration tests (#805) · e722f09b
      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
      e722f09b
  13. Sep 27, 2018
  14. Sep 26, 2018
    • Bastian Köcher's avatar
      Remove `node-api` (#804) · 40999b39
      Bastian Köcher authored
      * Remove `node-api` from `node-consensus` and `node-transaction-pool`
      
      * Remove the `node-api` crate and its last usages
      
      * Remove left over file
      
      * Fixes compilation errors
      
      * Switch to `As` trait
      
      * Rename trait
      
      * Whitespace
      40999b39
  15. Sep 25, 2018
  16. Sep 21, 2018
  17. 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
  18. Sep 19, 2018
  19. Sep 18, 2018
  20. 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