- Mar 20, 2023
-
-
Svyatoslav Nikolsky authored
* moved bridge declarations to dedicated folder * Kusama <> Polkadot bridges declaration * support for Kusama <> Polkadot bridge in CLI * update dictionary
-
- Mar 01, 2023
-
-
Serban Iorga authored
* Update BHR and BHW spec version * Remove docs in verify-pallets-build.sh * Remove only docs/dockerhub-*
-
Svyatoslav Nikolsky authored
* switch off parachains relay when we don't need to relay parachains (temp solution) * parachains relay now only works with single parachain * fix usages of parachains relay * revert hacky fix * fixes * fixed Westmint parachain ID * fixed metrics * fixed compilation * fmt * clippy * call -> typed_state_call
-
- Feb 22, 2023
-
-
Svyatoslav Nikolsky authored
Wrap confirmation and finality transactions into batch_all in Millau -> RialtoParachain bridge (#1898) * wrap confirmation and finality transactions into batch_all in RialtoParachain<>Millau * review comments
-
- Feb 20, 2023
-
-
Svyatoslav Nikolsky authored
-
- Feb 03, 2023
-
-
Serban Iorga authored
* Create CLI tool for generating indirect runtimes code * Use the generated runtime for rialto parachain * Avoid autogenerated files when executing cargo spellcheck * Fix clippy warning
-
- Jan 31, 2023
-
-
Serban Iorga authored
Change the names of the macros used for generating indirect runtime calls Signed-off-by: Serban Iorga <[email protected]>
-
Svyatoslav Nikolsky authored
-
- Jan 27, 2023
-
-
Serban Iorga authored
-
- Jan 24, 2023
-
-
Serban Iorga authored
-
- Jan 20, 2023
-
-
Svyatoslav Nikolsky authored
* leave-modules.sh * remove bp-rialto dependency from bp-relayers * update leave-modules.sh * fix Cargo.toml of pallet-bridge-relayers * update leave-modules.sh * remove bp-rialto and millau-runtime frombridge-runtime-common Cargo.toml * update leave-modules.sh * remove chain dependencies from bridge-runtime-common crate * fix tests * cleanup script * rename script * kind of success message * remove leave-modules.sh * use TargetHeaderChainAdapter and SourceHeaderChainAdapter in our testnets * update script
-
- Jan 11, 2023
-
-
Serban Iorga authored
* Define SimpleRuntimeVersion * Set R/WococoBridgeHub bundle runtime version
-
- Jan 10, 2023
-
-
Serban Iorga authored
* Use indirect runtime calls for RialtoParachain * Code review fixes
-
- Jan 09, 2023
-
-
Serban Iorga authored
* Small changes * Define generic bridge pallets call structs * polkadot-core SignedExtension simplifications - we don't seem to need to pass the Call as a generic param - we can use codec(skip) instead of implementing Encode and Decode * Split BridgeHubRococo and BridgeHubWococo calls * code review fixes
-
- 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
-
- Dec 14, 2022
-
-
Serban Iorga authored
* Remove SOURCE_PARACHAIN_PARA_ID Remove SubstrateParachainsPipeline::SOURCE_PARACHAIN_PARA_ID * Avoid duplicate ChainBase and ParachainBase implementations * Replace ChainShadow with UnderlyingChainProvider
-
- Dec 12, 2022
-
-
Serban Iorga authored
* Fix bridge hub rococo/wococo weights * Remove SS58Prefix
-
- Dec 02, 2022
-
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
-
- Nov 25, 2022
-
-
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
-
- 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 14, 2022
-
-
Branislav Kontur authored
* [BridgeHub] Added bridge-hub-rococo/wococo clients with bridge-hub-rococo-runtime * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo * [BridgeHub] Fixed Call-encoding for init-bridge rococo runtime wrapper * Final index update to runtime calls * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo (otherside) * Added runtime best_finalized functions + relay-headers init * Renaming and change BridgeHubRococo/Wococo to Rococo/Wococo config * [BridgeHub] Add relay-parachains (Rococo/Wococo) * Missing stuff for adding xcm messaging to BridgeHub * extracted parachain IDs to the primitives * fix compilation * Fixes * Init setup for Rococo->Wococo messaging support * Removed unused AccountId from `trait MessagesBridge` * Removed unused trait SenderOrigin * Small fixes * Cleaning after master-merge * Fixes * Fixes * Fixes * Fixes * Fixes: - align WeightToFee with BridgeHubRococo runtime - MAX_HEADER_SIZE - updated TODOs * Added relay_messages cfg for BridgeHubWococo -> BridgeHubRococo Co-authored-by: Svyatoslav Nikolsky <[email protected]>
-
- Nov 08, 2022
-
-
Svyatoslav Nikolsky authored
* Statemine primitives * ref issue in TODO * fix TODO
-
- Nov 02, 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
-
- Sep 30, 2022
-
-
Svyatoslav Nikolsky authored
-
- Aug 30, 2022
-
-
Svyatoslav Nikolsky authored
* change sign_transaction method * clippy * rustup update && clippy * remove redudnant clone
-
- 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]>
-
- 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
-
- Jul 13, 2022
-
-
Move bridge definitions to their specific folder. Signed-off-by: Serban Iorga <[email protected]>
-
- Jul 06, 2022
-
-
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]>
-
- Jun 29, 2022
-
-
Svyatoslav Nikolsky authored
* sync Westmint to Millau * "Westend parachains at Millau" dashboard
-
- 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 07, 2022
-
-
Svyatoslav Nikolsky authored
* added parachains pallet benchmarks * deduplicate insertion of bridged header * pruning weight * fixes * fix compilation
-
- May 25, 2022
-
-
Svyatoslav Nikolsky authored
* complex parachain relay * fix spelling
-
- May 20, 2022
-
-
Svyatoslav Nikolsky authored
-