- Mar 14, 2023
-
-
Svyatoslav Nikolsky authored
* fix invalid batch transaction * RaceState is now trait * clippy
-
- Mar 07, 2023
-
-
Svyatoslav Nikolsky authored
* + failing test: previous_nonces_are_selected_if_reorg_happens_at_target_chain * maybe fix for the issue? * another fix * previous_nonces_are_selected_if_reorg_happens_at_target_chain for MessageDeliveryStrategy * remove commented code * spelling
-
- Mar 02, 2023
-
-
Svyatoslav Nikolsky authored
-
- Feb 24, 2023
-
-
Svyatoslav Nikolsky authored
* `select_nonces_to_deliver` is no longer `&mut self` * reset submitted nonces on lost transaction * clippy * fmt
-
- Feb 14, 2023
-
-
Svyatoslav Nikolsky authored
-
- Jan 10, 2023
-
-
Svyatoslav Nikolsky 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 21, 2022
-
-
Svyatoslav Nikolsky authored
* do not require new headers if lane is empty * handle edge case (need proof-of-delivery-confirmations to be able to submit delivery tx) in required_source_header_at_target * clippy
-
- 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 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
-
- 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
-
- Sep 23, 2022
-
-
Svyatoslav Nikolsky authored
-
- 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
-
- Jun 09, 2022
-
-
Svyatoslav Nikolsky authored
* BridgeRejectObsoleteMessages * add obsolete confirmations verification to the BridgeRejectObsoleteMessages * move tests where they belong
-
- Nov 30, 2021
-
-
fewensa authored
-
- Nov 09, 2021
-
-
fewensa authored
* Add relayer strategy * Add default relayer strategy * default relayer strategy * expose relayer strategy * fix compile * fix compile * docs * Rename Relayer to Relay, keep RelayerDecide * split `DefaultRelayerStrategy` into `AltruisticRelayerStrategy` and `RationalRelayerStrategy` * Remove relayer mode * Remove unused import * Rename `RelayerStrategy` to `RelayStrategy` * Add missing docs * clippy * clippy * clippy * clippy * Revert `relayer_mode` and add `MixStrategy` * Add `EnforcementStrategy` * fix bug and simplify relay strategy * Update message_lane_loop.rs * Update messages_target.rs * clippy * clippy * clippy * clippy * clippy * clippy * clippy * fix test * fix test * test test test fix test
-
- Oct 25, 2021
-
-
Svyatoslav Nikolsky authored
-
- 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 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]>
-
- Aug 01, 2021
-
-
Tomasz Waszczyk authored
* fix(spellcheck): test of fixing * fix(hunspell): improved many typos etc. * fix(hunspell): all errors solved * fix(hunspell): extended scope of files - the build should fail * Return error code. * Fix spelling, sort dictionary. * fix(hunspell): added fix to gitlabs check * fix(typo): one typo and test of verification on github * fix(typo): one typo Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jul 06, 2021
-
-
Svyatoslav Nikolsky authored
* cli option for greedy relayer + run no-losses relayer by default * trigger build * Revert "trigger build" This reverts commit f77ae3a6. * NoLosses -> Rational
-
- Jul 01, 2021
-
-
Svyatoslav Nikolsky authored
* use real conversion rate in greedy relayer strategy * only accept positive, normal numbers in FloatJsonValueMetric
-
- Jun 24, 2021
-
-
Svyatoslav Nikolsky authored
greedy relayer don't need message dispatch to be prepaid if dispatch is supposed to be paid at the target chain (#1016)
-
- Jun 21, 2021
-
-
Svyatoslav Nikolsky authored
* use plain source_queue view when selecting nonces for delivery * Revert "use plain source_queue view when selecting nonces for delivery" This reverts commit f1fdc3fa. * Revert "Revert "use plain source_queue view when selecting nonces for delivery"" This reverts commit ccefa5ec. * clippy * fmt
-
- Jun 16, 2021
-
-
Svyatoslav Nikolsky authored
* introduce relayer mode enum * removed MaximalReward mode * TODO * Saturating -> SaturatingAdd * ref issue in TODOs * Update relays/messages/src/message_race_delivery.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Apr 22, 2021
-
-
Svyatoslav Nikolsky authored
* require lane source -> target headers when weknow all headers that have produced messages, but are unable to deliver all messages because of unrewarded relayers vec capacity * Update relays/messages/src/message_race_delivery.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Apr 14, 2021
-
-
Svyatoslav Nikolsky authored
* complex headers+messages relay * post-merge fix * fix + test issue with on-demand not starting
-
- Apr 06, 2021
-
-
Hernando Castano authored
* Update copyright date to 2021 * Bump date in license header template
-
- Mar 26, 2021
-
-
Svyatoslav Nikolsky authored
* on-demand headers relay * bool::then * move file * atomic submit_signed_extrinsic * remove cli options from future * test on-demand relay * TODOs * fixed initialization call for Westend -> Millau * Update relays/client-substrate/src/client.rs Co-authored-by: Hernando Castano <[email protected]> * removed on_demand_headers_relay.rs * on_demand_headers_relay traces * fix compilation * fmt * docs Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 23, 2021
-
-
Tomasz Drwięga authored
* Remove chains. * Move relay clients. * Flatten generic. * Fix fmt.
-
- Mar 22, 2021
-
-
Svyatoslav Nikolsky authored
* use runtime:: prefix for message-lane pallet traces * renamed message-lane (module and primitives) folder into messages * replace "message lane" with "messages" where appropriate
-
- Mar 12, 2021
-
-
Tomasz Drwięga authored
* Nest some crates. * Alter command execution to make it easier to add new bridges. * Rename sub-dirs. * cargo fmt --all * Address clippy. * Update relays/substrate/src/rialto_millau/cli.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Feb 15, 2021
-
-
Svyatoslav Nikolsky authored
* keep multiple latest confirmed nonces at source in messages relay * post-merge fix
-
- Feb 12, 2021
-
-
Svyatoslav Nikolsky authored
* fix max weight in relay + logging * removed duplicate info
-
- Dec 22, 2020
-
-
Svyatoslav Nikolsky authored
-
- Dec 15, 2020
-
-
Svyatoslav Nikolsky authored
* limit messages size in delivery transaction * docs
-
- Dec 08, 2020
-
-
Svyatoslav Nikolsky authored
* limit maximal number of unconfirmed messages at inbound lane * unrewarded_relayer_entries API * change relay to support max unrewarded relayer entries * Update modules/message-lane/src/inbound_lane.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update relays/messages-relay/src/message_lane_loop.rs Co-authored-by: Hernando Castano <[email protected]> * removed pub Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Dec 03, 2020
-
-
Svyatoslav Nikolsky authored
* limit max number of messages in delivery tx * support max-messages-in-delivery-tx in relayer * clippy * clippy * Update modules/message-lane/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Nov 27, 2020
-
-
Svyatoslav Nikolsky authored
* fixed missing else * really wake up when retry timeout is completed * do not query weights if target nonce is unknown * fix compilation
-