Skip to content
  1. Feb 20, 2023
  2. Jan 31, 2023
  3. Dec 30, 2022
  4. 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
  5. Nov 02, 2022
  6. 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
  7. Sep 14, 2022
    • Svyatoslav Nikolsky's avatar
      TransactionInvalidationTracker (#1544) · d24be3f9
      Svyatoslav Nikolsky authored
      * TransactionInvalidationTracker
      
      * TransacitonInvalidationTracker -> TransactionTracker
      
      * change sign_transaction method
      
      * clippy and spelling
      
      * removed comment
      
      * more transactiontracker tests
      
      * stalls_when_transaction_tracker_returns_error
      
      * remove test code
      
      * remove "impl TransactionTracker for ()"
      
      * enum TrackedTransactionStatus
      
      * test TransactionTracker in on_transaction_status
      
      * do_wait
      d24be3f9
  8. Aug 30, 2022
  9. Jul 29, 2022
  10. Jun 21, 2022
  11. May 30, 2022
  12. Apr 14, 2022
  13. Mar 01, 2022
  14. Feb 24, 2022
  15. Feb 21, 2022
  16. Jan 18, 2022
  17. Dec 16, 2021
    • fewensa's avatar
      Change submit transaction spec_version and transaction_version query from chain (#1248) · edfcb74e
      fewensa authored
      * The `spec_version` and `transaction_version` query from chain
      
      * fix compile
      
      * Lint
      
      * Custom spec_version and transaction_version
      
      * runtime version params struct opt
      
      * runtime version cli
      
      * cli params
      
      * Add missing types defined
      
      * fix compile
      
      * debug cli
      
      * clippy
      
      * clippy
      
      * Query spec_version and transaction_version same times
      
      * Fix vars
      
      * Wrap option
      
      * Wrap option
      
      * Try fix ci
      
      * Change follow suggestions
      edfcb74e
  18. Dec 06, 2021
    • Svyatoslav Nikolsky's avatar
      Refactor message relay helpers (#1234) · fed54371
      Svyatoslav Nikolsky authored
      * refactor message relay helpers
      
      * single standalone_metrics function
      
      * fixed tests
      
      * clippy + fmt
      
      * removed commented code
      
      * add calls tracing
      
      * fix spelling
      
      * cargo fmt
      
      * -commented code
      
      * fix build again
      
      * post-merge build fix
      
      * clippy + fmt
      fed54371
  19. Dec 03, 2021
  20. Oct 25, 2021
  21. Sep 24, 2021
  22. Sep 02, 2021
  23. Aug 27, 2021
    • fewensa's avatar
      Common crate for substrate-relay (#1082) · 0791e911
      fewensa authored
      * lib-substrate-relay
      
      * pass to build
      
      * remove unused file
      
      * clippy && tests
      
      * Changed follow suggestions
      
      * License
      
      * Make changes follow suggested
      
      * docs
      
      * fix fmt
      0791e911
  24. Jul 20, 2021
  25. Apr 06, 2021
  26. Mar 26, 2021
  27. Mar 23, 2021
  28. Mar 08, 2021