Skip to content
  1. Aug 17, 2023
  2. Aug 16, 2023
    • Serban Iorga's avatar
      Add equivocation detector crate and implement clients (#2348) (#2353) · 620db2b1
      Serban Iorga authored
      * Split FinalitySyncPipeline and SourceClient
      
      * Move some logic to finality_base
      
      * Add empty equivocation detection clients
      
      * Add equivocation reporting logic to the source client
      
      * Use convenience trait for SubstrateFinalitySyncPipeline
      
      * Define JustificationVerificationContext for GRANDPA
      
      * Equivocation source client: finality_verification_context()
      
      * Equivocation source client: synced_headers_finality_info()
      
      * reuse HeaderFinalityInfo
      
      * Define EquivocationsFinder
      
      * Fix spellcheck
      
      * Address review comments
      
      * Avoid equivocations lookup errors
      620db2b1
  3. 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
  4. Jul 07, 2023
  5. May 09, 2023
  6. Apr 24, 2023
  7. Mar 24, 2023
  8. Mar 07, 2023
  9. Mar 03, 2023
  10. Feb 22, 2023
  11. Jan 30, 2023
  12. Jan 11, 2023
  13. Dec 30, 2022
  14. 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
  15. 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
  16. Nov 02, 2022
  17. Oct 24, 2022
  18. 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
  19. 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
  20. Sep 05, 2022
  21. Aug 30, 2022
  22. Aug 26, 2022
  23. Aug 10, 2022
  24. Aug 02, 2022
  25. Aug 01, 2022
  26. Jul 27, 2022
  27. Jul 14, 2022
  28. Jul 13, 2022
  29. Jun 21, 2022
  30. May 27, 2022
    • Svyatoslav Nikolsky's avatar
      Add RialtoParachain <> Millau bridge to test deployments (#1412) · df5f8d2b
      Svyatoslav Nikolsky authored
      * add RialtoParachain <> Millau bridge to test deployments
      
      * flush (still not working, but possible fix in comments)
      
      * proper fix
      
      * fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header
      
      * dashboards
      
      * fmt
      
      * removing debugging code
      
      * more cleanup
      df5f8d2b
  31. May 25, 2022
  32. Apr 14, 2022
  33. Mar 15, 2022
    • Svyatoslav Nikolsky's avatar
      Update Substrate/Polkadot/Cumulus references (#1353) · ff5d539f
      Svyatoslav Nikolsky authored
      * cumulus: 4e952282914719fafd2df450993ccc2ce9395415
      polkadot: 975e780ae0d988dc033f400ba822d14b326ee5b9
      substrate: 89fcb3e4f62d221d4e161a437768e77d6265889e
      
      * fix refs
      
      * sync changes from https://github.com/paritytech/polkadot/pull/3828
      
      * sync changes from https://github.com/paritytech/polkadot/pull/4387
      
      * sync changes from https://github.com/paritytech/polkadot/pull/3940
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/4493
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/4958
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/3889
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/5033
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/5065
      
      * compilation fixes
      
      * fixed prometheus endpoint startup (it now requires to be spawned within tokio context)
      ff5d539f
  34. Feb 21, 2022
  35. Jan 21, 2022
  36. 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
  37. Dec 06, 2021
  38. Oct 08, 2021
  39. Sep 27, 2021
  40. Sep 24, 2021