Svyatoslav Nikolsky
d4fc7bebdc
Millau -> Rialto messages relay ( #399 )
...
* Millau messages -> Rialto relay
* prepare for custom race strategy of delivery race
* custom strategy for delivery race
* update TODOs
* add reference to issue 457
* impl reconnect
* clippy
* fix check in test
* fmt
* removed obsolete TODO
* fixed another TODOs
* fmt
* use MAX_UNCONFIRMED_MESSAGES_AT_INBOUND_LANE const from primitives
* Update relays/messages-relay/src/message_lane_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* added SubstrateMessagesProof typedef
* fix test
* removed comment
* additional_proof_required -> ProofParameters
* typo
* multiline literal
* clippy
* fix typo
* and_then -> await
* update_source_latest_confirmed_nonce
* Update relays/messages-relay/src/message_race_delivery.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
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
b027c81266
Substrate relay guards ( #470 )
...
* substrate relay guards
* checked time condition
* ChainWithBalances
* removed obsolete comment
* Update relays/substrate-client/src/chain.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* trailing space
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
b99fa90edd
SubmitMillauToRialtoMessage subcommand in substrate-relay ( #460 )
...
* substrate-relay::SubmitMillauToRialtoMessage
* typo
* Update relays/substrate/src/cli.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
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
9e9ac8df3c
Move Chain trait to runtime primitives ( #403 )
...
* extract ChainBase to bp-runtime
* post-merge fixes
* cargo fmt --all
* compilation fixes
* reexport BlockNumberOf, HashOf, HeaderOf
2024-04-10 10:28:37 +02:00
Hernando Castano
8b8248f83f
Split Rialto and Millau Nodes ( #372 )
...
* Split the Rialto Node into a standalone crate
* Split the Millau Node into a standalone crate
* Remove `bridge-node` crate
* Add benchmarking feature to nodes
* Check that benchmarks compile in CI
* Remove nodes from CI matrix
* Update Rialto node to Substrate 2.0
* Get Millau node compiling with Substrate 2.0
* Remove extra license text
* Remove comments in TOML files
* Move nodes and runtimes into Rialto and Millau folders
* Fix dependency paths
* Remove unused script
* Add issue to benchmarking TODO
* Fix benchmark manifest paths
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
07a514e9f7
Get substrate dependencies from crates io ( #387 )
...
* get Substrate dependencies from crates.io
* removing unused dependencies
* cargo fmt --all
* remove commented dependencies
* remove commented dependencies again
* try to fix compilation
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
52c1913fff
Extract minimal Rialto-Sub and Millau-Sub clients ( #365 )
...
* extracting sub clients
* fmt + lost docs
* revert enum BridgeInstance
* apply suggestions from review
* explicite debug impl
* remove unused imports from Millau
* fix typo
* fix instance + API name
* Update relays/ethereum/src/ethereum_sync_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* separate crates for millau and rialto client
* cargo fmt
* fix
* fmt
* remove no_std support
* fix compilation again
* Update relays/substrate-client/Cargo.toml
* Update relay clients to Substrate 2.0
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
Co-authored-by: Hernando Castano <castano.ha@gmail.com >
2024-04-10 10:28:37 +02:00