Koute
ef4e64c641
Improve error handling in approval voting block import ( #5283 )
...
* Print out original the runtime API error
* Improved error handling in approval voting block import
* Fix test
* Update comment
2022-04-08 10:26:38 +02:00
dependabot[bot]
cccf59d742
Bump lru from 0.7.4 to 0.7.5 ( #5251 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.4 to 0.7.5.
- [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.7.4...0.7.5 )
---
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>
2022-04-07 14:22:25 +02:00
dependabot[bot]
a6120e4655
Bump femme from 2.1.1 to 2.2.0 ( #5260 )
...
Bumps [femme](https://github.com/lrlna/femme ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/lrlna/femme/releases )
- [Commits](https://github.com/lrlna/femme/compare/2.1.1...2.2.0 )
---
updated-dependencies:
- dependency-name: femme
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>
2022-04-06 11:59:10 +02:00
Robert Klotzner
4ca9691dcf
Better metrics for availability-recovery ( #5249 )
...
* Better metrics.
- Fix time metric
- Add counters
* Typo
* Better docs.
2022-04-04 14:31:08 +00:00
Pierre Besson
fc041426db
Update Rococo chainspec to v2_1 ( #5113 )
...
* update rococo sudo in chain specification
* update rococo chainspec JSON to v2.1
* Update node/service/src/chain_spec.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2022-04-04 13:34:52 +00:00
Nikos Kontakis
eafbb813dd
Add ws bootnodes in polkadot, kusama, rococo and westend chainspecs ( #5204 )
...
* Add ws in polkadot, kusama, rococo and westend chainspecs
* run update
* revert beefy-gadget source
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-04-04 13:55:27 +02:00
dependabot[bot]
f04e6065dd
Bump lru from 0.7.3 to 0.7.4 ( #5244 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.3 to 0.7.4.
- [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.7.3...0.7.4 )
---
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>
2022-04-04 13:55:11 +02:00
Qinxuan Chen
74078d8eb9
Comanion for substrate#11136 ( #5218 )
...
* Comanion for substrate#11136
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert changes in bridge
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-04 11:13:34 +02:00
cheme
8f784d592a
Trie State migration rpc ( #5180 )
...
* update
* unsafe
* switch remote
* update rpc usage
* update cargo.lock
* lock from master
* updated lock
2022-04-04 09:33:35 +02:00
dependabot[bot]
521f97ae48
Bump kvdb-rocksdb from 0.15.1 to 0.15.2 ( #5166 )
...
Bumps [kvdb-rocksdb](https://github.com/paritytech/parity-common ) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/kvdb-rocksdb-v0.15.1...kvdb-rocksdb-v0.15.2 )
---
updated-dependencies:
- dependency-name: kvdb-rocksdb
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>
2022-04-03 21:49:02 +02:00
dependabot[bot]
1c37ee372e
Bump indexmap from 1.8.0 to 1.8.1 ( #5222 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.0...1.8.1 )
---
updated-dependencies:
- dependency-name: indexmap
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>
2022-04-03 21:30:36 +02:00
dependabot[bot]
76e3256585
Bump quote from 1.0.16 to 1.0.17 ( #5214 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17 )
---
updated-dependencies:
- dependency-name: quote
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>
2022-04-03 20:40:01 +02:00
dependabot[bot]
601a18290a
Bump syn from 1.0.89 to 1.0.90 ( #5221 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.89...1.0.90 )
---
updated-dependencies:
- dependency-name: syn
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>
2022-04-02 19:02:30 +00:00
Oliver Tale-Yazdi
c8cdf9fc03
Integrate benchmark-overhead command ( #5137 )
...
* Integrate benchmark-overhead command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Beauty fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spellcheck on
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove constants:: module
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update block+extrinsic weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Update block+extrinsic weights"
This reverts commit d77bf977f6bca0b1ded35daa2fd54b97e18a67db.
* Revert "Remove constants:: module"
This reverts commit 2d3bcd0212c438f6b96755900a01762592d90265.
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-01 10:34:40 +00:00
asynchronous rob
52912ab392
fix approval-voting force-approve ( #5229 )
2022-03-31 21:12:38 +00:00
dependabot[bot]
d9f454f903
Bump log from 0.4.14 to 0.4.16 ( #5187 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
---
updated-dependencies:
- dependency-name: log
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>
2022-03-30 13:23:27 +02:00
dependabot[bot]
9f4b839b06
Bump async-trait from 0.1.52 to 0.1.53 ( #5213 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.52 to 0.1.53.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.52...0.1.53 )
---
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>
2022-03-30 12:04:49 +02:00
Bernhard Schuster
7a61d75666
remove the dummy overseer implementation ( #5199 )
2022-03-25 14:44:40 +01:00
Vsevolod Stakhov
af94fc9534
Try to fix out of view statements ( #5177 )
...
This issue happens when some peer sends a good but already known Seconded statement and the statement-distribution code does not update the statements_received field in the peer_knowledge structure. Subsequently, a Valid statement causes out-of-view message that is incorrectly emitted and causes reputation lose.
This PR also introduces a concept of passing the specific pseudo-random generator to subsystems to make it easier to write deterministic tests. This functionality is not really necessary for the specific issue and unit test but it can be useful for other tests and subsystems.
2022-03-24 20:18:43 +00:00
Koute
b424e5e741
Companion for Substrate#11107 ( #5197 )
...
* Rename to BagError
* Additional parameter for 'revert' command
* Set aux revert param to None
* Align to changes in how the WASM executor is configured in `substrate`
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
* Update substrate
* Update substrate
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-03-24 15:56:57 -04:00
Bernhard Schuster
7a62374188
upgrade coarsetime to 0.1.22 to fix a potential panic ( #5193 )
...
* use coarsetime-saturated for the time being
* Revert "use coarsetime-saturated for the time being"
This reverts commit 114263f0e6a98fd94ac1b29aad2efb1c75ada6fc.
* make coarsetime min 0.1.22
2022-03-23 19:34:08 +01:00
asynchronous rob
7a1a3886ee
enable disputes on all chains ( #5182 )
...
* enable disputes on all chains
* fmt
2022-03-23 12:42:10 -05:00
Boluwatife Bakre
91e07d53ad
Extract MAX_FINALITY_LAG constant from relay_chain_selection ( #5159 )
...
* Fix for Issue #4788
* Updated fix. Moved constant to node primitives
* cargo fmt
* Update node/primitives/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/dispute-coordinator/src/real/initialized.rs
Co-authored-by: Andronik <write@reusable.software >
2022-03-23 15:34:41 +01:00
Georges
1656c4cd02
Companion to Implementing MaxEncodedLen for generate_solution_type #11032 ( #5145 )
...
* Fixing `generate_solution_type`
This is needed after changes to substrate
* `VoterSnapshotPerBlock` -> `MaxElectingVoters`
* rename `SizeBound` to `MaxVoters`
* cargo update -p sp-io
* ignore failing test
* spell-check
* fix pub OffchainRepeat
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-03-23 13:18:57 +00:00
dependabot[bot]
4ef51867c0
Bump hyper from 0.14.17 to 0.14.18 ( #5185 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.17 to 0.14.18.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.17...v0.14.18 )
---
updated-dependencies:
- dependency-name: hyper
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>
2022-03-23 11:35:50 +01:00
dependabot[bot]
fbfcf3f066
Bump async-std from 1.10.0 to 1.11.0 ( #5186 )
...
Bumps [async-std](https://github.com/async-rs/async-std ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/async-rs/async-std/releases )
- [Changelog](https://github.com/async-rs/async-std/blob/master/CHANGELOG.md )
- [Commits](https://github.com/async-rs/async-std/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: async-std
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>
2022-03-23 11:16:30 +01:00
cheme
183b52e7db
update parity-db ( #5175 )
2022-03-22 09:55:57 +00:00
Bernhard Schuster
0e34a8080f
miniscule: fix edition fmt ( #5167 )
...
* miniscule: fix edition fmt
* fix: rust analyzer might enable this and hence cause red squiggles
Reduce the visual overload.
* fix/spellcheck/quirk: allow 124_123 numbers
2022-03-21 13:00:59 +00:00
Bernhard Schuster
189dfdc006
approval dist imrpo ( #5161 )
...
* minor approval voting refactor
* ignore recently outdated ones
* check in another branch
* don't be a doofus
* add newline
* remove a superflous check
* fix missing ,
* consistency
* Update node/network/approval-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* fixup
Co-authored-by: Andronik <write@reusable.software >
2022-03-21 12:17:54 +00:00
asynchronous rob
d706faa1b6
add a metric for report events in network bridge ( #5160 )
2022-03-18 16:22:02 +00:00
asynchronous rob
be2c91555e
have some lenience on outdated messages in statement distribution ( #5150 )
...
* have some lenience on outdated messages in statement distribution
* fmt
2022-03-18 16:12:26 +00:00
Vsevolod Stakhov
a97ee7b122
Some improvements in the statement-distribution histograms ( #5154 )
2022-03-18 15:23:34 +00:00
Robert Klotzner
3688e46d1b
Don't wait for dispute coordinator ( #5157 )
...
* Don't wait for dispute coordinator
in backing and approval-voting - we are single threaded there, so this
is blocking everything.
* Add missing import.
* Don't warn on dropped receiver.
2022-03-18 15:15:50 +00:00
dependabot[bot]
495b6cc937
Bump quote from 1.0.15 to 1.0.16 ( #5152 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.15...1.0.16 )
---
updated-dependencies:
- dependency-name: quote
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>
2022-03-18 16:15:04 +01:00
asynchronous rob
d76583cd3b
fix freshness calculations in statement distribution ( #5151 )
...
* fix freshness calculations in statement distribution
* Fix logic.
Co-authored-by: Robert Klotzner <robert.klotzner@gmx.at >
2022-03-18 15:40:44 +01:00
Bernhard Schuster
6e3b5f1888
bitfield dist logging cleanup and enhancements ( #5147 )
...
* split metrics from bitfield signing
* cleanup all logging
* add a unit test for subset generation
* chore: add one more test to assert need is properly represented
* u8 as usize
* chore: overseer fixin
* fix test
* Update node/network/bitfield-distribution/src/metrics.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Update node/network/bitfield-distribution/src/metrics.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* fallout from suggested rename
* consistency
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-18 13:44:38 +00:00
dependabot[bot]
61a6004cf1
Bump parity-scale-codec from 3.1.0 to 3.1.2 ( #5153 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/commits )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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>
2022-03-18 10:32:49 +00:00
Robert Klotzner
569599853d
Logs for large messages + metrics on size. ( #5143 )
...
* Logs for large messages + metrics on size.
* Fix typo
2022-03-17 19:57:35 +00:00
Bernhard Schuster
16fe04dc79
track tof for inter subsystem messages ( #5135 )
2022-03-17 11:19:11 +01:00
dependabot[bot]
5c21822e17
Bump syn from 1.0.88 to 1.0.89 ( #5146 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.88...1.0.89 )
---
updated-dependencies:
- dependency-name: syn
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>
2022-03-17 10:57:57 +01:00
Vsevolod Stakhov
310a2e9911
Sligth improvements to the collator side metrics and logs ( #5144 )
...
* Use more reasonable buckets for `process_msg` histogram
* Another adjustments of the buckets
* Move historgram timer to a more relevant place
* Add a dedicated collation distribution time metric
* Cargo fmt
2022-03-17 09:39:44 +00:00
Bernhard Schuster
20d0cf0ae9
provisioner logs minor janitor duties ( #5142 )
...
* provisioner data, one more log
* minor cleanups in provisioner logs
* remove deprecated foo in overseer
Closes #5128
* candidate_hash needs the ? prefix in gum
* demote to trace
2022-03-17 09:02:49 +00:00
Tsvetomir Dimitrov
f35f5ae9a4
Additional tracing in provisioner ( #5125 )
...
* Additional tracing in provisioner
Add debug logs for `fn send_inherent_data`.
* Code review feedback
* Code review feedback
* Code review feedback
* Fix unit tests
2022-03-16 15:55:10 +00:00
Robert Habermeier
1d695612c4
strengthen signals-received atomics ( #5132 )
...
* strengthen signals-received atomics
* Update node/overseer/overseer-gen/src/lib.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* fmt
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-16 16:40:32 +01:00
Vsevolod Stakhov
11d78a049b
Collator protocol debug ( #5129 )
...
* add two more timers
* Update node/network/availability-recovery/src/metrics.rs
* Try to improve comments spelling
* Cargo fmt iteration
* Add some presumably useful debugging for collator protocol
* Address review comments
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-03-16 06:43:50 +00:00
Robert Habermeier
5904ae418e
make more subsystems blocking, fix blocking subsystem spawning ( #5133 )
...
* make more subsystems blocking
* actually spawn blocking subsystems on their own threads
2022-03-16 06:41:20 +00:00
dependabot[bot]
2ead4ce12d
Bump syn from 1.0.87 to 1.0.88 ( #5118 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.87...1.0.88 )
---
updated-dependencies:
- dependency-name: syn
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>
2022-03-15 21:18:18 +01:00
Robert Klotzner
582f8628ea
Add more info to logs. ( #5123 )
2022-03-15 19:39:43 +00:00
Bernhard Schuster
d309a24e50
observability: add two more timers ( #5124 )
...
* add two more timers
* Update node/network/availability-recovery/src/metrics.rs
* Try to improve comments spelling
* Cargo fmt iteration
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
2022-03-15 15:23:05 +00:00
Doordashcon
b72bd9ef6c
StatementDistributionMessage::get_metadata is a footgun and should be removed ( #5101 )
...
* remove get_metadata method
* cargo fmt
* add get_metadata function in test
* cargo fmt
* Update node/network/statement-distribution/src/tests.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* update
* update
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2022-03-15 11:52:01 +00:00