Svyatoslav Nikolsky
|
f87053c1cb
|
Relay Millau && Rialto headers using (future) finality verifier API (#761)
* finality proofs relay
* SyncHeader::is_mandatory
* empty ancestry proof
* logs
* fixed submit condition
* fixed wrong split index
* tick comment
* recent_finality_proofs
* basic finality loop tests
* removed obsolete files
* rename files in substrate relay
* fmt
* clippy
* fixed TODOs
* clippy
* stop syncing if target node is out of sync
* more clippy
* more clippy
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* docs
* moved doc
* typo
* Update relays/finality-relay/src/finality_loop_tests.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/finality-relay/src/finality_loop_tests.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* header_and_finality_proof_by_number -> header_and_finality_proof
* VecDeque isn't required (because of make_contiguous)
* fixed wrong expect
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/substrate/src/rialto_headers_to_millau.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* Update relays/substrate/src/rialto_headers_to_millau.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
* RialtoSyncHeader
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* removed wrong comment
* Update relays/finality-relay/src/finality_loop.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* fix used runtime methods names
* fix for new jsonrpsee
* fix comment
* initialize finality verifier pallet
* fmt
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
|
a2b8bb191b
|
Migrate to jsonrpsee v2 (#787)
* POC jsonrpsee v2
* POC update ws client
* connect to eth nodes using ws
* fix for subscriptions
* reverted unncecessary changes
* reference jsonrpsee from crates.io
* fixed eth port in deployments
* fmt
* order deps
* remove unnecessary comment
* clone is no longer required for subscriptions
* treat RpcError::Internal as connection error
* resubscribe on terminate
* Update deployments/bridges/poa-rialto/entrypoints/poa-exchange-tx-generator-entrypoint.sh
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
|
2024-04-10 10:28:37 +02:00 |
|
Tomasz Drwięga
|
7aa51f8d30
|
Update to latest substrate (#723)
* Bump substrate deps.
* Bump scale.
* Bump ethabi.
* Remove inherent from aura.
* Migrate to construct_runtime
* cargo fmt --all
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
8953967d92
|
pause relays(s) when node is syncing (#605)
|
2024-04-10 10:28:37 +02:00 |
|
Svyatoslav Nikolsky
|
dd7242bc79
|
Migrate back to Substrate master (#528)
* migrate back to Substrate master
* fmt
* clippy
|
2024-04-10 10:28:37 +02:00 |
|
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
|
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
|
55d22a0d1e
|
connect to substrate using ws (#417)
|
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 |
|
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 |
|