1. Jun 06, 2018
    • Gav Wood's avatar
      Make substrate generic (#169) · 521e3a23
      Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
      * Some initial work on RPC and client
      
      * Rephrase as params
      
      * More work on traitifying substrate.
      
      * Traitify in_mem.rs
      
      * traitify client.rs
      
      * Make new primitives (mainly traits) build again.
      
      * Many (superficial) build fixes throughout.
      
      * Fix remaining build issues up to bft interface.
      
      * Make bft primitives be generic.
      
      * Switch out MisBehaviorReport for generic version.
      
      * Merge Hashing into Header.
      
      * Update runtime for new generics (with Hashing).
      
      * Update demo runtime.
      
      * Make runtime compile.
      
      * Build fixes for runtime
      
      * Remove old modules.
      
      * port substrate-bft to use generic substrate types
      
      * port client
      
      * port substrate-test-runtime
      
      * mostly port test-runtime to get compiling for std
      
      * Ensure `AccountId` has a `Default`.
      
      * Fix type deps.
      
      * finish porting
      
      * initialize test_runtime from genesis correctly
      
      * remove commented code
      
      * maybe unsigned signatures
      
      * runtimes compile
      
      * port over most of network
      
      * serialization for generic types
      
      * fix comment
      
      * remove some unnecessary trait bounds
      
      * network compiles
      
      * tests compile for sync
      
      * fix deserialization
      
      * temporarily remove deserialize derives
      
      * workarounds for serde issues for deriving deserialization
      
      * get demo-runtime compiling on std
      
      * port extrinsic-pool
      
      * primitives reshuffling
      
      * get network compiling again
      
      * remove debugging file
      
      * runtime tests now passing
      
      * port client-db
      
      * start to port over substrate-rpc
      
      * mostly port over PolkadotApi
      
      * test_runtime follows normal conventions
      
      * substrate runtime tests pass
      
      * deal with inherent extrinsics correctly in polkadot-api
      
      * port transaction-pool
      
      * port polkadot-consensus
      
      * port substrate-rpc
      
      * everything compiles
      
      * tests compile
      
      * fix grumbles
      
      * test-runtime uses its own transfer type
      
      * switch to master branch of jsonrpc
      
      * fix network tests and some warnings
      
      * all tests pass locally
      
      * [ci-skip] add another comment about issue
      
      * remove some curlies
      521e3a23
  2. Jun 05, 2018
  3. Jun 04, 2018
  4. Jun 01, 2018
    • Gav Wood's avatar
      Runtime dispatch calls return `Result` (#192) · b8c427e6
      Gav Wood authored
      * Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
      
      * Update wasm.
      
      * consensus, session and staking all panic-safe.
      
      * Democracy doesn't panic in apply.
      
      * Fix tests.
      
      * Extra helper macro, council depanicked.
      
      * Fix one test.
      
      * Fix up all council tests. No panics!
      
      * Council voting depanicked.
      
      * Dispatch returns result.
      
      * session & staking tests updated
      
      * Fix democracy tests.
      
      * Fix council tests.
      
      * Fix up polkadot parachains in runtime
      
      * Fix borked merge
      b8c427e6
  5. May 31, 2018
    • Tomasz Drwięga's avatar
      Extrinsic pool (#182) · d8e352fa
      Tomasz Drwięga authored
      * Use latest version of txpool.
      
      * Initial version of the pool.
      
      * Fix abstraction.
      
      * Implement watchers and notifications.
      
      * Return hash from RPC.
      
      * Remove commented code.
      
      * Remove client dep.
      
      * Fix tests.
      d8e352fa
    • Gav Wood's avatar
      Public extrinsic apply doesn't panic (#178) · 3de2b3bb
      Gav Wood authored
      * Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
      
      * Update wasm.
      
      * consensus, session and staking all panic-safe.
      
      * Democracy doesn't panic in apply.
      
      * Fix tests.
      
      * Extra helper macro, council depanicked.
      
      * Fix one test.
      
      * Fix up all council tests. No panics!
      
      * Council voting depanicked.
      
      * utilise hygene
      3de2b3bb
  6. May 29, 2018
  7. May 28, 2018
  8. May 26, 2018
  9. May 25, 2018
    • asynchronous rob's avatar
      Minimal parachain framework part 1 (#113) · f41a4959
      asynchronous rob authored
      * dynamic inclusion threshold calculator
      
      * collators interface
      
      * collation helpers
      
      * initial proposal-creation future
      
      * create proposer when asked to propose
      
      * remove local_availability duty
      
      * statement table tracks includable parachain count
      
      * beginnings of timing future
      
      * finish proposal logic
      
      * remove stray println
      
      * extract shared table to separate module
      
      * change ordering
      
      * includability tracking
      
      * fix doc
      
      * initial changes to parachains module
      
      * initialise dummy block before API calls
      
      * give polkadot control over round proposer based on random seed
      
      * propose only after enough candidates
      
      * flesh out parachains module a bit more
      
      * set_heads
      
      * actually introduce set_heads to runtime
      
      * update block_builder to accept parachains
      
      * split block validity errors from real errors in evaluation
      
      * update WASM runtimes
      
      * polkadot-api methods for parachains additions
      
      * delay evaluation until candidates are ready
      
      * comments
      
      * fix dynamic inclusion with zero initial
      
      * test for includability tracker
      
      * wasm validation of parachain candidates
      
      * move primitives to primitives crate
      
      * remove runtime-std dependency from codec
      
      * adjust doc
      
      * polkadot-parachain-primitives
      
      * kill legacy polkadot-validator crate
      
      * basic-add test chain
      
      * test for basic_add parachain
      
      * move to test-chains dir
      
      * use wasm-build
      
      * new wasm directory layout
      
      * reorganize a bit more
      
      * Fix for rh-minimal-parachain (#141)
      
      * Remove extern "C"
      
      We already encountered such behavior (bug?) in pwasm-std, I believe.
      
      * Fix `panic_fmt` signature by adding `_col`
      
      Wrong `panic_fmt` signature can inhibit some optimizations in LTO mode.
      
      * Add linker flags and use wasm-gc in build script
      
      Pass --import-memory to LLD to emit wasm binary with imported memory.
      
      Also use wasm-gc instead of wasm-build.
      
      * Fix effective_max.
      
      I'm not sure why it was the way it was actually.
      
      * Recompile wasm.
      
      * Fix indent
      
      * more basic_add tests
      
      * validate parachain WASM
      
      * produce statements on receiving statements
      
      * tests for reactive statement production
      
      * fix build
      
      * add OOM lang item to runtime-io
      
      * use dynamic_inclusion when evaluating as well
      
      * fix update_includable_count
      
      * remove dead code
      
      * grumbles
      
      * actually defer round_proposer logic
      
      * update wasm
      
      * address a few more grumbles
      
      * grumbles
      
      * update WASM checkins
      
      * remove dependency on tokio-timer
      f41a4959
  10. May 24, 2018
  11. May 23, 2018
  12. May 17, 2018
  13. May 16, 2018
    • asynchronous rob's avatar
      Store trie nodes in DB (#157) · 9439c55b
      asynchronous rob authored
      * move responsibility of storage_root calculation to state backend
      
      * have `storage_root` produce a memoizable transaction
      
      * store trie nodes in kvdb
      
      * fix up test fallout
      
      * remove stray newline
      
      * Fix comment
      
      * test for setting and checking state data
      
      * fiddle with dependencies
      
      * all parity deps on same commit hash
      
      * fix network protocol registration
      9439c55b
  14. May 15, 2018
  15. May 11, 2018
  16. May 09, 2018
  17. May 08, 2018
  18. May 07, 2018
    • Gav Wood's avatar
      Fixes and improvements for PoC-1 Testnet (#143) · 49cef2ea
      Gav Wood authored
      * Fix initialisations and add a test.
      
      * Fix test.
      
      * Fix overflow bug.
      
      * Minor refactoring and fixes.
      
      * Fix vote threshold.
      
      * Add note.
      
      * Fixes for latest rust and the readme.
      
      * Better readme.
      
      * An extra validator for PoC-1
      
      * Update README.
      
      * PoC-1 bootnodes.
      
      * don't return async::notready for messages without scheduling wakeup
      
      * Fix endowed account
      
      * give polkadot control over round proposer based on random seed
      
      * address grumbles.
      49cef2ea
  19. May 06, 2018
  20. May 02, 2018
    • Arkadiy Paronyan's avatar
      Database backend (#133) · a80e9be3
      Arkadiy Paronyan authored
      * DB backend
      
      * DB backend
      
      * Cleanup
      
      * Clean build files after running tests
      
      * Fixed comment
      
      * add OOM lang item to runtime-io
      a80e9be3
  21. May 01, 2018
  22. Apr 18, 2018
  23. Apr 17, 2018
    • Tomasz Drwięga's avatar
      Chain head subscription (#126) · 50fa70c9
      Tomasz Drwięga authored
      * Start WebSockets server.
      
      * Expose non-working subscription.
      
      * Dummy subscription for testing.
      
      * Proper implementation with event loop.
      
      * Finalized pubsub.
      
      * Bump clap.
      
      * Fix yml.
      
      * Disable WS logs.
      
      * Remove stale TransactionHash mention
      
      * Fix build from nightly API change.
      
      * Don't panic on invalid port.
      
      * Bind server to random port.
      
      * Send only best blocks.
      50fa70c9
  24. Apr 16, 2018
  25. Apr 15, 2018
  26. Apr 14, 2018
  27. Apr 13, 2018
    • Gav Wood's avatar
      Add chain RPCs and getHeader. (#124) · 95a5d8aa
      Gav Wood authored
      * Add chain RPCs and getHeader.
      
      Also:
      - finish renaming transaction -> extrinsic;
      - rejig development chain spec to be more useful.
      
      * Fix.
      
      * Remove invalid comments.
      
      * Fix.
      95a5d8aa
  28. Apr 12, 2018