Svyatoslav Nikolsky
44bf84269a
Extract common part of relay loops ( #660 )
...
* extract common parts of relay loops: begin
* merge client impls
* backoff in exchange loop
* reconnect without clone
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
0f7a096d55
Do not refetch completion data instantly ( #649 )
...
* do not refetch completion data instantly
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c20b4c868f
Fixed clippy warnings ( #537 )
...
* fixed clippy warnings
* Revert "Actually use pinned nightly version when building runtimes (#465 )"
This reverts commit dedddb6b0f22260e00053c28873a0cb1fbea22e2.
* Revert "Pin Rust Nightly Version (#420 )"
This reverts commit 8902ac2030cf7ef48ec512463424f134a3b38804.
* fix after revert
* another fix after revert
* more clippy fixes
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
441f63a34f
Generic SyncHeader type ( #529 )
...
* generic SyncHeader type
* add panic condition to method description
* extract -> into_inner
* checked_sub + expect
2024-04-10 10:28:37 +02:00
dependabot-preview[bot]
be56ee51d0
Bump futures from 0.3.7 to 0.3.8 ( #507 )
...
* Bump futures from 0.3.7 to 0.3.8
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.7 to 0.3.8.
- [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.7...0.3.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix clippy.
* Fix more clippy.
* Fix clippy again?
* Cliipy yet again.
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tomasz Drwięga <tomasz@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
6dc267393a
Use different chain primitives in Millau ( #517 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
3e45356aad
Rialto -> Millau headers relay ( #477 )
...
* Rialto -> Millau headers relay
* removed more constraints
* removed file from other PR
* Update primitives/rialto/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
1b96e51679
Subscribe to justifications in Millau->Rialto headers sync ( #394 )
...
* maintain MillauHeadersToRialto sync by subscribing to Millau justifications
* more tracing in maintain
* Update relays/substrate/src/headers_maintain.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update relays/substrate/src/headers_maintain.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* -Please
* -TODO
* revert raise recursion limit
* updated comment
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
7a03b709be
Millau -> Rialto headers relay ( #398 )
...
* working-millau-to-rialto-relay
* fix Millau state root
* properly fix synced+incomplete headers for sub2sub
* removed wrong TODO
* fmt + clippy
* Update relays/headers-relay/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* moved SubstrateTransactionMaker definition
* removed M from phantomdata
* removed prune_synced_children
* methods names as consts
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f43e405b5e
update async-std ( #388 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
dbb72faa86
Substrate relay stub ( #376 )
...
* substrate-relay: initial commit
* MillauHeaderApi and RialtoHeaderApi
* post-merge fixes + TODOs + compilation
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
d614cdaba8
Extract (headers, exchange, messages) relay loops into separate crates ( #357 )
...
* extracted relay crates
* moved metrics to utils
* exchange-relay compilation
* fix compilation of headers-relay
* fixed messages-relay compilation
* fixed ethereum-poa-relay compilation
* cargo lock
* cargo fmt --all
* clippy
* cargo fmt --all
* fix tests compilation
* clippy
* eof
* module level docs
* removed obsolete comment
* #![warn(missing_docs)]
* .0 -> Deref
* post-merge fix
* cargo fmt
* Update relays/headers-relay/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update relays/headers-relay/src/headers.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Update relays/headers-relay/src/lib.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2024-04-10 10:28:37 +02:00