1. Sep 28, 2020
  2. Sep 18, 2020
    • Peter Goodspeed-Niklaus's avatar
      c68aee35
    • Peter Goodspeed-Niklaus's avatar
      Remove service, migrate all to service-new (#1630) · af14ea54
      Peter Goodspeed-Niklaus authored
      * import rococo into chain-spec
      
      * make a few stabs at moving forward
      
      * wip: rococo readme
      
      * remove /service crate
      
      - Move the chain-spec files to node-service
      - update sufficient cargo files that polkadot-service-new builds
      - not everything else builds yet
      
      * wip: chase down some build errors in polkadot-cli
      
      There's a lot more to go, but some progress has happened.
      
      * make more progress getting polkadot-cli to build
      
      * don't ignore polkadot.json within the res directory
      
      * don't recreate pathbufs
      
      * Prepare Polkadot to be used by Cumulus
      
      This begins to make Polkadot usable from Cumulus.
      
      * Remove old test
      
      * migrate new_chain_ops fix from /service
      
      * partially remove node/test-service
      
      * Reset some changes
      
      * Revert "partially remove node/test-service"
      
      This reverts commit 7b8f9ba5.
      
      * WIP: replace v0 ParachainHost impl with v1 for test runtime
      
      This is necessary because one of the current errors when building
      the test service boils down to:
      
      the trait bound `polkadot_test_runtime::RuntimeApiImpl<...>`:
        `polkadot_primitives::v1::ParachainHost<...>` is not satisfied
      
      This is WIP because it appears to be causing some std leakage into
      the wasm environment, or something; the compiler is currently
      complaining about duplicate definitions of `panic_handler` and `oom`.
      Presumably I have to identify all std types (Vec etc) and replace
      them with sp_std equivalents.
      
      * fix test runtime build
      
      it wasn't std leakage, after all
      
      * bump westend spec version
      
      * use service-new as service within cli
      
      * to revert: demo that forwarding the test runtime to the real impl blows up
      
      * Revert "to revert: demo that forwarding the test runtime to the real impl blows up"
      
      This reverts commit 68d2f385.
      
      * Revert "Revert "to revert: demo that forwarding the test runtime to the real impl blows up""
      
      This reverts commit 04cb1cbf.
      
      Might have just forgotten to disable default features
      
      * More reverts
      
      * MOARE
      
      * plug in the runtime as the generic instantiation
      
      This feels closer to a solution, but it still has problems: in particular,
      it's assumed that Runtime implements all appropriate Trait traits,
      which this one apparently does not.
      
      * implement necessary traits to get the test runtime compiling
      
      This is almost certainly not correct in some way; it really
      looks like I need to mess with the construct_runtime! macro
      somehow, to inject the inclusion trait's event type as a Event
      variant. Still, better lock down this changeset while it all
      compiles.
      
      * add inclusion::Event as variant into Event enum
      
      * implement unimplemented bits in kusama
      
      * implement unimplemented bits in polkadot runtime
      
      * implement unimplemented bits in westend runtime
      
      * migrate client upgrades from master
      
      * update test service with new node changes
      
      * package metadata--that wasn't intended to be removed
      
      * add parachains v1 modules to each runtime
      
      It's not clear what precisely this does, but it's probably the right
      thing to do.
      
      * enable cli to opt out of full node features
      
      * adjust rococo chainspec per example
      
      https://github.com/paritytech/polkadot/blob/26f1fa47f7836ab4bee5d4aad127ebce748320dd/service/src/chain_spec.rs#L362
      
      
      
      * try to fix Cargo.lock
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      af14ea54
  3. Sep 16, 2020
  4. Aug 24, 2020
  5. Aug 04, 2020
  6. Jul 28, 2020
  7. Jul 05, 2020
    • Peter Goodspeed-Niklaus's avatar
      implement custom proposer (#1320) · 69ce9ff3
      Peter Goodspeed-Niklaus authored
      
      
      * network bridge skeleton
      
      * move some primitives around and add debug impls
      
      * protocol registration glue & abstract network interface
      
      * add send_msgs to subsystemctx
      
      * select logic
      
      * transform different events into actions and handle
      
      * implement remaining network bridge state machine
      
      * start test skeleton
      
      * make network methods asynchronous
      
      * extract subsystem out to subsystem crate
      
      * port over overseer to subsystem context trait
      
      * fix minimal example
      
      * fix overseer doc test
      
      * update network-bridge crate
      
      * write a subsystem test-helpers crate
      
      * write a network test helper for network-bridge
      
      * set up (broken) view test
      
      * Revamp network to be more async-friendly and not require Sync
      
      * fix spacing
      
      * fix test compilation
      
      * insert side-channel for actions
      
      * Add some more message types to AllMessages
      
      * introduce a test harness
      
      * impl ProvideInherent for InclusionInherent
      
      * reduce import churn; correct expect message
      
      * move inclusion inherent identifier into primitives
      
      It's not clear precisely why this is desired, but it's a pattern
      I've seen in several places, so I'm going this to be on the
      safe side. Worst case, we can revert this commit pretty easily.
      
      * bump kusama spec_version to placate CI
      
      * copy sc_basic_authorship::{ProposerFactory, Proposer}
      
      We have from the problem description:
      
      > This Proposer will require an OverseerHandle to make requests via.
      
      That's next on the plate.
      
      * use polkadot custom proposer instead of basic-authorship one
      
      * add some tests
      
      * ensure service compiles and passes tests
      
      * fix typo
      
      * fix service-new compilation
      
      * Subsystem test helpers send messages synchronously
      
      * remove smelly action inspector
      
      * remove superfluous let binding
      
      * fix warnings
      
      * add license header
      
      * empty commit; maybe github will notice the one with changes
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * add sanity check to only include valid inherents
      
      * stub: encapsulate block production mechanics instead of copying them
      
      The goal is to end up with something like what's in
      validation::block_production::*, which encapsulates
      basic block production mechanics. This is a better idea than
      just straight-up copying those mechanics.
      
      * partial implementation of propose fn
      
      Doesn't actually compile yet; need to bring in some other
      commits to ensure ProvisionerMessage is a thing, and also
      figure out how to get the block hash given the current
      context.
      
      * fix compilation
      
      * clear a few more compile errors
      
      * finish fn propose
      
      * broken: add timeout to proposal
      
      * add timeout to proposal
      
      * guide: provisioner is responsible for selecting parachain candidates
      
      * implement ProvisionerMessage::RequestInherentData & update fn propose
      
      * impl CreateProposer::init; clean up
      
      * impl std::error::Error for Error
      
      * document error-handling rationale
      
      * cause polkadot-service-new to compile correctly
      
      * Move potentially-blocking call from fn init -> fn propose
      
      This means that we can wrap the delayed call into the same
      timeout check used elsewhere.
      
      * document struct Proposer
      
      * extract provisioner data fetch
      
      This satisfies two requirements:
      
      - only applies the timeout to actually fetching the provisioner data,
        not to constructing the block after
      - simplifies the problem of injecting default data if we could not
        get the real provisioner data in time.
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      69ce9ff3
  8. Jul 03, 2020
  9. Jun 30, 2020
    • asynchronous rob's avatar
      Implement Network Bridge (#1280) · eaae8653
      asynchronous rob authored
      
      
      * network bridge skeleton
      
      * move some primitives around and add debug impls
      
      * protocol registration glue & abstract network interface
      
      * add send_msgs to subsystemctx
      
      * select logic
      
      * transform different events into actions and handle
      
      * implement remaining network bridge state machine
      
      * start test skeleton
      
      * make network methods asynchronous
      
      * extract subsystem out to subsystem crate
      
      * port over overseer to subsystem context trait
      
      * fix minimal example
      
      * fix overseer doc test
      
      * update network-bridge crate
      
      * write a subsystem test-helpers crate
      
      * write a network test helper for network-bridge
      
      * set up (broken) view test
      
      * Revamp network to be more async-friendly and not require Sync
      
      * fix spacing
      
      * fix test compilation
      
      * insert side-channel for actions
      
      * Add some more message types to AllMessages
      
      * introduce a test harness
      
      * add some tests
      
      * ensure service compiles and passes tests
      
      * fix typo
      
      * fix service-new compilation
      
      * Subsystem test helpers send messages synchronously
      
      * remove smelly action inspector
      
      * remove superfluous let binding
      
      * fix warnings
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * fix compilation
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      eaae8653
  10. Jun 11, 2020
  11. Jun 10, 2020
    • Gavin Wood's avatar
      v0.8.7 (#1222) · 32a791ee
      Gavin Wood authored
      
      
      * Bump Substrate again.
      
      * update kusama runtmie for ensure origin
      
      * update polkadot runtime for ensure origin
      
      * fix imports
      
      * root only available for runtime benchmarks
      
      * Fix lock file
      
      * Bump Substrate
      
      * Update lock
      
      * Remove questionable feature-gating.
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      32a791ee
  12. Jun 09, 2020
  13. Jun 08, 2020
  14. Jun 04, 2020
  15. Jun 01, 2020
  16. May 28, 2020
  17. May 26, 2020
    • Gavin Wood's avatar
      Chain Candidate One: Final changes (#1155) · 57b3d36b
      Gavin Wood authored
      * Test CC1 spec
      
      * Adaptive default chainspec
      
      * Strip -pre
      
      * Update to next CC1 iteration
      
      * Raw chainspec
      57b3d36b
    • Gavin Wood's avatar
      Prepare for final genesis (#1131) · 848e1a89
      Gavin Wood authored
      
      
      * Update claim statements
      
      * Update URLs
      
      * Minor tweak to make enum agree with URL
      
      * final html multihashes
      
      * New hashes
      
      * Version
      
      * updated SAFT statement hash
      
      * Update runtimes; this relies on substrate #6131
      
      * Bump
      
      * Share transaction filterer and fix Kusama
      
      * Warning
      
      * Gah!
      
      * Tidy
      
      * Westend fixes
      
      * Westend fix
      
      * Tweak constants
      
      * Implement TCF stuff
      
      * Fix
      
      * Warning
      
      * 15 minute lookahead
      
      * 15 minute lookahead in Polkadot
      
      * update max transactions
      
      * Enable utility, disable vested_transfer
      
      * Update runtime/common/src/lib.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Filter calls for validate unsigned also
      
      * Deduplicate
      
      * Fix
      
      * Introduce Polkadot (mainnet) chainspec
      
      * Fix naming.
      
      * Enable indices and fix comment.
      
      * Fix compilation
      
      * Enable indices and fix comment.
      
      * polkadot: babe: enable secondary VRF slots
      
      * Test JSON
      
      * Allow set_heads
      
      * Fix
      
      * Raw chain spec added
      
      Co-authored-by: default avatarkeorn <[email protected]>
      Co-authored-by: default avatarNikVolf <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      848e1a89
  18. May 16, 2020
    • Gavin Wood's avatar
      Extra requirements for claimants (#1091) · d8328043
      Gavin Wood authored
      
      
      * Introduce mandatory statement signing into claims
      
      * Introduce SignedExtension
      
      * Tests passing
      
      * Bump runtime version
      
      * Bump version, fix test
      
      * Test for validate
      
      * Another couple of tests
      
      * Enable PrevalidateAttests on Polkadot
      
      * Enable PrevalidateAttests on Polkadot
      
      * Fix build
      
      * Fixes
      
      * More fixes
      
      * Fix bench tests
      
      * Fix & test Preclaim clobbering.
      
      * Fix for errant claim logic
      
      * Add test
      
      * Update tests, always use Vec as input
      
      * mint_claim can add signature, some_benchmarks
      
      * Add claim with statement test
      
      * finish benchmarks
      
      * put the correct number of claims with benchmarks
      
      * fix compiler warning
      
      * Update weights
      
      * Weight comments for validation
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      d8328043
  19. May 05, 2020
  20. Apr 29, 2020
    • Gavin Wood's avatar
      Prep v0.7.32 (#1056) · b2c024f3
      Gavin Wood authored
      * Bump Westend runtime version
      
      * Bump Substrate
      
      * Prep for release of 0.7.32
      
      * Update lock
      b2c024f3
  21. Apr 28, 2020
  22. Apr 27, 2020
  23. Apr 21, 2020
  24. Apr 17, 2020
  25. Apr 15, 2020
  26. Apr 14, 2020
    • Bastian Köcher's avatar
      Release 0.7.29 (#998) · 13ec3023
      Bastian Köcher authored
      * Release 0.7.29
      
      * Update `Cargo.lock`
      v0.7.29
      13ec3023
    • ddorgan's avatar
      Westend Mark II (#983) · 20cb15d0
      ddorgan authored
      
      
      * Initial draft
      
      * More work
      
      * Build
      
      * Docs
      
      * Insert westend keys
      
      * Add badBlock to fork from old chain
      
      * Updated spec to reset westend
      
      * Use raw spec
      
      * Fix spec format and use westend2 for both id's
      
      * Correct public key for bootnode 3
      
      * Build
      
      * Extra space
      
      * Fix build
      
      * Lock
      
      * Update lock
      
      * Fixes
      
      * Fix for he startup text
      
      * Bump
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      20cb15d0
  27. Apr 01, 2020
  28. Mar 30, 2020
  29. Mar 23, 2020
  30. Mar 21, 2020
  31. Mar 19, 2020
  32. Mar 17, 2020