- Mar 04, 2021
-
-
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
-
Bernhard Schuster authored
-
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: Bastian Köcher <[email protected]> * Update node/network/bridge/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update node/subsystem/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]> * Update node/subsystem/dispatch-gen/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update node/subsystem/dispatch-gen/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update node/network/bridge/src/lib.rs Co-authored-by: Andronik 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: Andronik Ordian <[email protected]> * Update node/subsystem/dispatch-gen/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * nail deps down * more into() * flatten * missing use statement * fix messages order Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Andronik Ordian <[email protected]>
-
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: Shawn Tabrizi <[email protected]>
-
- Feb 25, 2021
-
-
asynchronous rob authored
* some initial spans for approval voting * add stage earlier
-
ordian authored
-
André Silva authored
* Pass shared_authority_set to request_response_config_for_chain * "Update Substrate" Co-authored-by: Ashley Ruglys <[email protected]> Co-authored-by: parity-processbot <>
-
asynchronous rob authored
-
- Feb 24, 2021
-
-
Bastian Köcher authored
* Companion for Substrate #8185 https://github.com/paritytech/substrate/pull/8185 * "Update Substrate" Co-authored-by: parity-processbot <>
-
asynchronous rob authored
* spawn availability store and approval voting subsystems as blocking tasks * refactor
-
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
-
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: Parity Benchmarking Bot <[email protected]>
-
asynchronous rob authored
This reverts commit 3a13ef6c.
-
asynchronous rob authored
-
asynchronous rob authored
-
dependabot[bot] authored
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.69 to 0.2.70. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.69...0.2.70) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Kian Paimani authored
* Revert some weights * Add features * Update lock file * 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/ * Use read 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/ * export stuff * Update substrate Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
Kian Paimani authored
* Template * Midway.. * Make all 3 runtimes work * Update node/service/Cargo.toml * undo brach updates * fix with latest version * Update runtime/kusama/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update runtime/rococo/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Final nits * Update runtime/kusama/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
-
- Feb 23, 2021
-
-
Martin Pugh authored
* remove weights for suicide * "Update Substrate" * Update Cargo.lock * 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=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=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: parity-processbot <> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
asynchronous rob authored
-
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
-
Parth authored
* override authorities runtime call * addressing feedback * addressing feedback and restoring semantics * updated helper function * naming convention + comment Co-authored-by: Parity <[email protected]>
-
Kian Paimani authored
* Apply some changes * Make the runtimes build * Master.into() * Undo branch updates. * Undo unwatned changes * Fix deps one last time * Fix election lookahead * Revert deps * Fix :P Co-authored-by: Bastian Köcher <[email protected]>
-
Bernhard Schuster authored
* feat/view: assure heads in a view are sorted Allows O(n) comparisons, adds an alternate equiv relation which takes O(n^2) for integrity verification. Ref #2133 * revert: remove custom PartialEq impl, there are no duplicates * fix: do not sort the live_heads, that alters the local view * refactor/view: heads should not be public * chore/spellcheck: add unfinalized * fix/view: add missing len() and is_empty() fns * quirk * vec is not view * Update node/network/approval-distribution/src/tests.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/network/bridge/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/network/protocol/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * fixup comment * fix botched test Co-authored-by: Andronik Ordian <[email protected]>
-
Kian Paimani authored
* Change a few fee parameters * Update runtime/common/src/lib.rs
-
Martin Pugh authored
* remove v0.8.28 runtime migrations * Update runtime/westend/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * commit suggestions Co-authored-by: Kian Paimani <[email protected]>
-