- Aug 12, 2022
-
-
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 3a0a950e . Signed-off-by: Serban Iorga <[email protected]>
-
- 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 05, 2022
-
-
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
-
- Aug 03, 2022
-
-
Serban Iorga authored
* [Complex Relayers] Deduplicate l2r and r2l logic Signed-off-by: Serban Iorga <[email protected]> * Renamings
-
- Aug 02, 2022
-
-
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
-
- Aug 01, 2022
-
-
Svyatoslav Nikolsky authored
* switch to jsonrpsee 0.15 * use client_bounds marker
-
Svyatoslav Nikolsky authored
-
- Jul 29, 2022
-
-
Serban Iorga authored
-
- Jul 28, 2022
-
-
Change Runtime APIs best_finalized() signature to return Option<HeaderId> Signed-off-by: Serban Iorga <[email protected]>
-
Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 27, 2022
-
-
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
-
Log error when `best_parachain_block_at_target` can't be updated instead of propagating it. Signed-off-by: Serban Iorga <[email protected]>
-
Signed-off-by: Serban Iorga <[email protected]>
-
Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 25, 2022
-
-
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]>
-
- 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]>
-
Svyatoslav Nikolsky authored
* add another condition to the reject-obsolete-parachain-heads extension * add tracing to obsolete-tx-extensions * fix tests * extension_rejects_header_from_new_relay_block_with_same_hash * fmt * fix benchmarks
-
- Jul 13, 2022
-
-
Move bridge definitions to their specific folder. Signed-off-by: Serban Iorga <[email protected]>
-
Serban Iorga authored
* [CLI] Make bridge definitions more complete * [CLI] Refactor relay_headers_and_messages Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 12, 2022
-
-
Svyatoslav Nikolsky authored
-
- Jul 08, 2022
-
-
Svyatoslav Nikolsky authored
* change testnets account "names" to something meaningful * fixes * fix doc * fmt * account names as consts * fmt * spelling
-
- Jul 07, 2022
-
-
Svyatoslav Nikolsky authored
* decrease parameters range in grandpa benchmarks * fix messages benchmarks * update all weights * dealing with failed test (WiP) * Revert "dealing with failed test (WiP)" This reverts commit 0379d24b. * proper tests fix
-
- Jul 06, 2022
-
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]>
-
Svyatoslav Nikolsky authored
* remove Rococo<>Wococo bridge mentions * remove Kusama <> Polkadot bridge mentions * fmt * remove unneeded mocked runtimes && trait impls for obsolete bridges * remove unused deps
-
- Jul 05, 2022
-
-
Serban Iorga authored
Refactor the implementations for the following CLI methods in order to avoid using macros: - init_bridge - relay_headers - relay_parachains Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 04, 2022
-
-
Svyatoslav Nikolsky authored
* draft: remove without_storage_info for messages pallet * some cleanup
-
- Jun 29, 2022
-
-
Svyatoslav Nikolsky authored
* sync Westmint to Millau * "Westend parachains at Millau" dashboard
-
Svyatoslav Nikolsky authored
* parachain loop metrics * some fixes * mini refactoring * add tests
-
- 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 27, 2022
-
-
Avoid duplicate function definitions for: - ensure_owner_or_root() - ensure_not_halted() - set_owner() - set_operating_mode() / set_operational() Signed-off-by: Serban Iorga <[email protected]>
-
- Jun 24, 2022
-
-
Svyatoslav Nikolsky authored
* store both block number and hash in BestFinalized * also fix relay code * spelling
-
- 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 16, 2022
-
-
Svyatoslav Nikolsky authored
* separate accounts for different complex relay layers * fix clippy issue * cleanup + expose relay accounts balance metrics * expose messages pallet owner balance metric * use new metrics in maintenance dashboard * tests + use separate accounts to sign RialtoHeaders -> Millau transactions in RialtoParachain<>Millau bridge * clippy + fmt + spellcheck
-
- Jun 14, 2022
-
-
Svyatoslav Nikolsky authored
-
- Jun 13, 2022
-
-
Svyatoslav Nikolsky authored
* add proper parameter names to bridge declaration * associate RialtoParachain token with DOT * RialtoParachain<>Millau message pallet owners * fix compilation
-
- Jun 09, 2022
-
-
Svyatoslav Nikolsky authored
* BridgeRejectObsoleteMessages * add obsolete confirmations verification to the BridgeRejectObsoleteMessages * move tests where they belong
-
Svyatoslav Nikolsky authored
-