- Apr 09, 2024
-
-
Svyatoslav Nikolsky authored
* TypedLaneId -> LaneId * fix benchmarks compilation
-
Serban Iorga authored
-
Svyatoslav Nikolsky authored
* expose metrics of on-demand relay chain headers sync from with-parachain complex relays * spelling * remove renundant arg
-
Serban Iorga authored
* Handle SIGTERM for some docker containers * Implement SIGTERM handling for the relay
-
Serban Iorga authored
* Simplify submit_and_watch_signed_extrinsic The way submit_and_watch_signed_extrinsic is used now, we can always derive the SignParam from other params. If in the future we need more customization possibilities, we can define a new method. * Simplify submit_signed_extrinsic * Send maybe_batch_tx as a parameter Send `maybe_batch_tx` as a parameter to `submit_proof()`. This way we can deduplicate the logic that submits the extrinsic for `messages_source and `messages_target` and we can simplify the logic in the race loop a bit. * Define BatchProofTransaction Deduplicate BatchConfirmationTransaction and BatchDeliveryTransaction by replacing both of them with BatchProofTransaction * Define ChainWithUtilityPallet and BatchCallBuilderConstructor - Define `ChainWithUtilityPallet` in order to be able to associate the batching functionality with chains - Defining `BatchCallBuilderConstructor` in order to have a more reliable way of checking whether an end of a messages pipeline supports batching or no. `BatchCallBuilderConstructor::new_builder()` returns an `Option<BatchCallBuilder>`.This is a bit safer because each time a caller tries to start creating a batch call, it will call `new_builder()` and will be required to handle the returned `Option`. Before we only had a bool `BATCH_CALL_SUPPORTED` the caller could have forgetten to check.
-
Svyatoslav Nikolsky authored
* updated weights * also fix off-by-one in benchmarks
-
Svyatoslav Nikolsky authored
* do not require new headers if lane is empty * handle edge case (need proof-of-delivery-confirmations to be able to submit delivery tx) in required_source_header_at_target * clippy
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* batch transactions in message relay: API prototype * get rid of Box<dyn BatchTransaction> and actually submit it * test batch transactions * message_lane_loop_works_with_batch_transactions * removed logger * BatchConfirmationTransaction + BatchDeliveryTransaction * more prototyping * fmt * continue with batch calls * impl BatchCallBuilder for () * BatchDeliveryTransaction impl * BundledBatchCallBuilder * proper impl of BundledBatchCallBuilder + use it in RialtoParachain -> Millau * impl prove_header in OnDemandHeadersRelay * impl OnDemandParachainsRelay::prove_header (needs extensive tests) * added a couple of TODOs * return Result<Option<BatchTx>> when asking for more headers * prove headers when reauire_* is called && return proper headers from required_header_id * split parachains::prove_header and test select_headers_to_prove * more traces and leave TODOs * use finality stream in SubstrateFinalitySource::prove_block_finality * prove parachain head at block, selected by headers relay * const ANCIENT_BLOCK_THRESHOLD * TODO -> proof * clippy and spelling * BatchCallBuilder::build_batch_call() returns Result * read first proof from two streams * FailedToFindFinalityProof -> FinalityProofNotFound * changed select_headers_to_prove to version from PR review
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Branislav Kontur authored
* Check origin? * Removed ensure_signed * clippy
-
Serban Iorga authored
* Remove SOURCE_PARACHAIN_PARA_ID Remove SubstrateParachainsPipeline::SOURCE_PARACHAIN_PARA_ID * Avoid duplicate ChainBase and ParachainBase implementations * Replace ChainShadow with UnderlyingChainProvider
-
Svyatoslav Nikolsky authored
-
Serban Iorga authored
* Remove WeightToFee * Remove leftover
-
Serban Iorga authored
* Fix bridge hub rococo/wococo weights * Remove SS58Prefix
-
Svyatoslav Nikolsky authored
* store block number ++ state root in parachains pallet * fixed parachains finality APIs * (test commit) * removed test code * deduplicated code a bit * removed commented code * spelling * Update modules/parachains/src/lib.rs Co-authored-by: Adrian Catangiu <[email protected]> * Update modules/parachains/src/lib.rs Co-authored-by: Adrian Catangiu <[email protected]> * Update modules/parachains/src/mock.rs Co-authored-by: Adrian Catangiu <[email protected]> * added comment Co-authored-by: Adrian Catangiu <[email protected]>
-
Svyatoslav Nikolsky authored
* relayer rewards integration: initial commit * added refund-relayer-extension to the millau runtime * spelling * spelling again * new -> Default
-
Svyatoslav Nikolsky authored
* add utlity pallet to the Millau runtime * RefundRelayerForMessagesDeliveryFromParachain prototype * done with RefundRelayerForMessagesDeliveryFromParachain::post_dispatch * parse calls * check batch for obsolete headers/messages * fmt * shorten generic arg names + add parachain id generic arg * check lane_id * impl all state read functions * fix typos from review * renamed extension + reference issue from TODO * tests for pre-dispaytch * renamed extension source file * tests for post-dispatch * abstract fee calculation * clippy * actually fix clippy * Update bin/runtime-common/src/refund_relayer_extension.rs Co-authored-by: Adrian Catangiu <[email protected]> * Update bin/runtime-common/src/refund_relayer_extension.rs Co-authored-by: Adrian Catangiu <[email protected]> * Update bin/runtime-common/src/refund_relayer_extension.rs Co-authored-by: Adrian Catangiu <[email protected]> * Update bin/runtime-common/src/refund_relayer_extension.rs Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]>
-
Svyatoslav Nikolsky authored
* DeliveryConfirmationPayments * ref proper PR in TODO
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* removed MintReward and added PayLaneRewardFromAccount * clippy * added issue ref to TODO
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
Binston Sukhael Cardoza authored
* Replace const parameters * fmt * missed out Maxlocks
-
Branislav Kontur authored
* `dry-run` mode for init bridge command * fix clippy
-
Branislav Kontur authored
* Added generic DispatchLevelResult to the MessageDispatchResult * Removed unnecessery `Clone + Decode + sp_std::fmt::Debug + Eq` + clippy
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* per-lane rewards in pallet-bridge-relayers * add lane id to RewardPaid event * clippy * fix benchmarks
-
Svyatoslav Nikolsky authored
-
Serban Iorga authored
* Add RococoBridgeHub <> WococoBridgeHub full 2 way bridge * Use StorageMapKeyProvider instead of account_info_storage_key() Avoid duplicating storage_map_final_key() * clippy + leftovers
-
Branislav Kontur authored
-
Svyatoslav Nikolsky authored
* remove dispatch_result field * fix benchmarks
-
Branislav Kontur authored
-
Branislav Kontur authored
-