- Apr 09, 2024
-
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* use transaction tracker in parachains relay * actually return tx tracker from target client implementation
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* do not wait for tx status forever * more logging
-
Svyatoslav Nikolsky authored
* TransactionInvalidationTracker * TransacitonInvalidationTracker -> TransactionTracker * change sign_transaction method * clippy and spelling * removed comment * more transactiontracker tests * stalls_when_transaction_tracker_returns_error * remove test code * remove "impl TransactionTracker for ()" * enum TrackedTransactionStatus * test TransactionTracker in on_transaction_status * do_wait
-
Svyatoslav Nikolsky authored
* expand docs on ParasPalletName * fmt
-
Svyatoslav Nikolsky authored
* add events to the bridge parachains pallet * clippy + spellcheck * fix compilation * untracked is not a word?
-
Svyatoslav Nikolsky authored
* update Substrate/Polkadot/Cumulus refs * finality-grandpa 0.16 * fix miillau-runtime compilation * fix rialto runtime compilation * fixed rialto-parachain runtime compilation * backport GRANDPA test fixes * helper instead of removed record_all_keys * substrate-relay is compiling * millau-bridge-node at least compiles * rialto-bridge-node at least compiles * rialto-parachain-collator compiles * fixings tests (wip) * fmt * fixed BEEFY alert * clippy * removed unused dep * -extra var * move Leaf to mod mmr * fix benchmarks
-
Serban Iorga authored
* BestParaHead small changes Signed-off-by: Serban Iorga <[email protected]> * Renamings Signed-off-by: Serban Iorga <[email protected]> * Use ParaInfo in parachains loop Signed-off-by: Serban Iorga <[email protected]> * Define StorageMapKeyProvider Signed-off-by: Serban Iorga <[email protected]> * CR fixes Signed-off-by: Serban Iorga <[email protected]>
-
Branislav Kontur authored
-
Svyatoslav Nikolsky authored
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
-
Branislav Kontur authored
* Unnecessary clone * Removed unused Enum value * Client - ConnectionParams wrapped with Arc + removed unnecessery clone * Client - ConnectionParams wrapped with Arc + removed unnecessery clone
-
Branislav Kontur authored
Reexport paste from `sp-runtime` in `bp-runtime` to aviod including `paste` dependency everywhere (#1556) * Reexport paste from `sp-runtime` in `bp-runtime` to aviod including `paste` dependency everywhere * Add import `bp_runtime` to macro calls: decl_bridge_finality_runtime_apis/decl_bridge_messages_runtime_apis
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]> Signed-off-by: Serban Iorga <[email protected]>
-
Branislav Kontur authored
-
Serban Iorga authored
* Make RelayStrategy::final_decision() sync Signed-off-by: Serban Iorga <[email protected]> * Move logic from RelayStrategy to RelayReference Signed-off-by: Serban Iorga <[email protected]> * Rename RelayStrategy::final_decision() Signed-off-by: Serban Iorga <[email protected]>
-
Branislav Kontur authored
* Bump log version to 0.4.17 * Removed unnecesseray dependency + rename BridgeGrandpaMillauCall to BridgeGrandpaCall
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]> Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
* Adjustments for the xcm messages sending logic Signed-off-by: Serban Iorga <[email protected]> * Deduplicate XCM destination Signed-off-by: Serban Iorga <[email protected]> * [send_message] small changes Signed-off-by: Serban Iorga <[email protected]> * Define CustomNetworkId Right now we use some associations between Rialto, RialtoParachain and Millau chains and chains defined in the NetworkId enum. But if we are not carreful we might do mistakes like: In Millau: pub const ThisNetwork: NetworkId = Kusama; pub const RialtoNetwork: NetworkId = Polkadot; In Rialto: pub const ThisNetwork: NetworkId = Kusama; pub const MillauNetwork: NetworkId = Polkadot; We're introducing CustomNetworkId to have a centralized mapping between NetworkId chains and our custom chains. Signed-off-by: Serban Iorga <[email protected]> * Revert "Deduplicate XCM destination" This reverts commit 3a0a950e1d7484e3ecac45f5c00b152f0485cd11. Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
* generated_message_details() -> Simplifications - avoid using a HashMap for `messages_to_refine`. It seems that a vec is enough - minimize the number of conversions between `OutboundMessageDetails` and `MessageDetails` - use references where possible in order to minimize the number of intermediary Vecs - simplify `make_message_details_map()` logic, reduce its scope and rename it to `validate_out_msgs_details()` Signed-off-by: Serban Iorga <[email protected]> * Define typed_state_call() Signed-off-by: Serban Iorga <[email protected]> * Call To*InboundLaneApi::message_details() with single messages Signed-off-by: Serban Iorga <[email protected]> * Call To*InboundLaneApi::message_details() with batched messages Signed-off-by: Serban Iorga <[email protected]> * validate_out_msgs_details() -> change check * Define split_msgs_to_refine() Signed-off-by: Serban Iorga <[email protected]> Signed-off-by: Serban Iorga <[email protected]>
-
Svyatoslav Nikolsky authored
* unprofitable message delivery tx metric * proper impl * send Rialto -> Millau messages using XCM pallet * use altruistic relays in Rialto <> Millau bridge * add unprofitable transactions dashboard * fix + logging * fix test
-
Serban Iorga authored
* [Complex Relayers] Deduplicate l2r and r2l logic Signed-off-by: Serban Iorga <[email protected]> * Renamings
-
Svyatoslav Nikolsky authored
* splitted Substrate RPC trait * introduce subscription methods * removed commented code * removed commented code
-
Serban Iorga authored
* Parachains source cosmetic changes - Make `ParaHashAtSource` more generic - Modify `on_chain_parachain_header` to return `HeaderId` - Shortening variable names Signed-off-by: Serban Iorga <[email protected]> * Change ParachainsSource::max_head_id type Change ParachainsSource::max_head_id to Arc<Mutex<NoopOption>> Signed-off-by: Serban Iorga <[email protected]> * code review changes
-
Svyatoslav Nikolsky authored
* switch to jsonrpsee 0.15 * use client_bounds marker
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Serban Iorga authored
-
Serban Iorga authored
Change Runtime APIs best_finalized() signature to return Option<HeaderId> Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]>
-
Svyatoslav Nikolsky authored
* send messages using xcm pallet * XcmBridge && XcmBridgeAdapter + (untested) config in RialtoParachain * impl encode_send_xcm for the rest * remove duplicate code * some fixes * cleanup * some more tests * cleanup * cleanup * send Rialto -> Millau messages using bridge-messages pallet * fmt * some clippy fixes * more clippy
-
Serban Iorga authored
Log error when `best_parachain_block_at_target` can't be updated instead of propagating it. Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Deduplicate the logic that validates the updated parachain heads. Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
Reduce the number of macros used for SignedExtensions Signed-off-by: Serban Iorga <[email protected]>
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* introduce relayers pallet * add MessageDeliveryAndDispatchPaymentAdapter * plug in pallet into test runtimes * tests prototype * tests for the relayers pallet * tests for payment adapter * mint_reward_payment_procedure_actually_mints_tokens * benchmarks * remove irrelevant todo * remove redundant clone
-
Serban Iorga authored
* Remove unused trait implementations Signed-off-by: Serban Iorga <[email protected]> * Define encoded_size_hint_u32() Signed-off-by: Serban Iorga <[email protected]> * Define TransactionEstimationParams trait Signed-off-by: Serban Iorga <[email protected]> * Rework TransactionEstimation Signed-off-by: Serban Iorga <[email protected]> * Docs + Renamings Signed-off-by: Serban Iorga <[email protected]>
-