Skip to content
  1. Mar 09, 2021
  2. Mar 07, 2021
  3. Mar 06, 2021
  4. Mar 05, 2021
  5. Mar 04, 2021
    • Robert Klotzner's avatar
      Jaeger spans for availability distribution (#2559) · c0347f02
      Robert Klotzner authored
      
      
      * Logging functionality for spans.
      
      * Jaeger spans for availability distribution.
      
      * Fix instrumentation to use log target properly.
      
      * Add some tracing instrumentation macros.
      
      * Use int_tags instead of logs.
      
      * Add span per iteration.
      
      * Remove span::log functionality.
      
      * Fix instrumentation log target for real.
      
      * Add jaeger span to responding side as well.
      
      * Revert "Fix instrumentation log target for real."
      
      This reverts commit e1c2a2e6ff6f257e702f07d8a77c2668af92b0ef.
      
      * Revert "Fix instrumentation to use log target properly."
      
      This reverts commit 7caa0bd1acc6fe9727bb3a91851560d756c40ab8.
      
      * target -> subsystem in instrumentatio macro
      
      target is not correct either, and the correct way of using a top level
      target = LOG_TARGET does not work, as the macro expects a string literal
      and gets confused by the constant `LOG_TARGET`.
      
      * Use kebab-case for spa names.
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      c0347f02
    • Robert Klotzner's avatar
      Fix links in docs. (#2556) · 95f1b09b
      Robert Klotzner authored
      95f1b09b
    • ordian's avatar
  6. Mar 03, 2021
  7. Mar 02, 2021
  8. Mar 01, 2021
  9. Feb 28, 2021
    • Gavin Wood's avatar
      Companion for Substrate #8120 (#2541) · c4b89e11
      Gavin Wood authored
      
      
      * add remark_with_event
      
      * Bump Substrate
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=frame_system --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=kusama-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      Co-authored-by: default avatarBryan Chen <[email protected]>
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      c4b89e11
  10. Feb 27, 2021
  11. Feb 26, 2021
    • ordian's avatar
    • Robert Klotzner's avatar
      Request based availability distribution (#2423) · 48409e55
      Robert Klotzner authored
      * WIP
      
      * availability distribution, still very wip.
      
      Work on the requesting side of things.
      
      * Some docs on what I intend to do.
      
      * Checkpoint of session cache implementation
      
      as I will likely replace it with something smarter.
      
      * More work, mostly on cache
      
      and getting things to type check.
      
      * Only derive MallocSizeOf and Debug for std.
      
      * availability-distribution: Cache feature complete.
      
      * Sketch out logic in `FetchTask` for actual fetching.
      
      - Compile fixes.
      - Cleanup.
      
      * Format cleanup.
      
      * More format fixes.
      
      * Almost feature complete `fetch_task`.
      
      Missing:
      
      - Check for cancel
      - Actual querying of peer ids.
      
      * Finish FetchTask so far.
      
      * Directly use AuthorityDiscoveryId in protocol and cache.
      
      * Resolve `AuthorityDiscoveryId` on sending requests.
      
      * Rework fetch_task
      
      - also make it impossible to check the wrong chunk index.
      - Export needed function in validator_discovery.
      
      * From<u32> implementation for `ValidatorIndex`.
      
      * Fixes and more integration work.
      
      * Make session cache proper lru cache.
      
      * Use proper lru cache.
      
      * Requester finished.
      
      * ProtocolState -> Requester
      
      Also make sure to not fetch our own chunk.
      
      * Cleanup + fixes.
      
      * Remove unused functions
      
      - FetchTask::is_finished
      - SessionCache::fetch_session_info
      
      * availability-distribution responding side.
      
      * Cleanup + Fixes.
      
      * More fixes.
      
      * More fixes.
      
      adder-collator is running!
      
      * Some docs.
      
      * Docs.
      
      * Fix reporting of bad guys.
      
      * Fix tests
      
      * Make all tests compile.
      
      * Fix test.
      
      * Cleanup + get rid of some warnings.
      
      * state -> requester
      
      * Mostly doc fixes.
      
      * Fix test suite.
      
      * Get rid of now redundant message types.
      
      * WIP
      
      * Rob's review remarks.
      
      * Fix test suite.
      
      * core.relay_parent -> leaf for session request.
      
      * Style fix.
      
      * Decrease request timeout.
      
      * Cleanup obsolete errors.
      
      * Metrics + don't fail on non fatal errors.
      
      * requester.rs -> requester/mod.rs
      
      * Panic on invalid BadValidator report.
      
      * Fix indentation.
      
      * Use typed default timeout constant.
      
      * Make channel size 0, as each sender gets one slot anyways.
      
      * Fix incorrect metrics initialization.
      
      * Fix build after merge.
      
      * More fixes.
      
      * Hopefully valid metrics names.
      
      * Better metrics names.
      
      * Some tests that already work.
      
      * Slightly better docs.
      
      * Some more tests.
      
      * Fix network bridge test.
      48409e55
    • ordian's avatar
      make runtime_api non blocking task again (#2531) · 241b1f12
      ordian authored
      241b1f12
    • Bernhard Schuster's avatar
      05f74c21
    • Bernhard Schuster's avatar
      test: add unit test to catch missing distribution to subsystems faster (#2495) · 31327eb0
      Bernhard Schuster authored
      
      
      * test: add unit test to catch missing distribution to subsystems faster
      
      * add a simple count
      
      * introduce proc macro to generate dispatch type
      
      * refactor
      
      * refactor
      
      * chore: add license
      
      * fixup unit test
      
      * fixup merge
      
      * better errors
      
      * better fmt
      
      * fix error spans
      
      * better docs
      
      * better error messages
      
      * ui test foo
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * fix compilation
      
      * use find_map
      
      * drop the silly 2, use _inner instead
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/subsystem/dispatch-gen/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * nail deps down
      
      * more into()
      
      * flatten
      
      * missing use statement
      
      * fix messages order
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      31327eb0
    • Xiliang Chen's avatar
      Add an optional verifier to crowdloan (#2248) · 69734bb8
      Xiliang Chen authored
      
      
      * Add an optional verifier to crowdloan
      
      * add tests
      
      * verify signatures
      
      * benchmark with signatures
      
      * update crowdloan benchmark
      
      * try to get keystore working in test
      
      * rewrite to avoid traits
      
      * Use MultiSignature and MultiSigner
      
      * refactor and update benchmarks
      
      * optimize check order
      
      * fix no_std build
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      69734bb8
  12. Feb 25, 2021
  13. Feb 24, 2021
    • Bastian Köcher's avatar
      Companion for Substrate #8185 (#2507) · 327a203d
      Bastian Köcher authored
      * Companion for Substrate #8185
      
      https://github.com/paritytech/substrate/pull/8185
      
      * "Update Substrate"
      
      Co-authored-by: parity-processbot <>
      327a203d
    • asynchronous rob's avatar
      spawn availability store and approval voting subsystems as blocking tasks (#2521) · 3cdaa885
      asynchronous rob authored
      * spawn availability store and approval voting subsystems as blocking tasks
      
      * refactor
      3cdaa885
    • Bastian Köcher's avatar
      Make sure we generate a valid slot in tests (#2520) · c3ef81ab
      Bastian Köcher authored
      Currently the first last timestamp is `0` and that leads to the first
      slot being `0` which is reserved for genesis. There is some debug assert
      in BABE that complains about this in Cumulus :D
      c3ef81ab
    • Martin Pugh's avatar
      [release] Prep for v0.8.29 (#2497) · 5ffb8cb4
      Martin Pugh authored
      
      
      * bump version and substrate
      
      * update weights
      
      * bump substrate
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --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=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      5ffb8cb4
    • asynchronous rob's avatar
      Revert "bump Substrate" · 4675a784
      asynchronous rob authored
      This reverts commit 3a13ef6c.
      4675a784
    • asynchronous rob's avatar
      bump Substrate · 3a13ef6c
      asynchronous rob authored
      3a13ef6c
    • asynchronous rob's avatar