- 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 12, 2022
-
-
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]>
-
- Dec 09, 2022
-
-
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]>
-
- Dec 06, 2022
-
-
Svyatoslav Nikolsky authored
* DeliveryConfirmationPayments * ref proper PR in TODO
-
- Dec 02, 2022
-
-
Svyatoslav Nikolsky authored
* removed MintReward and added PayLaneRewardFromAccount * clippy * added issue ref to TODO
-
- Nov 28, 2022
-
-
Svyatoslav Nikolsky authored
* per-lane rewards in pallet-bridge-relayers * add lane id to RewardPaid event * clippy * fix benchmarks
-
- Nov 22, 2022
-
-
Svyatoslav Nikolsky authored
* remove dispatch_result field * fix benchmarks
-
Branislav Kontur authored
-
- Nov 21, 2022
-
-
Serban Iorga authored
* pallet-bridge-beefy: initial commit
-
- 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 11, 2022
-
-
Svyatoslav Nikolsky authored
* reintroduce header chain trait * renive BridgedChainWithMessages::maximal_extrinsic_size
-
- Nov 08, 2022
-
-
Svyatoslav Nikolsky authored
* Statemine primitives * ref issue in TODO * fix TODO
-
Branislav Kontur authored
* Change back sv-locked-for-gav-xcm-v3-and-bridges-3 -> sv-locked-for-gav-xcm-v3-and-bridges * Change back locked-for-gav-xcm-v3-and-bridges-3 -> locked-for-gav-xcm-v3-and-bridges * Changed cumulus branch: gav-xcm-v3 -> cumulus-locked-for-gav-xcm-v3-and-bridges
-
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
-
- 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 17, 2022
-
-
Svyatoslav Nikolsky authored
-
- Oct 03, 2022
-
-
Branislav Kontur authored
* Cleaning deps + satisfy `cargo build --release --all-targets --all-features` * PR fixes
-
- Sep 30, 2022
-
-
Svyatoslav Nikolsky authored
-
- Sep 14, 2022
-
-
Svyatoslav Nikolsky authored
* remove obsolete advisories refs * cargo update -p [email protected] * cargo update -p crossbeam-utils * cargo update -p cpufeatures * ignore RUSTSEC-2021-0139 * ignore RUSTSEC-2022-0046 (we need Substrate and Polkadot to upgrade) * ignore RUSTSEC-2022-0040 * cargo update -p parity-db
-
- Sep 09, 2022
-
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* update Substrate/Polkadot/Cumulus refs * finality-grandpa 0.16 * fix miillau-runtime compilation * fix rialto runtime compilation * fixed rialto-parachain runtime compilation * backport GRANDPA test fixes * helper instead of removed record_all_keys * substrate-relay is compiling * millau-bridge-node at least compiles * rialto-bridge-node at least compiles * rialto-parachain-collator compiles * fixings tests (wip) * fmt * fixed BEEFY alert * clippy * removed unused dep * -extra var * move Leaf to mod mmr * fix benchmarks
-
- Aug 26, 2022
-
-
Branislav Kontur authored
Reexport paste from `sp-runtime` in `bp-runtime` to aviod including `paste` dependency everywhere (#1556) * Reexport paste from `sp-runtime` in `bp-runtime` to aviod including `paste` dependency everywhere * Add import `bp_runtime` to macro calls: decl_bridge_finality_runtime_apis/decl_bridge_messages_runtime_apis
-
- Aug 22, 2022
-
-
Serban Iorga authored
Signed-off-by: Serban Iorga <[email protected]> Signed-off-by: Serban Iorga <[email protected]>
-
- Aug 19, 2022
-
-
Branislav Kontur authored
-
- Aug 18, 2022
-
-
Branislav Kontur authored
* Bump log version to 0.4.17 * Removed unnecesseray dependency + rename BridgeGrandpaMillauCall to BridgeGrandpaCall
-
- Aug 17, 2022
-
-
Signed-off-by: Serban Iorga <[email protected]>
-
- Aug 01, 2022
-
-
Svyatoslav Nikolsky authored
* switch to jsonrpsee 0.15 * use client_bounds marker
-
- 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 20, 2022
-
-
Svyatoslav Nikolsky authored
* introduce relayers pallet * add MessageDeliveryAndDispatchPaymentAdapter * plug in pallet into test runtimes * tests prototype * tests for the relayers pallet * tests for payment adapter * mint_reward_payment_procedure_actually_mints_tokens * benchmarks * remove irrelevant todo * remove redundant clone
-
- 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
-
- Jun 30, 2022
-
-
Define macro that generates tests for set_owner() and set_operating_mode() in order to avoid duplicate code. Signed-off-by: Serban Iorga <[email protected]>
-
- 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 09, 2022
-
-
Svyatoslav Nikolsky authored
* BridgeRejectObsoleteMessages * add obsolete confirmations verification to the BridgeRejectObsoleteMessages * move tests where they belong
-
- 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
-
Svyatoslav Nikolsky authored
-