Skip to content
  1. May 10, 2021
  2. May 06, 2021
  3. May 04, 2021
  4. May 03, 2021
    • Robert Klotzner's avatar
      Do peer connect later (as it happens in reality). (#2971) · 795a526e
      Robert Klotzner authored
      Otherwise peer connect events occassionally happen before
      `StatementFetchingReceiver` message.
      795a526e
    • Robert Klotzner's avatar
      More secure `Signed` implementation (#2963) · 0dbdfef9
      Robert Klotzner authored
      * Remove signature verification in backing.
      
      `SignedFullStatement` now signals that the signature has already been
      checked.
      
      * Remove unused check_payload function.
      
      * Introduced unchecked signed variants.
      
      * Fix inclusion to use unchecked variant.
      
      * More unchecked variants.
      
      * Use unchecked variants in protocols.
      
      * Start fixing statement-distribution.
      
      * Fixup statement distribution.
      
      * Fix inclusion.
      
      * Fix warning.
      
      * Fix backing properly.
      
      * Fix bitfield distribution.
      
      * Make crypto store optional for `RuntimeInfo`.
      
      * Factor out utility functions.
      
      * get_group_rotation_info
      
      * WIP: Collator cleanup + check signatures.
      
      * Convenience signature checking functions.
      
      * Check signature on collator-side.
      
      * Fix warnings.
      
      * Fix collator side tests.
      
      * Get rid of warnings.
      
      * Better Signed/UncheckedSigned implementation.
      
      Also get rid of Encode/Decode for Signed! *party*
      
      * Get rid of dead code.
      
      * Move Signed in its own module.
      
      * into_checked -> try_into_checked
      
      * Fix merge.
      0dbdfef9
    • Bastian Köcher's avatar
      Companion for Substrate#8526 (#2845) · 7830bae5
      Bastian Köcher authored
      * Update branch
      
      * Make it compile
      
      * Compile
      
      * gate approval-checking logic (#2470)
      
      * Fix build
      
      * Updates
      
      * Fix merge
      
      * Adds missing crate
      
      * Companion for Substrate#8386
      
      https://github.com/paritytech/substrate/pull/8386
      
      
      
      * Fix fix fix
      
      * Fix
      
      * Fix compilation
      
      * Rewrite to `ParachainsInherentDataProvider`
      
      * Make it compile
      
      * Renamings
      
      * Revert stuff
      
      * Remove stale file
      
      * Guide updates
      
      * Update node/core/parachains-inherent/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/core/parachains-inherent/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Apply suggestions from code review
      
      * Reset accidental changes
      
      * More
      
      * Remove stale file
      
      * update Substrate
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: parity-processbot <>
      7830bae5
  5. May 01, 2021
    • asynchronous rob's avatar
      Add parachains modules to Westend and Kusama runtimes (#2854) · 2d18b261
      asynchronous rob authored
      
      
      * add `force_set_active_config`
      
      * add parachains modules to Westend
      
      * add parachains modules to Kusama runtime
      
      * use real runtime API impl
      
      * add module indices and remove auctions, crowdloan
      
      * add benchmarks
      
      * remove previous migrations and add host configuration set migration
      
      * make compile
      
      * Add Call Filter for Registrar and Slots except Root
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      * fix build
      
      * update `add_benchmark`
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs
      
      * fix weights
      
      * tweak more constants
      
      * Fix up the kusama runtime
      
      * Westend runtime fixups
      
      * Fix MMR & Beefy for westend
      
      * Fixes
      
      * fix tests
      
      * Update runtime/polkadot/src/constants.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Update runtime/westend/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      Co-authored-by: default avatarGav Wood <[email protected]>
      2d18b261
    • Andreas Doerr's avatar
      Make KeyStore optional (#2964) · 99b10213
      Andreas Doerr authored
      99b10213
  6. Apr 29, 2021
  7. Apr 28, 2021
    • Martin Pugh's avatar
      Bump version, bump substrate & update benchmarks in preparation for v0.8.31 (#2938) · 9c609829
      Martin Pugh authored
      
      
      * bump version
      
      * bump cargo
      
      * update benchmarks
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --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 <[email protected]>
      9c609829
  8. Apr 27, 2021
    • Robert Klotzner's avatar
      Send statements to own backing group first (#2927) · c86a774b
      Robert Klotzner authored
      * Factor out runtime module into utils.
      
      * First fatal error design.
      
      * Better error handling infra.
      
      * Error handling cleanup.
      
      * Send to peers of our group first.
      
      * Finish backing group prioritization.
      
      * Little cleanup.
      
      * More cleanup.
      
      * Forgot to checkin error.rs.
      
      * Notes.
      
      * Runtime -> RuntimeInfo
      
      * qed in debug assert.
      
      * PolkaErr -> Fault.
      c86a774b
    • Hernando Castano's avatar
      Add Dev Config for Rococo and Wococo (#2928) · 470383ce
      Hernando Castano authored
      * Add `rococo-dev` chain option
      
      * Add `wococo-dev` CLI option
      
      * Sort Chain ID match arms
      470383ce
  9. Apr 25, 2021
  10. Apr 22, 2021
    • André Silva's avatar
      Introduce Wococo testnet (#2918) · ae558997
      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 <[email protected]>
      Co-authored-by: default avataradoerr <[email protected]>
      ae558997
  11. Apr 21, 2021
    • André Silva's avatar
      runtime: remove mmr and beefy from westend runtime (#2916) · c25e79d8
      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
      c25e79d8
    • Kian Paimani's avatar
      Fix bench bot (#2900) · 47889d84
      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 <[email protected]>
      47889d84
  12. Apr 20, 2021
  13. Apr 16, 2021
    • Robert Klotzner's avatar
      Infrastructure improvements (#2897) · dacde443
      Robert Klotzner authored
      * Factor out runtime module into utils.
      
      * Add maybe_authority information to `PeerConnected` event.
      
      We already gather this information in authority discovery, so we might
      as well share it with others.
      
      This opens up an easy path to trigger validators differently from normal
      nodes, e.g. for prioritization. This change has become more important
      now, that we just connect to all validators and therefore just have a
      long peer list without any information about those nodes.
      
      * Test fix.
      dacde443
  14. Apr 14, 2021
  15. Apr 12, 2021
  16. Apr 09, 2021
    • ordian's avatar
      distribution: handle sqrt peer view updates (#2871) · e62939ad
      ordian authored
      * distribution: handle sqrt peer view updates
      
      * someone please put rustc into my brain
      
      * guide updates
      e62939ad
    • asynchronous rob's avatar
      update rococo and remove cursed BEEFY migration (#2870) · 23cfd0ed
      asynchronous rob authored
      * update rococo and remove cursed BEEFY migration
      
      * remove migration
      
      * tweak VERSION
      23cfd0ed
    • Pierre Krieger's avatar
      af5a158e
    • Robert Klotzner's avatar
      Req/res optimization for statement distribution (#2803) · 305375e1
      Robert Klotzner authored
      * Wip
      
      * Increase proposer timeout.
      
      * WIP.
      
      * Better timeout values now that we are going to be connected to all nodes. (#2778)
      
      * Better timeout values.
      
      * Fix typo.
      
      * Fix validator bandwidth.
      
      * Fix compilation.
      
      * Better and more consistent sizes.
      
      Most importantly code size is now 5 Meg, which is the limit we currently
      want to support in statement distribution.
      
      * Introduce statement fetching request.
      
      * WIP
      
      * Statement cache retrieval logic.
      
      * Review remarks by @rphmeier
      
      * Fixes.
      
      * Better requester logic.
      
      * WIP: Handle requester messages.
      
      * Missing dep.
      
      * Fix request launching logic.
      
      * Finish fetching logic.
      
      * Sending logic.
      
      * Redo code size calculations.
      
      Now that max code size is compressed size.
      
      * Update Cargo.lock (new dep)
      
      * Get request receiver to statement distribution.
      
      * Expose new functionality for responding to requests.
      
      * Cleanup.
      
      * Responder logic.
      
      * Fixes + Cleanup.
      
      * Cargo.lock
      
      * Whitespace.
      
      * Add lost copyright.
      
      * Launch responder task.
      
      * Typo.
      
      * info -> warn
      
      * Typo.
      
      * Fix.
      
      * Fix.
      
      * Update comment.
      
      * Doc fix.
      
      * Better large statement heuristics.
      
      * Fix tests.
      
      * Fix network bridge tests.
      
      * Add test for size estimate.
      
      * Very simple tests that checks we get LargeStatement.
      
      * Basic check, that fetching of large candidates is performed.
      
      * More tests.
      
      * Basic metrics for responder.
      
      * More metrics.
      
      * Use Encode::encoded_size().
      
      * Some useful spans.
      
      * Get rid of redundant metrics.
      
      * Don't add peer on duplicate.
      
      * Properly check hash
      
      instead of relying on signatures alone.
      
      * Preserve ordering + better flood protection.
      
      * Get rid of redundant clone.
      
      * Don't shutdown responder on failed query.
      
      And add test for this.
      
      * Smaller fixes.
      
      * Quotes.
      
      * Better queue size calculation.
      
      * A bit saner response sizes.
      
      * Fixes.
      305375e1
    • Gavin Wood's avatar
      Introduce/integrate a collective into Rococo Relay (#2869) · 69bd6d8e
      Gavin Wood authored
      
      
      * Introduce a collective into Rococo runtime
      
      * Intregrate Rococo Collective into XCM
      
      * Fixes
      
      * Update runtime/rococo/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      69bd6d8e
    • ordian's avatar
      bitfield-dist: check signatures once (#2868) · 8961628e
      ordian authored
      8961628e
    • asynchronous rob's avatar
      set groups correctly even if not validator (#2863) · bc7761a3
      asynchronous rob authored
      shows what I get for being hasty last time. i added a test this time, which would have caught this issue last time.
      bc7761a3
  17. Apr 08, 2021
    • asynchronous rob's avatar
      no backing job early exit if not validator (#2860) · 234d0df5
      asynchronous rob authored
      with the MaxValidators parameter set, this meant that only validators participating in parachain consensus would be able to author relay-chain blocks containing backed candidates
      234d0df5
    • ordian's avatar
      silence some parachain warnings (#2859) · 78a46da3
      ordian authored
      * silence some parachain warnings
      
      * that was actually a bug that Rob is fixing
      78a46da3
    • Sergey Pepyakin's avatar
      New PVF validation host (#2710) · 59b4d651
      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 <[email protected]>
      
      * 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 <[email protected]>
      
      * 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 b9f54e513366c7a6dfdd117ac19fbdc46b900b4d.
      
      * 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 <[email protected]>
      
      * 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: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      59b4d651
    • asynchronous rob's avatar
      Code, PoV compression and remove `CompressedPoV` struct (#2852) · 896ec8db
      asynchronous rob authored
      * use compressed blob in candidate-validation
      
      * add some tests for compressed code blobs
      
      * remove CompressedPoV and apply compression in collation-generation
      
      * decompress BlockData before executing
      
      * don't produce oversized collations
      
      * add test for PoV decompression failure
      
      * fix tests and clean up
      
      * fix test
      
      * address review and fix CI
      
      * take this )
      896ec8db
    • asynchronous rob's avatar
      Remove real-overseer 🎉 (#2834) · 57038b2e
      asynchronous rob authored
      * remove real-overseer
      
      * overseer: only activate leaves which support parachains
      
      * integrate HeadSupportsParachains into service
      
      * remove unneeded line
      57038b2e