1. Oct 29, 2019
    • Gavin Wood's avatar
      Backport of Substrate update (#515) · 39397abb
      Gavin Wood authored
      * Update Substrate (#514)
      
      * Update Substrate
      
      * Attempt a fix
      
      * Update substrate again
      
      * Fix compilation
      
      * update substrate add support for sentry
      
      * Fixes tests
      
      * Actually update substrate
      v0.6.5
      39397abb
  2. Oct 28, 2019
  3. Oct 27, 2019
  4. Oct 25, 2019
    • Gavin Wood's avatar
      Final tweaks for Kusama PrePos. (#499) · 1d890239
      Gavin Wood authored
      * Final tweaks for Kusama PrePos.
      
      * Replace old code
      
      * Extra utility function.
      
      * Update to latest Substrate
      
      * Update to latest again
      v0.6.3
      1d890239
    • André Silva's avatar
      v0.6: merge master branch (#497) · 2c8a404c
      André Silva authored
      
      
      * add authority discovery module (#444)
      
      * grandpa: set justification period to 512 blocks (#445)
      
      * lock (#446)
      
      * Kusama CC2 spec (#449)
      
      * update readme for cc2 (#453)
      
      * docs: add security policy (#450)
      
      * docs: add security policy
      
      * Update SECURITY.md
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Enable `substrate-session` `std` feature and remove unused traits (#456)
      
      * update (#457)
      
      * Update latest substrate master (#462)
      
      * update substrate to latest polkadot-master
      
      * fix test runtime
      
      * Fix compilation in wasm (#465)
      
      Also fix the weird file structure by making `wasm_executor.rs` ->
      `wasm_executor/mod.rs`.
      
      * Make `ParachainContext` take self as mutable (#458)
      
      This replicates changes to `Environment`/`Proposer` that are used
      internally at Cumulus.
      
      * wasm_executor: fix wasm signature checker (#471)
      
      Signed-off-by: default avataryjhmelody <[email protected]>
      
      * Changes for substrate#3699 (#466)
      
      * change upstream and branch
      
      * Fix build
      
      * remove doc renamings
      
      * Fix tests
      
      * .
      
      * Revert changing fork and branch
      
      * Update Cargo.toml
      
      * Update parachains.rs
      
      * update branch name in Cargo.lock (#473)
      
      * Introduce Parathreads (runtime) (#341)
      
      * Rest of parathread draft implementation, parachain permissioning.
      
      * Update Substrate
      
      * Update Substrate again
      
      * Integrate weight/fee stuff.
      
      * Council
      
      * Build fixes
      
      * More fixes
      
      * Minor additions
      
      * fix some small errors
      
      * Revert "fix some small errors"
      
      This reverts commit 4fb52c82
      
      .
      
      * Merge fix.
      
      * do_swap -> on_swap
      
      * Update depdendency to polkadot-master
      
      * Fix more merge problems
      
      * Some patching of errors
      
      * Fix storage closure
      
      * Actually fix storage. It builds!
      
      * Tests run... but not successfully.
      
      * Add `run_to_block` to get parachains active to start
      
      * More `run_to_block`
      
      * Fix build
      
      * Queue up changes to threads
      
      * Move registration test
      
      * Fix regsiter/deregister test
      
      * Retry queue.
      
      * Minor refactor
      
      * Refactor to avoid heavy storage items
      
      * Make tests pass
      
      * remove para on deregister, add events
      
      * Remove println
      
      * Fix register/deregister parathread test
      
      * fix merge
      
      * Parathread can be activated test
      
      * Test auction
      
      * Add `Debtors` storage item
      
      I considered putting the debtor information in `ParaInfo`, but it did not make sense to me since this information only applies to parathreads, not `paras` in general.
      
      * remove comment code
      
      * Some new tests
      
      * Fixes for removing threads when scheduled. Tests.
      
      * Test progression of threads.
      
      * Test that reschedule queuing works properly.
      
      * Make test slightly more interesting
      
      * whitespace
      
      * Swap works properly.
      
      * Update locks
      
      * Build
      
      * Rename can_swap
      
      * Add test for funds to be correctly returned after a swap
      
      Swap does not seem to have logic which correctly swaps the debtor account to the new parathread.
      
      * Make tests consistant
      
      * Add check that `PendingSwap` is cleaned up
      
      * Update runtime/src/parachains.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Update runtime/src/registrar.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Some fixes/suggestions from review
      
      * Docs
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      Co-Authored-By: default avatarShawn Tabrizi <[email protected]>
      
      * Update network/src/gossip.rs
      
      Co-Authored-By: default avatarRobert Habermeier <[email protected]>
      
      * Rename OnSwap
      
      * Add missing `]`
      
      * Rejig ordering semantics, making everything a bit slower but correct.
      
      * Some Fixes to Parathread Compile (#470)
      
      * Some Fixes
      
      * Fix queue_upward_messages
      
      * Change back to const
      
      * Build fixes
      
      * Fix tests
      
      * Update to latest Substrate master (#472)
      
      * Update to latest Substrate master
      
      * Fix
      
      * Fix compilation
      
      * fix var name for post_upward_message (#474)
      
      Signed-off-by: default avataryjhmelody <[email protected]>
      
      * change versioning and tagging of releases (#476)
      
      * change versioning and tagging of releases
      
      * Make `ParaId` constructible from a const context (#483)
      
      * Pass `client` and `task_executor` to `BuildParachainContext` (#484)
      
      * Pass `client` and `task_executor` to `BuildParachainContext`
      
      * Update `Cargo.lock`
      
      * integrate minor weight/fee changes (#482)
      
      * Update cargo files
      
      * Make it build again.
      
      * Fix build
      
      * revert cargo file
      
      * New lockfile
      
      * Bump.
      
      * Update to latest Substrate master (#486)
      
      * Fixes required for Cumulus (#485)
      
      * Collator node need to register all gossip validators as well
      
      * Make sure that parachain authorities are only written once at genesis
      
      * Fix test
      
      * fix dockerfile build - upgrade image base from ubuntu 16 to 18 (#423)
      
      * Only register one gossip validator for full nodes (#487)
      
      * ci: fix publishing of ci builds (#488)
      
      * Support `account_nextIndex` RPC. (#460)
      
      * Use node-rpc extensions to support account_nextIndex.
      
      * Remove todo.
      
      * Update lock.
      
      * Use new srml_system_rpc crate.
      
      * Update to substrate=master
      
      * Update lockfile.
      
      * Update to polkadot-master.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update to latest substrate master (#491)
      
      * update to latest substrate master
      
      * Fix compilation
      
      * Switch elections to Phragmen, enable them in PoA (#492)
      
      * Switch elections to Phragmen, enable them in PoA
      
      * Remove superfluous code.
      
      * Build fixes
      
      * Update to substrate master
      
      * Build fixes
      
      * Add warning
      
      * Disable authority discovery for now
      
      * Remove commented code
      
      * Fix warning
      
      * service: cleanup task spawning (#495)
      
      * Update to latest substrate polkadot-master (#496)
      
      * update to latest substrate polkadot-master
      
      * Bump to 0.6.3
      
      * service: don't use the grandpa observer (#494) (#498)
      
      * service: don't use the grandpa observer
      
      * service: remove unnecessary boxing
      
      * service: fix indentation
      
      * service: remove unnecessary on_exit
      
      tasks spawned with `spawn_task`/`spawn_essential_task` are already
      guarded by `on_exit`.
      
      * Update service/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      2c8a404c
    • André Silva's avatar
      service: don't use the grandpa observer (#494) · a467bb28
      André Silva authored
      
      
      * service: don't use the grandpa observer
      
      * service: remove unnecessary boxing
      
      * service: fix indentation
      
      * service: remove unnecessary on_exit
      
      tasks spawned with `spawn_task`/`spawn_essential_task` are already
      guarded by `on_exit`.
      
      * Update service/src/lib.rs
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      a467bb28
  5. Oct 23, 2019
    • André Silva's avatar
      Backports to v0.6 (#493) · 1f576dd4
      André Silva authored
      
      
      * Fix compilation in wasm (#465)
      
      Also fix the weird file structure by making `wasm_executor.rs` ->
      `wasm_executor/mod.rs`.
      
      * Changes for substrate#3699 (#466)
      
      * change upstream and branch
      
      * Fix build
      
      * remove doc renamings
      
      * Fix tests
      
      * .
      
      * Revert changing fork and branch
      
      * Update Cargo.toml
      
      * Update parachains.rs
      
      * wasm_executor: fix wasm signature checker (#471)
      
      Signed-off-by: default avataryjhmelody <[email protected]>
      
      * Update to latest Substrate master (#472)
      
      * Update to latest Substrate master
      
      * Fix
      
      * Fix compilation
      
      * fix var name for post_upward_message (#474)
      
      Signed-off-by: default avataryjhmelody <[email protected]>
      
      * integrate minor weight/fee changes (#482)
      
      * Update cargo files
      
      * Make it build again.
      
      * Fix build
      
      * revert cargo file
      
      * New lockfile
      
      * Bump.
      
      * Update to latest Substrate master (#486)
      
      * Only register one gossip validator for full nodes (#487)
      
      * Support `account_nextIndex` RPC. (#460)
      
      * Use node-rpc extensions to support account_nextIndex.
      
      * Remove todo.
      
      * Update lock.
      
      * Use new srml_system_rpc crate.
      
      * Update to substrate=master
      
      * Update lockfile.
      
      * Update to polkadot-master.
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update to latest substrate master (#491)
      
      * update to latest substrate master
      
      * Fix compilation
      1f576dd4
  6. Oct 22, 2019
  7. Oct 17, 2019
  8. Oct 07, 2019
  9. Oct 05, 2019
    • André Silva's avatar
      polkadot v0.6.1 (#461) · d3c1f45a
      André Silva authored
      * update to latest substrate polkadot-master
      
      * runtime: bump spec_version
      
      * runtime: remove unused import
      
      * bump version to 0.6.1
      
      * fix tests
      v0.6.1
      d3c1f45a
  10. Sep 26, 2019
  11. Sep 24, 2019
  12. Sep 23, 2019
  13. Sep 17, 2019
    • Gavin Wood's avatar
      Crowdfund parachain deposit (#315) · 577a5a2d
      Gavin Wood authored
      
      
      * Initial crowdfund stuff
      
      * Make `communication_for` exit when we end a round (#313)
      
      * Make `communication_for` exit when we end a round
      
      * Fix compilation
      
      * Add file
      
      * Rest of logic.
      
      * Consts to Getters
      
      * Cleanups
      
      * Trying to get things to compile
      
      * More patchwork
      
      * Patch dissolve
      
      * Patch `fix_deploy_data`, add getters to `NewBidder`
      
      * Dispatchable functions compile... with warnings
      
      * Fix some warnings and typos
      
      * Whitespace to Tabs
      
      * Update to use `into_sub_account`
      
      * Add events
      
      * Basic fixes to runtime logic and checking
      
      * Check that auction in progress when creating
      
      * Automatically assign end for crowdfund
      
      * Update runtime/src/crowdfund.rs
      
      Co-Authored-By: default avatarAmar Singh <[email protected]>
      
      * Update runtime/src/crowdfund.rs
      
      Co-Authored-By: default avatarAmar Singh <[email protected]>
      
      * Update runtime/src/crowdfund.rs
      
      Co-Authored-By: default avatarAmar Singh <[email protected]>
      
      * Update crowdfund.rs
      
      * Patch `NewRaise` logic
      
      * Test compiles
      
      * Make `NewRaised` logic even better
      
      * Fix trie id generation, start to add some tests
      
      * More tests
      
      * Add more tests
      
      * Finish tests
      
      * Formatting nits
      
      * Use `into_iter`
      
      * Fix for latest Substrate updates
      
      * Cleanup
      
      * Fixes.
      
      * Copyright header.
      
      * Remove dead code.
      
      * Reinstate actually alive code.
      
      * Fix tests
      
      Still have to write some new follow up tests though
      
      * Make funds work before auction
      
      * Test a fund which spans 2 auctions.
      
      * Docs.
      
      * Update doc
      577a5a2d
  14. Sep 13, 2019
  15. Sep 12, 2019
  16. Sep 11, 2019
    • Gavin Wood's avatar
      Substrate.from() (#426) · c69ba7e2
      Gavin Wood authored
      * Substrate.from()
      
      * Fix some transaction validation code
      
      * must be more specific for matching now.
      
      * Update `wasm-builder` and add `build-only-wasm` script
      
      * Update to latest service builder interfaces
      
      * ANother substrate update
      
      * Another update
      c69ba7e2
  17. Sep 04, 2019
  18. Sep 03, 2019
  19. Sep 02, 2019
    • thiolliere's avatar
      Update substrate master (#411) · ff9947da
      thiolliere authored
      * in progress impl
      
      * im_online authorityid
      
      * fix
      
      * fix
      
      * use polkadot-master
      
      * trigger CI
      
      * trigger CI
      
      * fix removal
      
      * storage reorganize included
      
      * lock version
      ff9947da
  20. Aug 29, 2019
    • asynchronous rob's avatar
      ICMP message-routing gossip (#304) · 03cfa5e9
      asynchronous rob authored
      
      
      * core logic for ICMP gossip
      
      * refactor gossip to make more extension friendly
      
      * move files aroun
      
      * extract attestation-gossip logic to its own module
      
      * message validation and broadcast logic
      
      * fix upstream crates' compilation
      
      * add a test
      
      * another test for overlapping
      
      * Some grammar and phrasing tweaks
      
      Co-Authored-By: default avatarLuke Schoen <[email protected]>
      
      * add since parameter to ingress runtime API
      
      * broadcast out known unrouted message queues
      
      * fix compilation of service and collator
      
      * remove useless index_mapping
      
      * some tests for icmp propagation
      
      * fix decoding bug and test icmp queue validation
      
      * simplify engine-id definition
      
      Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
      
      * address some grumbles
      
      * some cleanup of old circulation code
      
      * give network a handle to extrinsic store on startup
      
      * an honest collator ensures data available as well
      
      * address some grumbles
      
      * add docs; rename the attestation session to "leaf work"
      
      * module docs
      
      * move gossip back to gossip.rs
      
      * clean up and document attestation-gossip a bit
      
      * some more docs on the availability store
      
      * store all outgoing message queues in the availability store
      
      * filter `Extrinsic` out of validation crate
      
      * expunge Extrinsic from network
      
      * expunge Extrinsic from erasure-coding
      
      * expunge Extrinsic from collator
      
      * expunge from adder-collator
      
      * rename ExtrinsicStore to AvailabilityStore everywhere
      
      * annotate and clean up message-routing tests
      03cfa5e9
  21. Aug 27, 2019
  22. Aug 25, 2019
  23. Aug 24, 2019