Robert Klotzner
e56efb82d9
Further improved availability recovery ( #3711 )
...
* WiP.
* Things compile.
* cargo fmt
* Passing tests + fix warnings.
* Metrics for availability recovery.
* Basic test.
* Fix typos and actually check for overflow.
* cargo fmt
* Register metrics.
* More tests.
* Fix warning.
* cargo +nightly fmt
* Fix metrics
* Get rid of unsafe.
* tabify
* spellcheck
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-27 18:59:23 +02:00
Lldenaurois
353cfc8e37
node/service: Update finality target to fix disputes tests ( #3732 )
2021-08-27 11:59:09 -04:00
Gavin Wood
8b80b283d4
XCM v2: Scripting, Query responses, Exception handling and Error reporting ( #3629 )
...
* Intoduce XCM v2
Also some minor fix for v0/v1
* Minor version cleanup
* Minor version cleanup
* Introduce SendError for XcmSend trait to avoid cycles with having Outcome in Xcm
* comment
* Corrent type
* Docs
* Fix build
* Fixes
* Introduce the basic impl
* Docs
* Add function
* Basic implementation
* Weighed responses and on_report
* Make XCM more script-like
* Remove BuyExecution::orders
* Fixes
* Fixes
* Fixes
* Formatting
* Initial draft and make pallet-xcm build
* fix XCM tests
* Formatting
* Fixes
* Formatting
* spelling
* Fixes
* Fixes
* spelling
* tests for translation
* extra fields to XCM pallet
* Formatting
* Fixes
* spelling
* first integration test
* Another integration test
* Formatting
* fix tests
* all tests
* Fixes
* Fixes
* Formatting
* Fixes
* Fixes
* Formatting
* Bump
* Remove unneeded structuring
* add instruction
* Fixes
* spelling
* Fixes
* Fixes
* Formatting
* Fixes
* Fixes
* Formatting
* Introduce and use VersionedResponse
* Introduce versioning to dispatchables' params
* Fixes
* Formatting
* Rest of merge
* more work
* Formatting
* Basic logic
* Fixes
* Fixes
* Add test
* Fixes
* Formatting
* Fixes
* Fixes
* Fixes
* Nits
* Simplify
* Spelling
* Formatting
* Return weight of unexecuted instructions in case of error as surplus
* Formatting
* Fixes
* Test for instruction count limiting
* Formatting
* Docs
2021-08-26 12:41:16 +02:00
dependabot[bot]
4193f05fa3
Bump async-trait from 0.1.50 to 0.1.51 ( #3721 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.50 to 0.1.51.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.50...0.1.51 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 12:19:22 +02:00
Andronik Ordian
93b58f1ee4
allow some overhead in MERKLE_NODE_MAX_SIZE ( #3724 )
...
* allow overhead in MERKLE_NODE_MAX_SIZE
* Update node/primitives/src/lib.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
2021-08-25 21:42:07 +02:00
dependabot[bot]
6dba325749
Bump trybuild from 1.0.43 to 1.0.45 ( #3713 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.43 to 1.0.45.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.43...1.0.45 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 09:40:42 +02:00
Robert Klotzner
85897b5d36
Don't err on deactivated leaf during valiation. ( #3708 )
...
* Don't err on deactivated leaf during valiation.
* Fix error level + formatting of unrelated code.
2021-08-25 09:25:45 +02:00
dependabot[bot]
9d707b8b7c
Bump libc from 0.2.99 to 0.2.100 ( #3703 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.99 to 0.2.100.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.99...0.2.100 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 23:45:52 +02:00
Lldenaurois
9b45483cb1
backing-availability-audit: Move ErasureChunk Proof to BoundedVec ( #3626 )
...
* backing-availability-audit: Move ErasureChunk Proof to BoundedVec
* WIP
* Touch up
* Fix spelling mistake
* Address Feedback
2021-08-24 12:50:33 -04:00
Bastian Köcher
ec86d1d119
Substrate Companion #9575 ( #3695 )
...
* Upgrade to tokio 1.10
* update Substrate
* Fmt
Co-authored-by: parity-processbot <>
2021-08-24 15:25:32 +00:00
Robert Klotzner
489a8e6da1
Fill up requests slots via launch_parallel_requests ( #3681 )
...
in case waiting for the next response takes too long.
2021-08-24 15:05:25 +02:00
dependabot[bot]
04e937d7d2
Bump serde_json from 1.0.64 to 1.0.66 ( #3669 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.64 to 1.0.66.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 08:18:15 +02:00
Bernhard Schuster
4ac1e73535
remove dead_code from chain selection test ( #3685 )
...
* 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
2021-08-23 13:34:44 +02:00
Robert Habermeier
a707f2367c
properly gate sanity check ( #3684 )
2021-08-20 21:11:41 -05:00
Bernhard Schuster
5f622ee68c
Bypass chain-selection subsystem until disputes are enabled. ( #3676 )
...
* cleanup of rob's patch
* depend on feature disputes, both lag and query
* typo
* make it work
TODO move the fallback into selection
* option
* Update node/service/src/relay_chain_selection.rs
* remove trait implementation and fix errors
* hotfix: tests
* fmt
* remove unused trait
* make pub(crate) for test
* disable tests with disputed blocks
* Fix warnings
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
2021-08-20 17:22:59 -05:00
Robert Habermeier
9a1b614c47
demote warnings due to disconnected dispute coordinator ( #3672 )
...
* demote warnings due to disconnected dispute coordinator
* cargo fmt
Co-authored-by: Robert Klotzner <robert.klotzner@gmx.at >
2021-08-20 15:01:49 +02:00
Sergei Shulepov
ad0e42537d
Introduce metrics into PVF validation host ( #3603 )
2021-08-20 11:50:47 +02:00
dependabot[bot]
8792d0e407
Bump strum from 0.20.0 to 0.21.0 ( #3343 )
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-19 21:15:43 +02:00
dependabot[bot]
500c4d2ac7
Bump pin-project from 1.0.7 to 1.0.8 ( #3649 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.7...v1.0.8 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-19 20:47:41 +02:00
Robert Klotzner
d6abe70c06
Better logs. ( #3650 )
2021-08-19 20:07:59 +02:00
Robert Klotzner
1dafa08934
Provide dummy dispute coordinator by default. ( #3661 )
...
* Provide dummy dispute coordinator by default.
* cargo fmt
2021-08-19 17:03:33 +02:00
Ashley
d88dec65fb
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 <gui.thiolliere@gmail.com >
2021-08-18 13:26:30 +00:00
David
9607487442
Companion PR for 'Remove substrate-in-the-browser #9541 ' ( #3652 )
...
* Remove telemetry external transport member
* Make it compile
* Remove more
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-17 22:54:10 +00:00
dependabot[bot]
9ecde11698
Bump libc from 0.2.98 to 0.2.99 ( #3642 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.98 to 0.2.99.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.98...0.2.99 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 18:14:46 +00:00
Ashley
5b54c8cae9
Companion PR for 'Simplify NativeExecutionDispatch and remove the native_executor_instance!' (9562) ( #3643 )
...
* Companion PR
* Add test executors
* Change comment to doc comment
* Update node/test/service/src/lib.rs
* Improve comments
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-16 15:44:56 +00:00
dependabot[bot]
1c039fda48
Bump env_logger from 0.8.4 to 0.9.0 ( #3608 )
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 12:42:26 +02:00
Bernhard Schuster
ac338b6c28
collect better memory stats ( #3612 )
...
* add jemalloc memory statistics tracking
* chore: move Metronome in a separate file
* add meta flag spellcheck
* adjust metrics names
* account for new metrics in test
2021-08-13 12:40:45 +02:00
Robert Klotzner
55154a8d37
Remove request multiplexer ( #3624 )
...
* 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.
2021-08-12 13:11:36 +02:00
Marek Kotewicz
276dc1981e
companion pr for substrate:auto_db ( #3590 )
...
* companion pr for substrate:auto_db
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-09 13:59:48 +00:00
Sergei Shulepov
9d6ed7ecae
Add logging to PVF and other related parts ( #3596 )
...
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-08-08 19:39:16 +02:00
dependabot[bot]
a4527cbc49
Bump thiserror from 1.0.24 to 1.0.26 ( #3592 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.24 to 1.0.26.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.26 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 19:42:37 +00:00
zjb0807
d1ef456a4d
Companion for #9512 (Support test-runner to submit unsigned_extrinsic) ( #3589 )
...
* update polkadot-simnet
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-07 19:26:25 +00:00
dependabot[bot]
b59bab15f9
Bump hex-literal from 0.3.1 to 0.3.3 ( #3588 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.1 to 0.3.3.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.1...hex-literal-v0.3.3 )
---
updated-dependencies:
- dependency-name: hex-literal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-07 20:57:24 +02:00
dependabot[bot]
36b390ceea
Bump hex from 0.4.2 to 0.4.3 ( #3584 )
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.2...v0.4.3 )
---
updated-dependencies:
- dependency-name: hex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 20:17:47 +02:00
dependabot[bot]
05ec3d9875
Bump lru from 0.6.5 to 0.6.6 ( #3583 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.5 to 0.6.6.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.5...0.6.6 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 20:17:36 +02:00
Robert Klotzner
d86bb658a0
Follow up for #3282 ( #3571 )
...
Incorporating post merge review remarks.
2021-08-06 18:18:13 +02:00
Chevdor
789017cc76
Version bumps to 0.9.9 ( #3576 )
...
* chore: version bump to 0.9.9
* bump from 0.9.0 to 0.9.9
2021-08-06 16:39:13 +02:00
Sergei Shulepov
68c03f66f3
Mass replace ,); pattern ( #3580 )
...
This is an artifact left by rustfmt which is not dare to remove the
comma being conservative.
2021-08-05 19:53:17 +02:00
Bastian Köcher
fe5c303893
Return relay_parent as result of collation seconded signal as well ( #3577 )
...
* Return `relay_parent` as result of collation seconded signal as well
Before we only returned the seconded statement. However, to verify the
statement in a future proof way, we also need the relay parent that was
used as a context to sign the statement.
* FMT
2021-08-05 14:26:02 +00:00
Martin Pugh
49a46f78d3
Bump versions, substrate and beefy in prep for v0.9.9 ( #3567 )
...
* bump versions, substrate and beefy
* bump substrate
2021-08-05 15:12:18 +02:00
Bastian Köcher
7dc036d6d2
Substrate companion #9491 ( #3568 )
...
* Substrate companion #9491
https://github.com/paritytech/substrate/pull/9491
* update Substrate
* Fix build
Co-authored-by: parity-processbot <>
2021-08-04 17:56:16 +00:00
Lldenaurois
86f14eed07
node/approval-voting: Continue to migrate tests to subsystem tests ( #3471 )
...
* node/approval-voting: Continue to migrate tests to subsystem tests
* node/approval-voting: Continue to implement subsystem tests.
* Add more tests
* node/approval-voting: Add more tests
* node/approval-voting: Difficuly determining the proper test scenario for threshold tests
* node/approval-voting: Introduce should_trigger_assignment tests
* node/approval-voting: Finalize threshold tests
* node/approval-voting: Address Feedback and add comments
* node/approval-voting: Tidy up approval tests
* Tidy up tests
* Fix rustfmt
2021-08-04 11:49:21 -04:00
Robert Klotzner
e0b3c5cba0
Better size limits. ( #3572 )
...
* Better size limits.
* Remove reference to private repo.
* Update node/network/protocol/src/request_response/mod.rs
Fix statement response size.
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-08-04 17:00:56 +02:00
Robert Klotzner
1718ed1dcc
Fix flaky test ( #3569 )
...
Fixes #3557
2021-08-04 14:15:44 +02:00
Sergei Shulepov
1434b20613
Companion: Limit the maximum number of wasm memory pages a runtime can have ( #3449 )
...
* Add `max_memory_pages`
* update Substrate
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2021-08-02 20:05:31 +00:00
Bastian Köcher
2cfda98aca
Change pallet naming in test-runtime ( #3551 )
...
* Change pallet naming in test-runtime
This is required to make the `well_know_keys::ACTIVE_CONFIG` match the
`ActiveConfig` key.
* Use correct name
* 🤦
2021-08-02 10:54:54 +00:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Arkadiy Paronyan
30e3012270
Companion PR for warp sync support. ( #3382 )
...
* Update for the new GrandpaAPI
* Update substrate
* Update substrate
2021-08-02 09:59:50 +00:00
Squirrel
4c5b73097c
Companion for substrate #9319 ( #3456 )
...
* 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 <>
2021-07-30 14:02:43 +00:00
ferrell-code
84ca3b2b3b
Parachains configuration.rs FrameV2 ( #3516 )
...
* migration
* genesis build correctly
* migrate runtimes
* add genesis builds
* expose GenesisBuild
* chainspec migration
* fmt
* check before insert
* Reduce visibility of storage items to crate
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-07-28 04:56:35 +00:00