- Nov 20, 2021
-
-
Javier Viola authored
* test/malus: craft the first maliciously disputing actor * initial draft * Add Dockerfile and instructions how to use it to build malus image locally * Forgot one flag for the build cmd * we are not docker specific, we are happy to use any containerruntime * shuffle things around * add initial tera based integration test * chores * fixins * simple setup to start * other samples (WIP) * add Docker version with cargo-chef * update substarte and small change of orders in commands in the container file * metrics one * fmt * minor * fixin * fix metric names * -d * add open gauge * fmt * spellcheck * fix test * adjust to changed error messages * refactor, more malus impls * more malus changes * foo * minor cleanup * suggest garbage candidate * chore * fix suggest garabge malus * malus: back garbage candidate * cargo lock * re-introduce metrics * chore: cargo fmt * undoe 1.54.0 output, CI uses 1.53.0 rustc * update location of js types * Fix trybuild * add tag to image name also; this will be replaced in the prod version * Tests fixed * add some fix me * add dockerfile for ci * Add docker file for malus for ci * use variables in .toml file * add chnages for malus test * some fixes * some more fixes * Update .gitlab-ci.yml * add local build for polkadot and malus * some fixes * enable disputes feature in CI * ok, ok * rename: MsgFilter -> MessageInterceptor * remove TODO that would not have worked * intercept * refactor * fix README and containers * fix * chore: cargo fmt * avoid some more malus-$VARIANT references * fix argument order * chore: add about * Update sanity check in relay chain selection * fix order, add dispute-unavailable-block malus * fixup: avoid underflow issue * it's all u32 * fix conditional use * Revert "it's all u32" This reverts commit 6b3ae25bfd0bbf0b51d90d743642a75a4a815d6e. * Revert "fixup: avoid underflow issue" This reverts commit 336cbe2938e9720f870d37d8feeab7ca69200f47. * Revert "Update sanity check in relay chain selection" This reverts commit 970647f35e1116136e12fd91cd9f2fb7e18ad28d. * update the malus bin * Update node/malus/integrationtests/0003-dispute-unavailable-block.feature Co-authored-by: Andronik Ordian <[email protected]> * add some FIXME reminders * update path to index.js * Update .gitlab-ci.yml * Update node/malus/integrationtests/0001-dispute-valid-block.toml * try 1: make malus test run * chore: cargo fmt * temporary fix * use subcommand syntax from latest gurke * cargo +nightly fmt * add collator to a a test * docs: add env vars to README * update ci to run dispute-valid-block test * needs the polkadot image * Fix path for nodejs container * post merge fix * download proper dir containg configs for malus test * update the malus ci job * rm a whitespace * temp build for malus * use correct build command for temp malus * remove subcommands for now * set max validators per core in the default HostConfig * tabs * update beefy * fixup * fixup II * make one variant compile * make other variants compile * revert changes to chain_spec * fmt * build malus image from polkadot-test-malus again * revert unrelated changes * try fixing build-malus job * Revert "remove subcommands for now" This reverts commit 5d8292bc49252124937affec4b7c28181a5deb7e. * try fixing build-malus job II * MVP working dispute-ancestor * renames * fix PVF execution on malus * fix test * fix typo * fmt * checkmate * try something * make it actually work * some tweaks to 01 feature test * fmt * sleep a bit more * complete wococoization * some tweaks to 01 feature test * typo fix * use correct metric names * fix * ffs * . * try some rearrangement * Attempt to wait till initial node bootstrap in test * Fix test syntax * Run malus tests with v2 script * Proper symlink created * simnet v14 * add zombienet tests * add zombie net test - draft * add more tests to dispute suite * add within to fix tests * replace test directory and start test migration * migrate all the tests * add timeout to tests * reduce debug * make easy to test in dev * set appropriated debug * use image from ci * fix config for test * set images from ci * fix config * add COLIMAGE env * tweek tests * reduce debug * typo * wip, migrate old test to zombie-net * adjunt test config for zombie-net * run mauls 0001 test only * clean and setup smoke-test in zombie-net * add extra time to assertinons * clean code to merge and improve README * add info to access logs * improved readme * merge master and resolve conflicts * Update zombienet_tests/README.md Co-authored-by: Bernhard Schuster <[email protected]> * clean and consolidate zombienet name * change runner in gitlab * add comment explain why we use wococo * change tag for runner * remove unused tests * remove dup Dockerfile and update description * fmt * fix compilation post-merge * fmt * cut me Some slack Co-authored-by: Bernhard Schuster <[email protected]> Co-authored-by: radupopa2010 <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Anton Gavrilov <[email protected]> Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Lldenaurois <[email protected]>
-
- Nov 18, 2021
-
-
André Silva authored
* enable beefy explicitly * update beefy cli flag docs
-
- Nov 12, 2021
-
-
Arkadiy Paronyan authored
* Remove light client companion * Update substrate * cargo fmt * Fixed benches * fmt
-
- Nov 11, 2021
-
-
sandreim authored
* SubsystemContext: add subsystem name str Signed-off-by: Andrei Sandu <[email protected]> * Overseer builder proc macro changes * initilize SubsystemContext name field. * Add subsystem name in TaskKind::launch_task() Signed-off-by: Andrei Sandu <[email protected]> * Update ToOverseer enum Signed-off-by: Andrei Sandu <[email protected]> * Assign subsystem names to orphan tasks Signed-off-by: Andrei Sandu <[email protected]> * cargo fmt Signed-off-by: Andrei Sandu <[email protected]> * SubsystemContext: add subsystem name str Signed-off-by: Andrei Sandu <[email protected]> * Overseer builder proc macro changes * initilize SubsystemContext name field. * Add subsystem name in TaskKind::launch_task() Signed-off-by: Andrei Sandu <[email protected]> * Update ToOverseer enum Signed-off-by: Andrei Sandu <[email protected]> * Assign subsystem names to orphan tasks Signed-off-by: Andrei Sandu <[email protected]> * cargo fmt Signed-off-by: Andrei Sandu <[email protected]> * Rebase changes for new spawn() group param Signed-off-by: Andrei Sandu <[email protected]> * Add subsystem constat in JobTrait Signed-off-by: Andrei Sandu <[email protected]> * Add subsystem string Signed-off-by: Andrei Sandu <[email protected]> * Fix tests Signed-off-by: Andrei Sandu <[email protected]> * Fix spawn() calls Signed-off-by: Andrei Sandu <[email protected]> * cargo fmt Signed-off-by: Andrei Sandu <[email protected]> * Fix Signed-off-by: Andrei Sandu <[email protected]> * Fix tests Signed-off-by: Andrei Sandu <[email protected]> * fix Signed-off-by: Andrei Sandu <[email protected]> * Fix more tests Signed-off-by: Andrei Sandu <[email protected]> * Address PR review feedback #1 Signed-off-by: Andrei Sandu <[email protected]> * Address PR review round 2 Signed-off-by: Andrei Sandu <[email protected]> * Fixes - remove JobTrait::Subsystem - fix tests Signed-off-by: Andrei Sandu <[email protected]> * update Cargo.lock Co-authored-by: Andronik Ordian <[email protected]>
-
- Nov 03, 2021
-
-
Bastian Köcher authored
We don't use any http requests in the polkadot offchain workers.
-
- Oct 30, 2021
-
-
Squirrel authored
* not needed * cargo fmt * remove light-node * make full-node feature mandatory? * cargo fmt * Revert "cargo fmt" This reverts commit 5a2c7d850047466ed902faf673b779a2e02dfed2. * Revert "make full-node feature mandatory?" This reverts commit c35eb4fa399e43d29a10c83187cc39b9c74f1feb. * bump versionn numbers * Update bridges/primitives/chain-westend/src/lib.rs * fix typo + expand dictionary * update lockfile for substrate Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: parity-processbot <>
-
- Oct 15, 2021
-
-
ordian authored
* enable ApprovalCheckingVotingRule on Polkadot * fmt
-
- Oct 07, 2021
-
-
Arkadiy Paronyan authored
* Update for warp sync * update Substrate Co-authored-by: parity-processbot <>
-
- Sep 29, 2021
-
-
Bernhard Schuster authored
* introduce the OverseerConnector, use it * introduce is_relay_chain to RelayChainSelection * Update node/service/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * avoid the deferred setting of `is_relay_chain` in `RelayChainSelection` * positive assertion is not mandated, only the negative one, to avoid a stall * cleanup: overseer residue * spellcheck * fixin * groundwork to obsolete Overseer::new and AllSubsystemsGen proc-macro * Now all malus & tests can be ported to the builder pattern. Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`. * spellcheck * adjust tests, minor fixes * remove derive macro AllSubsystemsGen * add forgotten file dummy.rs * remove residue * good news everyone! * spellcheck * address review comments * fixup imports * make it conditional * fixup docs * reduce import * chore: fmt * chore: fmt * chore: spellcheck / nlprules * fixup malus variant-a * fmt * fix * fixins * pfmt * fixins * chore: fmt * remove expanded overseer generation * tracing version * Update node/network/statement-distribution/src/lib.rs Co-authored-by: Robert Habermeier <[email protected]> * use future::ready instead * silence warning * chore: fmt Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
- Sep 28, 2021
-
-
Bernhard Schuster authored
* overseer: remove mut in connector * rename SelectRelayChainWFallback -> SelectRelayChain * split Basics * introduce the OverseerConnector, use it * introduce is_relay_chain to RelayChainSelection * chore: rename var * avoid dummy import in subsystem * actually remove Disconnecte/Connected enum * extract DummySubsystem into mod dummy. * Handle::Connected -> Handle::new * chore: fmt * fix test * select relay chain takes no arg, simplification * fmt * Update node/service/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * chore: improve malus tests * avoid the deferred setting of `is_relay_chain` in `RelayChainSelection` * positive assertion is not mandated, only the negative one, to avoid a stall * chore: fmt * assure the `RelayChainSelection` is not used before the overseer is up and running Co-authored-by: Andronik Ordian <[email protected]>
-
- Sep 20, 2021
-
-
Bernhard Schuster authored
This reverts commit 5f637c51.
-
- Sep 17, 2021
-
-
Zeke Mostov authored
-
Bernhard Schuster authored
* remove connected disconnected state from overseer * foo * split new partial * fix * refactor init code to not require a `OverseerHandle` when we don't have an overseer * intermediate * fixins * X * fixup * foo * fixup * docs * conditional * Update node/service/src/lib.rs * review by ladi
-
- Sep 13, 2021
-
-
ordian authored
* make polkadot-runtime optional feature * sprinkle some cfg statements * ok * ok, ok * add CI check * set -e * chmod +x * fixes * fmt * nicer compile errors * Update outdated comments
-
- Aug 23, 2021
-
-
Bernhard Schuster authored
* remove dead_code from chain selection test Ref #3674 * remove convenience consts * disable the test suite It is crafted for usage _with_ disputes. * fix lockfile
-
- Aug 18, 2021
-
-
Ashley authored
Companion PR for 'Make choosing an executor an explicit part of service construction' (#9525) (#3615) * Companion PR * Update a few files * Run cargo fmt * Do better at renaming things * More renamings * More fixes * oops * Fix simnet problems * fix compilation * Update substrate Co-authored-by: thiolliere <[email protected]>
-
- Aug 12, 2021
-
-
Robert Klotzner authored
* WIP: Get rid of request multiplexer. * WIP * Receiver for handling of incoming requests. * Get rid of useless `Fault` abstraction. The things the type system let us do are not worth getting abstracted in its own type. Instead error handling is going to be merely a pattern. * Make most things compile again. * Port availability distribution away from request multiplexer. * Formatting. * Port dispute distribution over. * Fixup statement distribution. * Handle request directly in collator protocol. + Only allow fatal errors at top level. * Use direct request channel for availability recovery. * Finally get rid of request multiplexer Fixes #2842 and paves the way for more back pressure possibilities. * Fix overseer and statement distribution tests. * Fix collator protocol and network bridge tests. * Fix tests in availability recovery. * Fix availability distribution tests. * Fix dispute distribution tests. * Add missing dependency * Typos. * Review remarks. * More remarks.
-
- Aug 09, 2021
-
-
Marek Kotewicz authored
* companion pr for substrate:auto_db * update Substrate Co-authored-by: parity-processbot <>
-
- Aug 04, 2021
-
-
Bastian Köcher authored
* Substrate companion #9491 https://github.com/paritytech/substrate/pull/9491 * update Substrate * Fix build Co-authored-by: parity-processbot <>
-
- Aug 02, 2021
-
-
Shawn Tabrizi authored
* cargo +nightly fmt * add cargo-fmt check to ci * update ci * fmt * fmt * skip macro * ignore bridges
-
Arkadiy Paronyan authored
* Update for the new GrandpaAPI * Update substrate * Update substrate
-
- Jul 30, 2021
-
-
Squirrel authored
* move client consensus code out of primitives * merging crates * import tweak * Fixing build: ServiceFactory is a word... * updating lock file * Fixed typo in error message (to bump build) * update Substrate Co-authored-by: parity-processbot <>
-
- Jul 26, 2021
-
-
Bernhard Schuster authored
* finality_target adjustments * fn finality_target * partially address review comments * fixins * more rustic if condition * fix tests * fixins * Update node/core/approval-voting/src/lib.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/core/approval-voting/src/lib.rs Co-authored-by: Robert Habermeier <[email protected]> * review comments part one * rename candidates -> block_descriptions * testing outline (incomplete, WIP) * test foo * split RelayChainSelection into RelayChainSelection{,WithFallback}, introduce HeaderProvider{,Provider} * make some stuff public (revert this soon™) * some test improvements * slips of pens * test fixins * add another trait abstraction * pending edge case tests + warnings fixes * more test cases * fin * chore fmt * fix cargo.lock * Undo obsolete changes * // comments * make mod pub(crate) * fix * minimize static bounds * resolve number() as before * fmt * post merge fix * address some nits Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
ordian authored
* initial integration and migration code * fix tests * fix counting test * assume the current version on missing file * use SelectRelayChain * remove duplicate metric * Update node/service/src/lib.rs Co-authored-by: Robert Habermeier <[email protected]> * remove ApprovalCheckingVotingRule * address my concern * never mode for StagnantCheckInterval * REVERTME: some logs * w00t * it's ugly but it works * Revert "REVERTME: some logs" This reverts commit e210505a2e83e31c381394924500b69277bb042e. * it's handle, not handler * fix a few typos Co-authored-by: Robert Habermeier <[email protected]>
-
- Jul 08, 2021
-
-
Bernhard Schuster authored
-
- Jun 28, 2021
-
-
ordian authored
-
- Jun 22, 2021
-
-
asynchronous rob authored
* stubbed SelectRelayChain * disconnected overseer handlers * add is_disconnected * add fallback in case overseer is disconnected * fall back on fallback * fetch leaves by calling into chain-selection subsystem * implement best_chain * mostly implement finality_target * chain constrain * metrics and maximum safeguard * remove review comment after review
-
- Jun 20, 2021
-
-
ordian authored
-
André Silva authored
* support async selectchain * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 19, 2021
-
-
André Silva authored
* fix babe params * update Substrate Co-authored-by: parity-processbot <>
-
Andreas Doerr authored
-
- Jun 16, 2021
-
-
Bernhard Schuster authored
-
- Jun 11, 2021
-
-
Bastian Köcher authored
* Substrate companion #9074 * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 08, 2021
-
-
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 -
Lldenaurois authored
* Create validator_side module * Subsume Candidate Selection * Add test to ensure candidate backing logic is correct * Ensure secondings are adequately cleaned up and address test flakyness * Address Feedback
-
- Jun 04, 2021
-
-
André Silva authored
* node: fix babe worker params * update Substrate Co-authored-by: parity-processbot <>
-
- May 27, 2021
-
-
Roman Proskuryakov authored
* Replace NetworkStatusSinks with Arc<NetworkService> * update Substrate Co-authored-by: parity-processbot <>
-
- May 26, 2021
-
-
André Silva authored
* grandpa: enable observer for light client * update Substrate * service: fix missing import * runtime: bump spec versions Co-authored-by: parity-processbot <>
-
- May 12, 2021
-
-
Andreas Doerr authored
-
- May 10, 2021
-
-
Andreas Doerr authored
* Add --disable-beefy CLI flag * Update cli/src/command.rs Co-authored-by: Andronik Ordian <[email protected]> * Update node/test/service/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * Update parachain/test-parachains/adder/collator/src/main.rs Co-authored-by: Bastian Köcher <[email protected]> * Update cli/src/command.rs Co-authored-by: André Silva <[email protected]> * Update cli/src/cli.rs Co-authored-by: André Silva <[email protected]> * Update cli/src/cli.rs Co-authored-by: Bastian Köcher <[email protected]> * Update cli/src/cli.rs Co-authored-by: André Silva <[email protected]> Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-