1. 17 Aug, 2021 1 commit
  2. 02 Aug, 2021 1 commit
  3. 21 Jul, 2021 1 commit
  4. 17 Jun, 2021 1 commit
  5. 16 Jun, 2021 1 commit
  6. 09 Jun, 2021 1 commit
    • Zeke Mostov's avatar
      Companion to #8966 (#3186) · 236ebda2
      Zeke Mostov authored
      * update rustls to be compat with jsronrpsee 0.2.0
      * Stub try-cli when feat not enabled
      * update Substrate
      Co-authored-by: parity-processbot <>
  7. 08 Jun, 2021 1 commit
    • Bastian Köcher's avatar
      polkadot-service: Make native runtime configurable (#3189) · f5971628
      Bastian Köcher authored
      * polkadot-service: Make native runtime configurable
      This pull requests adds support for configuring the native runtimes used
      by polkadot-service. While this whole pr doesn't change that much for
      polkadot, besides not having the light-node enabled for the default
      polkadot binary. However, downstream projects (parachains) will have a
      much better compile time. In cumulus for example the `cargo test --all
      --release` is about 4m faster to compile.
      * Fixes
      * Fix
      * Enable rococo-native
      * Fix light client
      * 🤦
      * Fixes
  8. 29 May, 2021 1 commit
  9. 10 May, 2021 1 commit
  10. 27 Apr, 2021 1 commit
  11. 22 Apr, 2021 1 commit
    • André Silva's avatar
      Introduce Wococo testnet (#2918) · 3490daa0
      André Silva authored
      * runtime: remove mmr and beefy from westend runtime
      * runtime: westend: remove pallet_beefy config
      * node: only start beefy gadget on rococo
      * node: remove beefy keys from westend chain spec
      * node: add wococo testnet chain spec
      * node: add comments about beefy gadget task
      * runtime: update wococo chainspec
      * Remove stale comment
      Co-authored-by: default avatarTomasz Drwięga <tomasz@parity.io>
      Co-authored-by: default avataradoerr <0xad@gmx.net>
  12. 21 Apr, 2021 1 commit
    • Kian Paimani's avatar
      Fix bench bot (#2900) · 72c8fda7
      Kian Paimani authored
      * Fix bench bot
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      * Fix weights files
      * Fix'
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_membership --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      Co-authored-by: default avatarParity Benchmarking Bot <admin@parity.io>
  13. 08 Apr, 2021 1 commit
    • Sergey Pepyakin's avatar
      New PVF validation host (#2710) · 0eb7905a
      Sergey Pepyakin authored
      * Implement PVF validation host
      * WIP: Diener
      * Increase the alloted compilation time
      * Add more comments
      * Minor clean up
      * Apply suggestions from code review
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      * Fix pruning artifact removal
      * Fix formatting and newlines
      * Fix the thread pool
      * Update node/core/pvf/src/executor_intf.rs
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      * Remove redundant test declaration
      * Don't convert the path into an intermediate string
      * Try to workaround the test failure
      * Use the puppet_worker trick again
      * Fix a blip
      * Move `ensure_wasmtime_version` under the tests mod
      * Add a macro for puppet_workers
      * fix build for not real-overseer
      * Rename the puppet worker for adder collator
      * play it safe with the name of adder puppet worker
      * Typo: triggered
      * Add more comments
      * Do not kill exec worker on every error
      * Plumb Duration for timeouts
      * typo: critical
      * Add proofs
      * Clean unused imports
      * Revert "WIP: Diener"
      This reverts commit ff2d3ff2
      * Sync version of wasmtime
      * Update cargo.lock
      * Update Substrate
      * Merge fixes still
      * Update wasmtime version in test
      * bastifmt
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      * Squash spaces
      * Trailing new line for testing.rs
      * Remove controversial code
      * comment about biasing
      * Fix suggestion
      * Add comments
      * make it more clear why unwrap_err
      * tmpfile retry
      * proper proofs for claim_idle
      * Remove mutex from ValidationHost
      * Add some more logging
      * Extract exec timeout into a constant
      * Add some clarifying logging
      * Use blake2_256
      * Clean up the merge
      Specifically the leftovers after removing real-overseer
      * Update parachain/test-parachains/adder/collator/Cargo.toml
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
  14. 31 Mar, 2021 1 commit
  15. 11 Mar, 2021 1 commit
  16. 24 Feb, 2021 1 commit
  17. 23 Feb, 2021 1 commit
    • asynchronous rob's avatar
      Approval Checking Improvements Omnibus (#2480) · 1e2b8ae5
      asynchronous rob authored
      * add tracing to approval voting
      * notify if session info is not working
      * add dispute period to chain specs
      * propagate genesis session to parachains runtime
      * use `on_genesis_session`
      * protect against zero cores in computation
      * tweak voting rule to be based off of best and add logs
      * genesis configuration should use VRF slots only
      * swallow more keystore errors
      * add some docs
      * make validation-worker args non-optional and update clap
      * better tracing for bitfield signing and provisioner
      * pass amount of bits in bitfields to inclusion instead of recomputing
      * debug -> warn for some logs
      * better tracing for availability recovery
      * a little av-store tracing
      * bridge: forward availability recovery messages
      * add missing try_from impl
      * some more tracing
      * improve approval distribution tracing
      * guide: hold onto pending approval messages until NewBlocks
      * Hold onto pending approval messages until NewBlocks
      * guide: adjust comment
      * process all actions for one wakeup at a time
      * vec
      * fix network bridge test
      * replace randomness-collective-flip with Babe
      * remove PairNotFound
  18. 09 Feb, 2021 1 commit
  19. 29 Jan, 2021 1 commit
  20. 20 Jan, 2021 1 commit
  21. 13 Jan, 2021 1 commit
    • Bernhard Schuster's avatar
      display errors with their sources (#2264) · 2fd345b8
      Bernhard Schuster authored
      * update futures to 0.3.9
      * companion changes for generic error types
      * improve errors, keep error sources
      * command compile fix
      * use the correct Error type, add annotation
      * avoid async { fut.await.map_err(E::Variant) } with TryFuture
      * fix cargo lock, bump futures to 0.3.10
      futures 0.3.9 got yanked
      * chore cargo update -p sp-io
      * minor quirk
      * make rustc 1.48 happy by bouning the error more tightly
      * be more explicit
      * cargo lock futures
  22. 29 Dec, 2020 1 commit
  23. 28 Dec, 2020 1 commit
  24. 11 Dec, 2020 1 commit
  25. 10 Dec, 2020 1 commit
    • Bernhard Schuster's avatar
      addition error definitions (#2107) · dca93d01
      Bernhard Schuster authored
      * remove low information density error doc comments
      * another round of error dancing
      * fix compilation
      * remove stale `None` argument
      * adjust test, minor slip in command
      * only add AvailabilityError for full node features
      * another None where none shuld be
  26. 03 Dec, 2020 1 commit
  27. 23 Nov, 2020 1 commit
    • Max Inden's avatar
      *: Update authority discovery and remove WorkerConfig (#1953) · ab5dd449
      Max Inden authored
      * *: Update authority discovery and remove WorkerConfig
      With https://github.com/paritytech/substrate/pull/7545 the authority
      discovery module queries and publishes addresses on an exponentially
      increasing interval. Doing so should make custom configurations
      obsolete, as operations are retried in a timely fashion in the first
      * */Cargo.{lock,toml}: Point to mxinden substrate auth-disc-timing
      * Revert "*/Cargo.{lock,toml}: Point to mxinden substrate auth-disc-timing"
      This reverts commit 0785943a.
      * "Update Substrate"
      * Revert ""Update Substrate""
      This reverts commit 377b221e.
      * Cargo.lock: Manual Substrate update
      * node/test/service/src/lib: Remove unused import
      * parachain/test-parachains/adder: Remove unused import
      Co-authored-by: parity-processbot <>
  28. 09 Nov, 2020 1 commit
  29. 02 Nov, 2020 1 commit
    • Bastian Köcher's avatar
      Adder collator improvements (#1896) · 96465b04
      Bastian Köcher authored
      * Fixes bug that collator wasn't sending `Declare` message
      * Set authority discovery config
      * Fixes bug that collator wasn't sending `Declare` message
      * Adds real overseer feature and makes the wasm_validation fail with a
      proper error
      * Adds README
      * Remove debug stuff
      * Add feature
      * Make adder collator use the correct parent when building a new block
  30. 28 Oct, 2020 3 commits
    • Bastian Köcher's avatar
      Add key subcommand (#1874) · f6297ba8
      Bastian Köcher authored
    • Peter Goodspeed-Niklaus's avatar
    • Peter Goodspeed-Niklaus's avatar
      start working on building the real overseer (#1795) · 798f781f
      Peter Goodspeed-Niklaus authored
      * start working on building the real overseer
      Unfortunately, this fails to compile right now due to an upstream
      failure to compile which is probably brought on by a recent upgrade
      to rustc v1.47.
      * fill in AllSubsystems internal constructors
      * replace fn make_metrics with Metrics::attempt_to_register
      * update to account for #1740
      * remove Metrics::register, rename Metrics::attempt_to_register
      * add 'static bounds to real_overseer type params
      * pass authority_discovery and network_service to real_overseer
      It's not straightforwardly obvious that this is the best way to handle
      the case when there is no authority discovery service, but it seems
      to be the best option available at the moment.
      * select a proper database configuration for the availability store db
      * use subdirectory for av-store database path
      * apply Basti's patch which avoids needing to parameterize everything on Block
      * simplify path extraction
      * get all tests to compile
      * Fix Prometheus double-registry error
      for debugging purposes, added this to node/subsystem-util/src/lib.rs:472-476:
      Some(registry) => Self::try_register(registry).map_err(|err| {
      	eprintln!("PrometheusError calling {}::register: {:?}", std::any::type_name::<Self>(), err);
      That pointed out where the registration was failing, which led to
      this fix. The test still doesn't pass, but it now fails in a new
      and different way!
      * authorities must have authority discovery, but not necessarily overseer handlers
      * fix broken SpawnedSubsystem impls
      detailed logging determined that using the `Box::new` style of
      future generation, the `self.run` method was never being called,
      leading to dropped receivers / closed senders for those subsystems,
      causing the overseer to shut down immediately.
      This is not the final fix needed to get things working properly,
      but it's a good start.
      * use prometheus properly
      Prometheus lets us register simple counters, which aren't very
      interesting. It also allows us to register CounterVecs, which are.
      With a CounterVec, you can provide a set of labels, which can
      later be used to filter the counts.
      We were using them wrong, though. This pattern was repeated in a
      variety of places in the code:
      // panics with an cardinality mismatch
      let my_counter = register(CounterVec::new(opts, &["succeeded", "failed"])?, registry)?;
      The problem is that the labels provided in the constructor are not
      the set of legal values which can be annotated, but a set of individual
      label names which can have individual, arbitrary values.
      This commit fixes that.
      * get av-store subsystem to actually run properly and not die on first signal
      * typo fix: incomming -> incoming
      * don't disable authority discovery in test nodes
      * Fix rococo-v1 missing session keys
      * Update node/core/av-store/Cargo.toml
      * try dummying out av-store on non-full-nodes
      * overseer and subsystems are required only for full nodes
      * Reduce the amount of warnings on browser target
      * Fix two more warnings
      * InclusionInherent should actually have an Inherent module on rococo
      * Ancestry: don't return genesis' parent hash
      * Update Cargo.lock
      * fix broken test
      * update test script: specify chainspec as script argument
      * Apply suggestions from code review
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      * Update node/service/src/lib.rs
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      * node/service/src/lib: Return error via ? operator
      * post-merge blues
      * add is_collator flag
      * prevent occasional av-store test panic
      * simplify fix; expand application
      * run authority_discovery in Role::Discover when collating
      * distinguish between proposer closed channel errors
      * add IsCollator enum, remove is_collator CLI flag
      * improve formatting
      * remove nop loop
      * Fix some stuff
      Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
      Co-authored-by: Bastian Köcher's avatarBastian Köcher <git@kchr.de>
      Co-authored-by: Fedor Sakharov's avatarFedor Sakharov <fedor.sakharov@gmail.com>
      Co-authored-by: default avatarRobert Habermeier <robert@Roberts-MBP.lan1>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
  31. 15 Oct, 2020 1 commit
  32. 14 Oct, 2020 1 commit
  33. 13 Oct, 2020 1 commit
  34. 09 Oct, 2020 1 commit
  35. 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>
  36. 28 Sep, 2020 2 commits
  37. 18 Sep, 2020 1 commit