Skip to content
  1. Aug 23, 2023
    • Svyatoslav Nikolsky's avatar
      Manually update deps in polkadot staging (#2371) · cb7efe24
      Svyatoslav Nikolsky authored
      
      
      * Bump clap from 4.3.19 to 4.3.21
      
      Bumps [clap](https://github.com/clap-rs/clap) from 4.3.19 to 4.3.21.
      - [Release notes](https://github.com/clap-rs/clap/releases)
      - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21)
      
      ---
      updated-dependencies:
      - dependency-name: clap
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tokio from 1.29.1 to 1.31.0
      
      Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.31.0.
      - [Release notes](https://github.com/tokio-rs/tokio/releases)
      - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0)
      
      ---
      updated-dependencies:
      - dependency-name: tokio
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump sysinfo from 0.29.7 to 0.29.8
      
      Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.29.7 to 0.29.8.
      - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)
      
      ---
      updated-dependencies:
      - dependency-name: sysinfo
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump async-trait from 0.1.72 to 0.1.73
      
      Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.72 to 0.1.73.
      - [Release notes](https://github.com/dtolnay/async-trait/releases)
      - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73)
      
      ---
      updated-dependencies:
      - dependency-name: async-trait
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump log from 0.4.19 to 0.4.20
      
      Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20.
      - [Release notes](https://github.com/rust-lang/log/releases)
      - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20)
      
      ---
      updated-dependencies:
      - dependency-name: log
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump anyhow from 1.0.72 to 1.0.75
      
      Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.75.
      - [Release notes](https://github.com/dtolnay/anyhow/releases)
      - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75)
      
      ---
      updated-dependencies:
      - dependency-name: anyhow
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tempfile from 3.7.1 to 3.8.0
      
      Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.1 to 3.8.0.
      - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0)
      
      ---
      updated-dependencies:
      - dependency-name: tempfile
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump clap from 4.3.21 to 4.3.23
      
      Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.23.
      - [Release notes](https://github.com/clap-rs/clap/releases)
      - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.23)
      
      ---
      updated-dependencies:
      - dependency-name: clap
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tokio from 1.31.0 to 1.32.0
      
      Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.31.0 to 1.32.0.
      - [Release notes](https://github.com/tokio-rs/tokio/releases)
      - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0)
      
      ---
      updated-dependencies:
      - dependency-name: tokio
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump serde_json from 1.0.104 to 1.0.105
      
      Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105.
      - [Release notes](https://github.com/serde-rs/json/releases)
      - [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105)
      
      ---
      updated-dependencies:
      - dependency-name: serde_json
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump thiserror from 1.0.44 to 1.0.47
      
      Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.47.
      - [Release notes](https://github.com/dtolnay/thiserror/releases)
      - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.47)
      
      ---
      updated-dependencies:
      - dependency-name: thiserror
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump rustls-webpki from 0.101.1 to 0.101.4
      
      Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.101.1 to 0.101.4.
      - [Release notes](https://github.com/rustls/webpki/releases)
      - [Commits](https://github.com/rustls/webpki/compare/v/0.101.1...v/0.101.4)
      
      ---
      updated-dependencies:
      - dependency-name: rustls-webpki
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump rustls-webpki from 0.100.1 to 0.100.2 in /tools/runtime-codegen
      
      Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.1 to 0.100.2.
      - [Release notes](https://github.com/rustls/webpki/releases)
      - [Commits](https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2)
      
      ---
      updated-dependencies:
      - dependency-name: rustls-webpki
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * fix clippy (#2335)
      
      * fix clippy
      
      * fix clippy issues
      
      ---------
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      cb7efe24
  2. Apr 25, 2023
    • Svyatoslav Nikolsky's avatar
      Messages relay fixes (#2073) · 3a658e36
      Svyatoslav Nikolsky authored
      * removed obsolete check that is superseded by the unblock checks below
      
      * if messages race transaction submit has failed, do not restart loop. Instead, wait for new best nonces from target node and retry selection. That's because submit has probably failed because other relayer has submitted same nonces
      
      * reset nonces_to_submit and nonces_submitted if at least one of selected/submitted nonces is already at target
      
      * removed extra check
      3a658e36
  3. Apr 21, 2023
    • Svyatoslav Nikolsky's avatar
      submit lane unblock transactions from relay (#2030) · 4942c12a
      Svyatoslav Nikolsky authored
      * submit lane unblock transactions from relay
      
      * moved body of select_nonces_to_deliver to the separate select_race_action
      
      * extracted latest_confirmed_nonce_at_source method
      
      * return Option<RaceAction> from select_race_action
      
      * make required_source_header_at_target async
      
      * remove extra argument from required_source_header_at_target
      
      * small fixes in tests
      
      * Revert "return Option<RaceAction> from select_race_action"
      
      This reverts commit 9f13dbfa.
      
      * implement required_source_header_at_target using what-if approach
      
      * fix compilation
      
      * fmt
      
      * clippy
      
      * moved some code to the can_submit_transaction_with
      4942c12a
  4. Mar 14, 2023
  5. Feb 24, 2023
  6. Feb 22, 2023
  7. Jan 31, 2023
  8. Dec 27, 2022
    • Serban Iorga's avatar
      Replace `BATCH_CALL_SUPPORTED` (#1733) · b9050e90
      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.
      b9050e90
  9. Dec 16, 2022
    • Svyatoslav Nikolsky's avatar
      Batch transactions in complex relays (#1669) · 15244e53
      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
      15244e53
  10. Oct 28, 2022
  11. Oct 03, 2022
    • Svyatoslav Nikolsky's avatar
      Read extrinsic dispatch result for mined transaction (#1582) · 63b51d9a
      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
      63b51d9a
  12. Sep 30, 2022
  13. Sep 26, 2022
  14. Sep 23, 2022
  15. Sep 24, 2021
  16. Aug 01, 2021
    • Tomasz Waszczyk's avatar
      Fix full spellcheck (#1076) · 3fb97fa5
      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: default avatarTomasz Drwięga <[email protected]>
      3fb97fa5
  17. Jun 16, 2021
  18. Jun 08, 2021
  19. Apr 14, 2021
  20. Apr 06, 2021
  21. Mar 26, 2021
  22. Mar 23, 2021
  23. Mar 22, 2021
  24. Mar 12, 2021
  25. Feb 15, 2021
  26. Feb 12, 2021
  27. Dec 08, 2020
  28. Nov 27, 2020
  29. Nov 23, 2020
  30. Nov 17, 2020
  31. Nov 06, 2020
  32. Nov 05, 2020
    • Svyatoslav Nikolsky's avatar
      Millau -> Rialto messages relay (#399) · c5f3f293
      Svyatoslav Nikolsky authored
      
      
      * Millau messages -> Rialto relay
      
      * prepare for custom race strategy of delivery race
      
      * custom strategy for delivery race
      
      * update TODOs
      
      * add reference to issue 457
      
      * impl reconnect
      
      * clippy
      
      * fix check in test
      
      * fmt
      
      * removed obsolete TODO
      
      * fixed another TODOs
      
      * fmt
      
      * use MAX_UNCONFIRMED_MESSAGES_AT_INBOUND_LANE const from primitives
      
      * Update relays/messages-relay/src/message_lane_loop.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * added SubstrateMessagesProof typedef
      
      * fix test
      
      * removed comment
      
      * additional_proof_required -> ProofParameters
      
      * typo
      
      * multiline literal
      
      * clippy
      
      * fix typo
      
      * and_then -> await
      
      * update_source_latest_confirmed_nonce
      
      * Update relays/messages-relay/src/message_race_delivery.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      c5f3f293
  33. Sep 18, 2020
  34. Sep 14, 2020