- Apr 24, 2023
-
-
Serban Iorga authored
-
- Mar 24, 2023
-
-
Adrian Catangiu authored
* bump refs and fix build * more fixes * Fix rialto-parachain node * Update dependencies for tools/runtime-codegen * Regenerate rialto-parachain indirect runtime * Fix register_parachain * Fix clippy * Undo clippy allow --------- Co-authored-by: Serban Iorga <[email protected]>
-
- Mar 07, 2023
-
-
Svyatoslav Nikolsky authored
* actually clone client data by reference when clonning the client * spelling * clippy
-
- Mar 03, 2023
-
-
Svyatoslav Nikolsky authored
* improve some relay errors readability * clippy
-
- Feb 22, 2023
-
-
Svyatoslav Nikolsky authored
get rid of ChainWithMessages::WeightInfo, because we can't have exact weights for "external chains" (#1899)
-
- Jan 30, 2023
-
-
Svyatoslav Nikolsky authored
* do not read parachain heads from ancient relay headers * revert test change
-
- Jan 11, 2023
-
-
Serban Iorga authored
* Define SimpleRuntimeVersion * Set R/WococoBridgeHub bundle runtime version
-
- Dec 30, 2022
-
-
Serban Iorga authored
-
- 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
* 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
-
- Nov 02, 2022
-
-
Svyatoslav Nikolsky authored
-
- Oct 24, 2022
-
-
Serban Iorga authored
-
- 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 14, 2022
-
-
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
-
- Sep 05, 2022
-
-
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]>
-
- Aug 30, 2022
-
-
Svyatoslav Nikolsky authored
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
-
- Aug 26, 2022
-
-
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
-
- 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]>
-
- Aug 02, 2022
-
-
Svyatoslav Nikolsky authored
* splitted Substrate RPC trait * introduce subscription methods * removed commented code * removed commented code
-
- Aug 01, 2022
-
-
Svyatoslav Nikolsky authored
* switch to jsonrpsee 0.15 * use client_bounds marker
-
- Jul 27, 2022
-
-
Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 14, 2022
-
-
Serban Iorga authored
Define HeaderIdProvider trait Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 13, 2022
-
-
Serban Iorga authored
* [CLI] Make bridge definitions more complete * [CLI] Refactor relay_headers_and_messages 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
-
- May 27, 2022
-
-
Svyatoslav Nikolsky authored
* add RialtoParachain <> Millau bridge to test deployments * flush (still not working, but possible fix in comments) * proper fix * fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header * dashboards * fmt * removing debugging code * more cleanup
-
- May 25, 2022
-
-
Svyatoslav Nikolsky authored
* complex parachain relay * fix spelling
-
- Apr 14, 2022
-
-
Svyatoslav Nikolsky authored
* introduce FinalityEngine in relay code * add FinalityEngine to relay * spelling * fix test compilation * Update relays/lib-substrate-relay/src/finality/source.rs Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]>
-
- Mar 15, 2022
-
-
Svyatoslav Nikolsky authored
* cumulus: 4e952282914719fafd2df450993ccc2ce9395415 polkadot: 975e780ae0d988dc033f400ba822d14b326ee5b9 substrate: 89fcb3e4f62d221d4e161a437768e77d6265889e * fix refs * sync changes from https://github.com/paritytech/polkadot/pull/3828 * sync changes from https://github.com/paritytech/polkadot/pull/4387 * sync changes from https://github.com/paritytech/polkadot/pull/3940 * sync with changes from https://github.com/paritytech/polkadot/pull/4493 * sync with changes from https://github.com/paritytech/polkadot/pull/4958 * sync with changes from https://github.com/paritytech/polkadot/pull/3889 * sync with changes from https://github.com/paritytech/polkadot/pull/5033 * sync with changes from https://github.com/paritytech/polkadot/pull/5065 * compilation fixes * fixed prometheus endpoint startup (it now requires to be spawned within tokio context)
-
- 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 21, 2022
-
-
Svyatoslav Nikolsky authored
* relay balance metrics * convert balance to "main" tokens in balance metrics * add balances widgets to maintenance dashboard
-
- 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
* added lost stall timeout fix * use best_block.parent() to start mortal tx era * fmt * Revert "revert messages transactions mortality" This reverts commit 77776357.
-
- Oct 08, 2021
-
-
Svyatoslav Nikolsky authored
* register parachain relay subcommand * revert cargo patch * added basic test * fmt
-
- Sep 27, 2021
-
-
David authored
* Upgrade `jsonrpsee` to v0.3 * whitespace * fmt Co-authored-by: Svyatoslav Nikolsky <[email protected]>
-
- 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 22, 2021
-
-
Svyatoslav Nikolsky authored
* Substrate: 63b32fbaa2764c0a8ee76b70cdfa0fcb59b7181f Polkadot: 7229ab87acf5bc5d4d10655ad1a9819a1e317442 Cumulus: d5284b0e78be3a18a3371103dd00449aceb082df * rialto parachain runtime * fixed tests * add node + bump refs (not compiling yet): Substrate: 630422d6108cbaaca893ab213dde69f3bdaa1f6b Polkadot: 7229ab87acf5bc5d4d10655ad1a9819a1e317442 Cumulus: 5af2990cfd3711f86c7cb8606b22364208a5c32d GrandpaBridgeGadget: c152c45ac331eb8ab40d956ab1d008d181810ef4 * fix compilation (collator is not working) * more fixes * fmt * spellcheck * fix warnings * fix compilation * fmt * trigger CI * trigger CI * Revert "trigger CI" This reverts commit a31f53ce. * benchmarks * fix benchmarks * fix again * Revert "Revert "trigger CI"" This reverts commit 1dea8b42. * Revert "Revert "Revert "trigger CI""" This reverts commit 8fb74fa5. * try fix * lost lock file * spellcheck * try to disable sccache for cargo check * Revert "Revert "Revert "Revert "trigger CI"""" This reverts commit f1574614. * try to disable again * disable sccache for test
-
- Sep 21, 2021
-
-
Svyatoslav Nikolsky authored
* token swap relay * token swap subcommand fixes * fmt * removed debug traces * removed commented code
-
- Sep 09, 2021
-
-
Svyatoslav Nikolsky authored
* resubmit transactions: start * resubmit transactions: continue * enable resubmitter in deployments * clippy * spellcheck * Update relays/client-substrate/src/chain.rs Co-authored-by: Tomasz Drwięga <[email protected]> * fix compilation * fix compilation Co-authored-by: Tomasz Drwięga <[email protected]>
-
- 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
-
-
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
-