Svyatoslav Nikolsky
8bb0bfa524
backport changes from polkadot-sdk ( #2872 )
2024-04-10 10:28:37 +02:00
dependabot[bot]
80604ffeaa
Bump log from 0.4.20 to 0.4.21
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.20 to 0.4.21.
- [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/compare/0.4.20...0.4.21 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
7612ef0242
Bump futures from 0.3.29 to 0.3.30
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Branislav Kontur
8b1e14658e
Pokladot sdk backport to staging ( #2746 )
...
* Bump to `polkadot-sdk` master `ebe2aad6f0ae576a0e176f38a084fe7579f936dd`
* align with others
* Backport xcm version stuff from `polkadot-sdk`
* Backport Slava's commit from `polkadot-sdk`
* Workspace clippy as `polkadot-sdk` does
* Make submodules use workspace lints
* Add Bridges clippy addons to workspace lints
* Looks like we dont need extra clippy addons anymore?
2024-04-10 10:28:37 +02:00
dependabot[bot]
b21ad364ab
Bump futures from 0.3.28 to 0.3.29
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.28 to 0.3.29.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.28...0.3.29 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Serban Iorga
4cd9e2fe79
Add unit tests for the equivocation detection loop ( #2571 )
...
* Add unit tests for the equivocation detection loop
* clippy
* use std::future::pending()
2024-04-10 10:28:37 +02:00
Serban Iorga
2c26640ac3
polkadot-staging branch: Use polkadot-sdk dependencies (#2524 )
...
* Use polkadot-sdk dependencies
* Fix ring-proof ref
* Fix Beefy
* Fix imports
* Simple runtimes fixes
* Fix substrate-relay
* Add ParaAssignmentProvider for Rialto
* Rialto chain_spec fix
* Fix Rialto build
* Fix Rialto pvf workers
* Allow rialto-parachain deprecated features warnings
2024-04-10 10:28:37 +02:00
Serban Iorga
588508acd4
Backport: Implement basic equivocations detection loop ( #2375 )
...
* Implement basic equivocations detection loop (#2367 )
* FinalityProofsBuf adjustments
- store a Vec<FinalityProof>
- transform prune `buf_limit` to Option
* FinalityProof: add target_header_hash()
* Target client: implement best_synced_header_hash()
* Implement first version of the equivocations detection loop
* Address code review comments
* Leftover
* polkadot-staging adjustments
2024-04-10 10:28:37 +02:00
Serban Iorga
48cae06a77
Add equivocation detector crate and implement clients ( #2348 ) ( #2353 )
...
* Split FinalitySyncPipeline and SourceClient
* Move some logic to finality_base
* Add empty equivocation detection clients
* Add equivocation reporting logic to the source client
* Use convenience trait for SubstrateFinalitySyncPipeline
* Define JustificationVerificationContext for GRANDPA
* Equivocation source client: finality_verification_context()
* Equivocation source client: synced_headers_finality_info()
* reuse HeaderFinalityInfo
* Define EquivocationsFinder
* Fix spellcheck
* Address review comments
* Avoid equivocations lookup errors
2024-04-10 10:28:37 +02:00