Svyatoslav Nikolsky
ceea1a10f7
Reject delivery transactions with at least one obsolete message ( #2021 )
...
* reject delivery transactions with at least one obsolete message
* clippy
* allow empty delivery transactions with rewards confirmations BUT only when there's no room left in the unrewarded relayers vector
* clippy
* allow empty delivery transactions if no message slots in unrewarded relayers vector
2024-04-10 10:28:37 +02:00
Serban Iorga
3b968a2aba
Reintroduce msg dispatch status reporting ( #2027 )
...
* Use an actual Result inside MessageDispatchResult
We need this in order to distinguish between Ok and Err
* Revert #1660
* Fixes + simplifications
* Implement review suggestions
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
4d29753f73
only refund if all bundled messages have been delivered ( #2019 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f659ebed7a
fail with InsufficientDispatchWeight if dispatch_weight doesn't cover weight of all bundled messages ( #2018 )
2024-04-10 10:28:37 +02:00
Serban Iorga
98542685b1
Remove unneeded error debug strings ( #2017 )
...
* Remove unneeded error debug strings
This reverts commit ff33e6ce127ea22c359b1b0273d6f3a5a27f484c.
2024-04-10 10:28:37 +02:00
dependabot[bot]
1659b4b447
Bump scale-info from 2.4.0 to 2.5.0
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
f523e606f3
Bump clap from 4.1.13 to 4.2.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.13 to 4.2.1.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.13...v4.2.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
cf00c67579
Bump hex-literal from 0.3.4 to 0.4.0
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.0 )
---
updated-dependencies:
- dependency-name: hex-literal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
e61f2a69dd
Bump futures from 0.3.27 to 0.3.28
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.27 to 0.3.28.
- [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.27...0.3.28 )
---
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
dependabot[bot]
e23bdc817a
Bump tempfile from 3.4.0 to 3.5.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
a0d187f606
Bump serde_json from 1.0.94 to 1.0.95
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.94...v1.0.95 )
---
updated-dependencies:
- dependency-name: serde_json
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]
1089cf4af2
Bump tokio from 1.26.0 to 1.27.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
0a30f9114a
bump BridgeHubRococo/BridgeHubWococo versions ( #2000 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
fd3ebdf138
MaxRequests -> MaxFreeMandatoryHeadersPerBlock in pallet-bridge-grandpa ( #1997 )
...
* MaxRequests -> MaxFreeMandatoryHeadersPerBlock in pallet-bridge-grandpa
* fix comment
* fix comment
* fix comment
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
068f6f648b
Run benchmarks for mock runtimes ( #1996 )
...
* run benchmarks for pallet-bridge-grandpa mock runtime
* run benchmarks for pallet-bridge-relayers mock runtime
* run benchmarks for pallet-bridge-parachains mock runtime
* run benchmarks for pallet-bridge-messages mock runtime
* test benchmarks on mockj runtimes from CI
* clippy and spelling
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
88fb2befa0
Rust cargo doc for all features ( #1995 )
...
* run rustfix rustdoc in grandpa pallet benchmarks
* enable rustdoc for all features
* fix rialto parachain runtime compilation
2024-04-10 10:28:37 +02:00
dependabot[bot]
ae61d31507
Bump clap from 4.1.11 to 4.1.13
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.11 to 4.1.13.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.11...v4.1.13 )
---
updated-dependencies:
- dependency-name: clap
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]
c0d3722357
Bump async-trait from 0.1.67 to 0.1.68
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.67 to 0.1.68.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.67...0.1.68 )
---
updated-dependencies:
- dependency-name: async-trait
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
5fbabb3907
Try check-rustdoc pipeline ( #1782 )
...
* Try check-rustdoc pipeline
* another try
* another try without `--all-features`
* fixed cargo doc issues
* exclude relay-rialto-parachain-client from cargo doc
---------
Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com >
2024-04-10 10:28:37 +02:00
Adrian Catangiu
e55d4dd6e0
bump substrate+polkadot refs and fix builds ( #1989 )
...
* bump refs and fix build
* more fixes
* Fix rialto-parachain node
* Update dependencies for tools/runtime-codegen
* Regenerate rialto-parachain indirect runtime
* Fix register_parachain
* Fix clippy
* Undo clippy allow
---------
Co-authored-by: Serban Iorga <serban@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
830afff353
Added receive_single_message_proof_with_dispatch benchmark ( #1990 )
...
* added receive_single_message_proof_with_dispatch benchmark
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a75c28d5b2
Remove deprecated code from bridge-runtime-common ( #1983 )
...
* removed FromBridgedChainMessageDispatch in favor of XcmBlobMessageDispatch
* use HaulBlobExporter/HaulBlobExporterAdapter instead of XcmBridge/XcmBridgeAdapter
* tests for sending/dispatching messages
* use new schema in testnet bridges + some cleanup
* clippy
* spelling + added TODO
* cleanup some checks
* benchmarks compilation
* all is XCM
* updated README.md
* ref issue from TODO
2024-04-10 10:28:37 +02:00
Adrian Catangiu
2407228972
minor cosmetic updates ( #1985 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
eccbdff851
remove invalid weight, returned by send_message ( #1984 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
9b57f2181c
Kusama <> Polkadot relay prototype ( #1982 )
...
* moved bridge declarations to dedicated folder
* Kusama <> Polkadot bridges declaration
* support for Kusama <> Polkadot bridge in CLI
* update dictionary
2024-04-10 10:28:37 +02:00
dependabot[bot]
fe050f6f50
Bump thiserror from 1.0.39 to 1.0.40
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40 )
---
updated-dependencies:
- dependency-name: thiserror
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]
3470d4fcaf
Bump clap from 4.1.8 to 4.1.11
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.8 to 4.1.11.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.8...v4.1.11 )
---
updated-dependencies:
- dependency-name: clap
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]
8e14f3f9af
Bump finality-grandpa from 0.16.1 to 0.16.2
...
Bumps [finality-grandpa](https://github.com/paritytech/finality-grandpa ) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/paritytech/finality-grandpa/releases )
- [Commits](https://github.com/paritytech/finality-grandpa/compare/v0.16.1...v0.16.2 )
---
updated-dependencies:
- dependency-name: finality-grandpa
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]
8745e85eac
Bump async-trait from 0.1.66 to 0.1.67
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.66 to 0.1.67.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.66...0.1.67 )
---
updated-dependencies:
- dependency-name: async-trait
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]
7cc62d75b4
Bump trie-db from 0.26.0 to 0.27.1
...
Bumps [trie-db](https://github.com/paritytech/trie ) from 0.26.0 to 0.27.1.
- [Release notes](https://github.com/paritytech/trie/releases )
- [Commits](https://github.com/paritytech/trie/compare/trie-db-v0.26.0...trie-db-v0.27.1 )
---
updated-dependencies:
- dependency-name: trie-db
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
62480cf9db
move signed extension stuff from prolkadot-core primitives to bridge-hub-cumulus-primitives ( #1968 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
74b0eca59c
added UpdatedBestFinalizedHeader event to pallet-bridge-grandpa ( #1967 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
802e134368
enable relayer rewards metrics at bridge hubs ( #1965 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
2a848fd836
Fix invalid batch transaction ( #1957 )
...
* fix invalid batch transaction
* RaceState is now trait
* clippy
2024-04-10 10:28:37 +02:00
Branislav Kontur
ce89a2edca
Removed deprecated #[pallet::generate_store(pub(super) trait Store)] according to latest Cumulus ( #1964 )
2024-04-10 10:28:37 +02:00
Branislav Kontur
874ab44e00
Bump substrate/polkadot/cumulus ( #1962 )
...
* Bump substrate/polkadot/cumulus
* sp_finality_grandpa - >sp_consensus_grandpa
* sp_beefy -> sp_consensus_beefy
* pallet_randomness_collective_flip -> pallet_insecure_randomness_collective_flip
* fix
* Cumulus parachain stuff
* Cumulus parachain stuff one more
* Millau/Rialto runtimes
* Removed pallet_insecure_randomness_collective_flip
* Millau node
* Removed session historial
* TMP: just try disable all fetches
* Docs in gitlab.yml
2024-04-10 10:28:37 +02:00
Branislav Kontur
a1c6502d9a
Backport xcm bridging extensions to the bridge repo ( #1813 )
...
* Backport xcm bridging extensions to the bridge repo
* Fixes
* Fixes
2024-04-10 10:28:37 +02:00
dependabot[bot]
89e8c6fddf
Bump futures from 0.3.26 to 0.3.27
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.27.
- [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.26...0.3.27 )
---
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
9b44db0fbe
Some error improvements ( #1956 )
...
* Use `HeaderChainError` in parachains module
* Use MessageProofError instead of 'static str in some places
* Avoid implementing Into<'static str> for some errors
We avoid deriving `Debug` for the structs that we use in the runtime and
we derive `RuntimeDebug` instead in order to avoid bloating th eruntime
with static strs. But implementing `Into<'static str>` does the same. So
in some places it makes sense to replace `Into<'static str>` with `Debug`.
* Move the messages error definition
Move the messages error definition outside of `mod target`
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a4a6902bfb
optimize justifications before they're included into complex transaction ( #1949 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f4ca16b98d
Actually clone client data by reference when cloning the client ( #1941 )
...
* actually clone client data by reference when clonning the client
* spelling
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e0c0861bc7
Fix invalid messages relay delivery transactions ( #1940 )
...
* + failing test: previous_nonces_are_selected_if_reorg_happens_at_target_chain
* maybe fix for the issue?
* another fix
* previous_nonces_are_selected_if_reorg_happens_at_target_chain for MessageDeliveryStrategy
* remove commented code
* spelling
2024-04-10 10:28:37 +02:00
dependabot[bot]
7266e48464
Bump tokio from 1.25.0 to 1.26.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
df9a454da3
Bump async-trait from 0.1.64 to 0.1.66
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.64 to 0.1.66.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.64...0.1.66 )
---
updated-dependencies:
- dependency-name: async-trait
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]
5dc1ebe816
Bump serde_json from 1.0.93 to 1.0.94
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.94 )
---
updated-dependencies:
- dependency-name: serde_json
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]
b513989871
Bump thiserror from 1.0.38 to 1.0.39
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39 )
---
updated-dependencies:
- dependency-name: thiserror
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
Svyatoslav Nikolsky
754160798a
Improve some relay errors readability ( #1930 )
...
* improve some relay errors readability
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
61e00a56c0
Reconnect on-demand clients from MessagesSource::reconnect and MessagesTarget::reconnect ( #1927 )
...
* reconnect on-demand clients from MessagesSource::reconnect and MessagesTarget::reconnect
* add issue reference
* fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
3a145e5844
get rid of obsolete weight functions ( #1926 )
2024-04-10 10:28:37 +02:00
Serban Iorga
50d92eb8de
Remove subxt dependency features ( #1924 )
2024-04-10 10:28:37 +02:00