1. 08 Oct, 2020 1 commit
    • Peter Goodspeed-Niklaus's avatar
      Remove old service, 3rd try (#1776) · ba0d1a32
      Peter Goodspeed-Niklaus authored
      * Remove old service, 3rd try
      Revert "Revert "Remove Old Service, 2nd try (#1732)" (#1758)"
      This reverts commit c80f7b6b.
      Closes #1757.
      We now have some evidence that the polkadot validator was producing
      blocks after all; the reason the blocks_constructed metric was 0 was
      that as a new metric it hadn't yet been incorporated into that
      branch's codebase. See
      As this PR is based on a newer `master` branch than the previous one,
      that should hopefully no longer be an issue.
      * paras trait now has an Origin type
      * initial work running a two node local net
      * use the right incantations so the nodes produce blocks together
      * improve internal documentation
      Co-authored-by: Bastian Köcher's avatarBastian Köcher <git@kchr.de>
  2. 05 Oct, 2020 1 commit
  3. 28 Sep, 2020 2 commits
  4. 18 Sep, 2020 2 commits
    • Peter Goodspeed-Niklaus's avatar
    • 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
      * 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
      * try to fix Cargo.lock
      Co-authored-by: Bastian Köcher's avatarBastian Köcher <git@kchr.de>
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
  5. 17 Sep, 2020 2 commits
  6. 16 Sep, 2020 1 commit
  7. 11 Sep, 2020 1 commit
  8. 01 Sep, 2020 1 commit
  9. 26 Aug, 2020 1 commit
  10. 24 Aug, 2020 1 commit
  11. 13 Aug, 2020 1 commit
    • asynchronous rob's avatar
      Remove v0 parachains runtime (#1501) · ae5990c7
      asynchronous rob authored
      * remove v0 parachains modules and switch to v1 primitives
      * get tests compiling for runtime-common
      * remove registrar module
      * Add a dummy module
      * remove runtime-parachains
      * mostly remove old parachains code from polkadot-runtime
      * remove slots::Trait implementation
      * remove sp_std prelude import
      * add a ZeroSizedTypeDifferentiator to dummy
      * finish porting over polkadot runtime
      * ZeroSizedTypeDifferentiator was actually unnecessary
      * westend
      * kusama
      * test-runtime (no dummy modules)
      * fix warning
      * fix chain-specs
      * fix test-service
      * test-client
      * remove dead import
      * remove unused needed_extrinsics parameter
      * runtimes compile
      * remove rococo-v0
      * remove remaining references to Rococo
      * bump versions
  12. 11 Aug, 2020 1 commit
    • Bastian Köcher's avatar
      Support `build-spec` for other chains than Polkadot (#1567) · 78c8a646
      Bastian Köcher authored
      * Support `build-spec` for other chains than Polkadot
      The problem when building a chain specification is that you require the
      native runtime to parse the json file (assuming the chain spec is not
      raw yet). Before this pr we could only overwrite the native runtime when
      running the node using `force_*`. This pr now adds support to load the
      native runtime when the filename starts with the name of the chain. So,
      when usng `build-spec --chain rococo-something-else.jon` it will use the
      rococo native runtime to load the chain spec.
      * Apply suggestions from code review
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
  13. 05 Aug, 2020 1 commit
  14. 04 Aug, 2020 2 commits
    • Bastian Köcher's avatar
      Rewrite client handling (#1531) · f5c84254
      Bastian Köcher authored
      * Rewrite client handling
      We are supporting muliple polkadot-like chains and all have different
      client types. This pr reworks the client handling by having all of them
      in one enum combined. Besides that, there is added a special trait
      `ExecuteWithClient` to use the internal client.
      * Apply suggestions from code review
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
      * Up the versions
      * Fix Cargo.lock
      * Fix merge conflict
      * ......................
      * ....v2
      * yep
      * I'm dumb...
      * Browser lol
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
    • Bastian Köcher's avatar
      Add Rococo test network (#1363) · 5fd6440a
      Bastian Köcher authored
      * Add Rococo test network
      * Correct license header
      * Add bootNodes address
      * Fix compile errors
      * Change bootNodes
      * Change rococo bootNodes
      * Add new bootNodes
      * Fix bootNodes typo
      * Remove public telemetry
      * Add rococo-local chain spec
      * Remove staking
      * Remove staking from chain spec
      * use rococo-staging chain spec and preserve bootnodes
      * Same but with --raw
      * update chain name and remove telemetry
      * Empty commit to re-trigger CI
      * Fix revision (temp. until I merge master)
      * Revert to branch = master to avoid conflicts
      * Revert to branch = master to avoid conflicts
      * Disable test (temp)
      * Revert to branch = master to avoid conflicts
      * Revert to branch = master to avoid conflicts
      * Change bootNodes IPs for second rococo network
      * Revert "Disable test (temp)"
      This reverts commit a159f12e
      * Revert purchase
      * Update chain spec
      * FUUU
      * Update service/src/lib.rs
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
      * Update runtime/rococo/src/lib.rs
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
      * Fix compilation
      Co-authored-by: default avatarEvaldo <contato@evaldofelipe.com>
      Co-authored-by: ddorgan's avatarDavid Dorgan <david@parity.io>
      Co-authored-by: default avatarCecile Tonglet <cecile.tonglet@cecton.com>
      Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
  15. 03 Aug, 2020 1 commit
  16. 30 Jul, 2020 1 commit
  17. 29 Jul, 2020 1 commit
  18. 27 Jul, 2020 1 commit
  19. 24 Jul, 2020 1 commit
    • Wei Tang's avatar
      Companion PR for #6569 (#1394) · 08995278
      Wei Tang authored
      * Update wasm-builder version to 2.0.0
      * Fix all crate compile
      * Update cargo lock
      * Bump runtime impl_version
  20. 22 Jul, 2020 1 commit
  21. 21 Jul, 2020 1 commit
    • Gavin Wood's avatar
      Enable transfers (#1443) · b481d6c0
      Gavin Wood authored
      * Enable transfers
      Also quash any conviction from Referendum Zero; Sudo was always
      going to have been removed so lock-voting doesn't make sense in
      this case.
      * Add test for migration; remove superfluous comment.
      * Fixes
      * Bump
      * Weekly elections
  22. 20 Jul, 2020 2 commits
    • Gavin Wood's avatar
      Remove Sudo (#1437) · 29fea4e4
      Gavin Wood authored
      * Remove Sudo
      NOTE: To ensure minimal index changes to pre-existing pallet deployments,
      this is done with a "swap_remove" style; the previous last pallet
      (Purchase), which is hitherto unused, has been shifted into the old index
      of Sudo.
      * Remove CC1 designation.
      * Fixes
      * Bump
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
      * Fixes
    • Gavin Wood's avatar
      Bump version, enable full governance (#1433) · 4a997abe
      Gavin Wood authored
  23. 14 Jul, 2020 1 commit
  24. 13 Jul, 2020 1 commit
    • Max Inden's avatar
      *: Enable authority discovery by default (#1395) · bc6e1e77
      Max Inden authored
      * *: Enable authority discovery by default
      Instead of having to explicitly enable the authority discovery module on
      validator and sentry nodes, this commit enables the module by default.
      Today there is no way for non validator or sentry nodes to run the
      module. That might change in the future.
      * service/src/lib: Fix typo in new_full! for test
  25. 10 Jul, 2020 1 commit
  26. 09 Jul, 2020 1 commit
  27. 08 Jul, 2020 1 commit
    • pscott's avatar
      Companion PR for #6564 (#1350) · 8d9bc116
      pscott authored
      * Add log_rotation_opt
      * Update Cargo lock
      * Use SubstrateCli's log-directory instead of re-defining it
  28. 03 Jul, 2020 1 commit
  29. 30 Jun, 2020 1 commit
  30. 26 Jun, 2020 1 commit
  31. 24 Jun, 2020 1 commit
  32. 23 Jun, 2020 1 commit
  33. 19 Jun, 2020 1 commit
  34. 17 Jun, 2020 1 commit
  35. 16 Jun, 2020 1 commit