- Mar 11, 2021
-
-
ordian authored
* availability distribution: don't early return on runtime errors * log error * extract runtime api error from Error * uh * oh
-
asynchronous rob authored
* some more metrics for approval voting * fix tests Co-authored-by:
Andronik Ordian <[email protected]>
-
asynchronous rob authored
* more tracing for av-store * Update node/core/av-store/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update node/core/av-store/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update node/core/av-store/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> * Update tracing everywhere * Fix build * More fixes * Push cargo.lock * Update Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]>
-
Cecile Tonglet authored
Companion for https://github.com/paritytech/substrate/pull/8143
-
- Mar 10, 2021
-
-
asynchronous rob authored
-
asynchronous rob authored
* make approval voting resilient to dropped requests * some more * skip whole chain if encountering spurious error
-
André Silva authored
* runtime: use babe as randomness source * runtime: fix randomness api * bridges: fix random_seed * parachains: use mock TestRandomness from frame_support_test * parachains: use mock TestRandomness from frame_support_test * runtime: update randomness source in test-runtime * runtime: remove unused import * parachains: add todo to audit usage of randomness api * "Update Substrate" Co-authored-by: parity-processbot <>
-
asynchronous rob authored
-
Tomasz Drwięga authored
* Switch branch * Fix compilation. * Revert "Switch branch" This reverts commit a3bd3621772ae98618c46102d03501856b7950ba. * Update Cargo.lock. * Add telemetry span back. * Fix telemetry_span issues. * Update substrate.
-
ordian authored
* prefix parachain log targets with parachain:: * even more consistent
-
Ashley authored
* Add a config field to babe epochs * Fix test * Add BABE_GENESIS_EPOCH_CONFIG consts * Use PrimaryAndSecondaryVRFSlots and remove newlines * Make epoch_configs Some * Fix tests * Fix test service tests * Add a BabeEpochConfigMigrations OnRuntimeUpgrade * Apply suggestions * Use PrimaryAndSecondaryPlainSlots in kusama * Remove migration from test runtime and rococo * Add HasPalletPrefix * Rename to BabePalletPrefix and change BabeApi -> Babe * "Update Substrate" * Update substrate * Resolve parantheses errors Co-authored-by: parity-processbot <>
-
- Mar 09, 2021
-
-
ordian authored
* approval-voting metrics * metric: approvals produced
-
Bastian Köcher authored
* Substrate companion #8280 https://github.com/paritytech/substrate/pull/8280 * "Update Substrate" Co-authored-by: parity-processbot <>
-
asynchronous rob authored
* guide: max_validators * guide: new approach * restrict validators based on configurable max * add some tests * fix wasm build (Vec) * clean up warnings * add logging * set validator indices in tests as well * fix common tests * Update runtime/parachains/src/util.rs Co-authored-by:
Andronik Ordian <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
asynchronous rob authored
* add a magic number to backing statements encoded * fix fallout in statement table * fix some fallout in backing * add magic to approval votes * remove last references to Candidate variant * update size-hint
-
Shaun Wang authored
* Replace undefined error in currency adapter. * Update tranact asset errors. * Update TransactAsset trait documentations. * Update currency adapter error documentation.
-
Pierre Krieger authored
-
Robert Klotzner authored
* Statement distribution is now validator only. * Avoid Arc creation where it is not necessarily needed.
-
- Mar 07, 2021
-
-
Amar Singh authored
-
- Mar 06, 2021
-
-
Bastian Köcher authored
* Substrate companion #8275 https://github.com/paritytech/substrate/pull/8275 * "Update Substrate" Co-authored-by: parity-processbot <>
-
- Mar 05, 2021
-
-
Pierre Krieger authored
-
Pierre Krieger authored
* Print an error if a collator connects to a node without real-overseer * Update node/service/src/lib.rs Co-authored-by:
Bastian Köcher <[email protected]> Co-authored-by:
Bastian Köcher <[email protected]>
-
Xiliang Chen authored
-
- Mar 04, 2021
-
-
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:
Andronik Ordian <[email protected]> Co-authored-by:
Andronik Ordian <[email protected]>
-
Robert Klotzner authored
-
ordian authored
-
- Mar 03, 2021
-
-
Robert Klotzner authored
* Guide update for availability distribution. * Link fix. * Hopefully fixed implementers guide build.
-
Robert Klotzner authored
* WIP: Whole subsystem test. * New tests compile. * Avoid needless runtime queries for no validator nodes. * Make tx and rx publicly accessible in virtual overseer. This simplifies mocking in some cases, as tx can be cloned, but rx can not. * Whole subsystem test working. * Update node/network/availability-distribution/src/session_cache.rs Co-authored-by:
Andronik Ordian <[email protected]> * Update node/network/availability-distribution/src/session_cache.rs Co-authored-by:
Andronik Ordian <[email protected]> * Document better what `None` return value means. * Get rid of BitVec dependency. * Update Cargo.lock * Hopefully fixed implementers guide build. Co-authored-by:
Andronik Ordian <[email protected]>
-
Bastian Köcher authored
* Companion for `ExecuteBlock` changes in Substrate https://github.com/paritytech/substrate/pull/8244 * "Update Substrate" Co-authored-by: parity-processbot <>
-
- Mar 02, 2021
-
-
Bastian Köcher authored
This fixes a bug in block import not reporting to the telemetry.
-
ordian authored
* initial subsystem for issuing connection requests * finish the initial impl * integrate with the overseer * rename to gossip-support * fix renamings leftover * remove run_inner * fix compilation * random subset of sqrt
-
- Mar 01, 2021
-
-
Tomasz Drwięga authored
* Add instructions. * Squashed 'bridges/' content from commit 345e84a21 git-subtree-dir: bridges git-subtree-split: 345e84a2146b56628e9888c9f5e129cb40e868a9 * Remove bridges workspace file to avoid confusing Cargo. * Add some bridges primitives to Polkadot workspace. * Improve docs.
-
Bastian Köcher authored
* Lol * Add the features * Remove some more runtime logger init calls * Make companion check work * Revert "Make companion check work" This reverts commit a255c798076466c0fa20a4db713fc712772c2b4d. * Update Substrate
-
Shaun Wang authored
* Add Xcm sender. * Rename XCM sender and add description. * Update copyright header. Co-authored-by:
Shawn Tabrizi <[email protected]>
-
- Feb 28, 2021
-
-
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:
Bryan Chen <[email protected]> Co-authored-by:
Parity Benchmarking Bot <[email protected]>
-
- Feb 27, 2021
-
-
Shaun Wang authored
* Add events for hrmp pallet. * Apply review suggestions.
-
Shaun Wang authored
-
- Feb 26, 2021
-
-
ordian authored
-
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.
-
ordian authored
-