- Dec 27, 2022
-
-
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.
-
- Dec 16, 2022
-
-
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
-
- Dec 05, 2022
-
-
Svyatoslav Nikolsky authored
-
- Nov 18, 2022
-
-
Svyatoslav Nikolsky authored
* remove message fee * it is compiling! * fixes + fmt * more cleanup * more cleanup * restore MessageDeliveryAndDispatchPayment since we'll need relayer rewards * started rational relayer removal * more removal * removed estimate fee subcommand * remove DispatchFeePayment * more removals * removed conversion rates && some metrics * - unneeded associated type * - OutboundMessageFee * fix benchmarks compilation * fmt * test + fix benchmarks * fix send message * clippy
-
- Nov 08, 2022
-
-
Branislav Kontur authored
* Bumping substrate/polkadot/cumulus * Update Cargo.lock * Fixes * Fixes for mmr * Bump clap * Fix for millau - added CompatibilityMode * Fixes for rialto-parachain * Align everywhere branch='master' and just use overrides from main Cargo.toml
-
- Nov 02, 2022
-
-
Svyatoslav Nikolsky authored
-
- Oct 21, 2022
-
-
Svyatoslav Nikolsky authored
-
- Oct 20, 2022
-
-
Svyatoslav Nikolsky authored
* update Substrate + Polkadot + Cumulus refs * Origin -> RuntimeOrigin * weights v1.5 * update refs once again + `cargo test -p pallet-bridge-grandpa` works * started work on `cargo test -p pallet-bridge-messages` * cargo test -p pallet-bridge-relayers * cargo test -p pallet-bridge-parachains * cargo test -p millau-runtime * cargo test -p bridge-runtime-common * cargo test -p rialto-runtime * cargo test -p rialto-parachain-runtime * cargo test -p millau-bridge-node * cargo test -p rialto-bridge-node * cargo test -p rialto-parachain-collator * cargo test -p messages-relay * cargo test -p parachains-relay * cargo test -p substrate-relay * cargo test --all * cargo check -p millau-runtime --locked --features runtime-benchmarks * fix remaining test * fmt * try to allow clippy failure temporarily * Revert "try to allow clippy failure temporarily" This reverts commit d1b65935. * use min_by * Revert "use min_by" This reverts commit 33042f49. * Revert "Revert "use min_by"" This reverts commit 1d2204f0. * trigger CI * Revert "trigger CI" This reverts commit 259d91b5. * new day, new clippy warning * more clippy issues
-
- Oct 03, 2022
-
-
Svyatoslav Nikolsky authored
* read extrinsic dispatch result for mined transaction * commit for the history * Revert "commit for the history" This reverts commit 99341b04. * Revert "read extrinsic dispatch result for mined transaction" This reverts commit 662b776c. * check for successfult transaction in finality relay * check for successful transaction in parachains relay * TrackedTransactionStatus ->TrackedTransactionStatus<HeaderId> * check for successful transaction in messages relay * fix compilation * message_lane_loop_is_able_to_recover_from_unsuccessful_transaction * fixed too-complex-type clippy error * aaand compilation
-
- Sep 23, 2022
-
-
Svyatoslav Nikolsky authored
-
- Aug 30, 2022
-
-
Svyatoslav Nikolsky authored
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
-
- Aug 10, 2022
-
-
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]>
-
- Jul 28, 2022
-
-
Change Runtime APIs best_finalized() signature to return Option<HeaderId> Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 18, 2022
-
-
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]>
-
- Jul 14, 2022
-
-
Serban Iorga authored
Define HeaderIdProvider trait Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 04, 2022
-
-
Svyatoslav Nikolsky authored
* draft: remove without_storage_info for messages pallet * some cleanup
-
- Jun 28, 2022
-
-
Serban Iorga authored
Unify the operating mode for bridge pallets - define the OperationMode trait and BasicOperatingMode enum - use the OperationMode trait in all the bridge pallets - use BasicOperatingMode instead of IsHalted for the Grandpa pallet - use BasicOperatingMode as part of MessagesOperatingMode Signed-off-by: Serban Iorga <[email protected]>
-
- Jun 21, 2022
-
-
Svyatoslav Nikolsky authored
* fix on-different-forks metrics during initialization * "initialize" parachain finality pallet in on-demand parachains relay * decrease converstion rate requests count * more error logging * fix compilation * clippy
-
- Jun 09, 2022
-
-
Svyatoslav Nikolsky authored
* BridgeRejectObsoleteMessages * add obsolete confirmations verification to the BridgeRejectObsoleteMessages * move tests where they belong
-
- Jun 01, 2022
-
-
Svyatoslav Nikolsky authored
* reintroduce From<SourceChain>InboundLaneApi * impl From<Chain>InboundLaneApi for testnet runtimes * use inboundlaneapi in relay * remove unused OutboundXcmWeigher * spelling * added the only test to messages pallet * fmt
-
- May 25, 2022
-
-
Svyatoslav Nikolsky authored
* complex parachain relay * fix spelling
-
- Mar 01, 2022
-
-
Svyatoslav Nikolsky authored
-
- Feb 24, 2022
-
-
Svyatoslav Nikolsky authored
* using_same_fork metric in finality relay * support `using_different_forks` in messages relay * added dashboards and alerts * lockfile
-
- Feb 21, 2022
-
-
Svyatoslav Nikolsky authored
* encode and estimate Rococo/Wococo/Kusama/Polkadot messages * allow send-message for non-bundled chains * weight -> dispatch-weight * fmt * fix spelling
-
- Jan 19, 2022
-
-
Svyatoslav Nikolsky authored
when messages pallet is halted, relay shall not submit messages delivery/confirmation transactions (#1289)
-
- Jan 13, 2022
-
-
Svyatoslav Nikolsky authored
-
- Dec 23, 2021
-
-
Svyatoslav Nikolsky authored
-
- Dec 21, 2021
-
-
Svyatoslav Nikolsky authored
-
- Dec 17, 2021
-
-
Svyatoslav Nikolsky authored
-
- Dec 16, 2021
-
-
fewensa authored
* The `spec_version` and `transaction_version` query from chain * fix compile * Lint * Custom spec_version and transaction_version * runtime version params struct opt * runtime version cli * cli params * Add missing types defined * fix compile * debug cli * clippy * clippy * Query spec_version and transaction_version same times * Fix vars * Wrap option * Wrap option * Try fix ci * Change follow suggestions
-
- Dec 06, 2021
-
-
Svyatoslav Nikolsky authored
* refactor message relay helpers * single standalone_metrics function * fixed tests * clippy + fmt * removed commented code * add calls tracing * fix spelling * cargo fmt * -commented code * fix build again * post-merge build fix * clippy + fmt
-
- Oct 25, 2021
-
-
Svyatoslav Nikolsky authored
* transactions mortality in message and complex relays * logging + enable in test deployments * spellcheck * fmt
-
- Sep 24, 2021
-
-
hacpy authored
* Alter gitlab. * Use substrate's rustfmt.toml * cargo +nightly fmt --all * Fix spellcheck. * cargo +nightly fmt --all * format. * Fix spellcheck and fmt * fmt? * Fix spellcheck Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Sep 10, 2021
-
-
Chevdor authored
-
- Sep 06, 2021
-
-
Svyatoslav Nikolsky authored
* fix delivery transaction estimation in greedy relayer * fixed typo * improve logging * improve logging * fmt * fix compilation * fmt * Update relays/lib-substrate-relay/src/messages_target.rs Co-authored-by: Tomasz Drwięga <[email protected]> * review Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Sep 02, 2021
-
-
Antonio Dropulic authored
* Remove redundant generic parameters from SubstrateMessagesSource * Remove redundant generic parameters from SubstrateMessagesTarget * use uniform alias naming * use aliases instead of fully quallified syntax * pr feedback
-
Svyatoslav Nikolsky authored
* mortal relay transactions * sign block hash for mortal transactions * TransactionEraOf * add explanation * enable mortal transactions for Westend -> Millau headers relay * clippy * spellcheck
-
- Sep 01, 2021
-
-
Svyatoslav Nikolsky authored
* get rid of frame_support::traits::Instance usage in messaging * migrate messages pallet to frame v2 * fix benchmarks * remove dummy event + add Parameter to metadata * review * typo
-
- Aug 30, 2021
-
-
Svyatoslav Nikolsky authored
* added missing docs * added .cargo to gitignore
-