Skip to content
  1. Jul 19, 2023
    • Svyatoslav Nikolsky's avatar
      Update dependecies (#2277) (#2281) · 3c4ada92
      Svyatoslav Nikolsky authored
      * cargo update -p parachain-info
      
      * flush
      
      * it compiles
      
      * clippy
      
      * temporary add more logging to cargo deny
      
      * Revert "temporary add more logging to cargo deny"
      
      This reverts commit 20daa88b.
      
      * list installed Rust binaries before running cargo deny
      
      * changed prev commit
      
      * once again
      
      * try cargo update?
      
      * post-update fixes (nothing important)
      3c4ada92
  2. Feb 20, 2023
  3. Jan 30, 2023
  4. Jan 11, 2023
  5. Jan 10, 2023
  6. 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
  7. 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
  8. Dec 14, 2022
    • Serban Iorga's avatar
      Remove SOURCE_PARACHAIN_PARA_ID (#1716) · af9abbeb
      Serban Iorga authored
      * Remove SOURCE_PARACHAIN_PARA_ID
      
      Remove SubstrateParachainsPipeline::SOURCE_PARACHAIN_PARA_ID
      
      * Avoid duplicate ChainBase and ParachainBase implementations
      
      * Replace ChainShadow with UnderlyingChainProvider
      af9abbeb
  9. Dec 12, 2022
  10. Nov 02, 2022
  11. Oct 24, 2022
  12. Sep 23, 2022
  13. 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
  14. May 25, 2022
  15. May 20, 2022
  16. Dec 23, 2021
  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. Nov 16, 2021
    • Adrian Catangiu's avatar
      Remove unused `relays/headers` (#1216) · 39140d0b
      Adrian Catangiu authored
      
      
      * Decouple `relays/client-substrate` from `headers_relay`
      * Remove `blocks_in_state` from `SyncLoopMetrics`
          This metric was only relevant for PoA <> Substrate bridge.
      * Move `sync_loop_metrics.rs` to `relays/finality`
      * Remove unused `SyncLoopMetrics::update()`
      * Hook up SyncLoopMetrics to finality_loop
      * Delete now unused `relays/headers`
      
      Signed-off-by: default avataracatangiu <[email protected]>
      39140d0b
  21. Oct 25, 2021
  22. Sep 24, 2021
  23. Sep 21, 2021
  24. Sep 09, 2021
  25. Sep 06, 2021
  26. Sep 02, 2021
  27. Jun 22, 2021
  28. Apr 06, 2021
  29. Mar 23, 2021
  30. Mar 16, 2021
    • Svyatoslav Nikolsky's avatar
      Sync Westend to Millau (#824) · 314f9f7d
      Svyatoslav Nikolsky authored
      * make finality verifier pallet instantiable
      
      * add second instance of finality verifier pallet to the Millau runtime
      
      * add Westend -> Millau headers relay
      
      * use wss to connect to public westend nodes
      
      * initialize with best_finalized_block
      
      * typo
      
      * Revert "initialize with best_finalized_block"
      
      This reverts commit 954ed283.
      
      * pass VoterSet by ref
      
      * new bridge initialization code
      
      * loop upper bound
      
      * Polkadot -> Westend
      
      * fixed tests compilation
      
      * default-features
      
      * assert
      314f9f7d
  31. Mar 12, 2021
  32. Mar 08, 2021
  33. Nov 25, 2020
  34. 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