Skip to content
  1. Aug 23, 2023
    • Serban Iorga's avatar
      Backport: Implement basic equivocations detection loop (#2375) · 7fbb67de
      Serban Iorga authored
      * Implement basic equivocations detection loop (#2367)
      
      * FinalityProofsBuf adjustments
      
      - store a Vec<FinalityProof>
      - transform prune `buf_limit` to Option
      
      * FinalityProof: add target_header_hash()
      
      * Target client: implement best_synced_header_hash()
      
      * Implement first version of the equivocations detection loop
      
      * Address code review comments
      
      * Leftover
      
      * polkadot-staging adjustments
      7fbb67de
  2. Aug 16, 2023
    • Serban Iorga's avatar
      Finality loop refactoring (#2357) · b1c51f7d
      Serban Iorga authored
      b1c51f7d
    • 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. Aug 11, 2023
  4. Jul 27, 2023
  5. 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
  6. Jul 13, 2023
  7. Jul 07, 2023
  8. May 09, 2023
  9. Mar 14, 2023
    • Branislav Kontur's avatar
      Bump substrate/polkadot/cumulus (#1962) · 897b1c0b
      Branislav Kontur authored
      * Bump substrate/polkadot/cumulus
      
      * sp_finality_grandpa - >sp_consensus_grandpa
      
      * sp_beefy -> sp_consensus_beefy
      
      * pallet_randomness_collective_flip -> pallet_insecure_randomness_collective_flip
      
      * fix
      
      * Cumulus parachain stuff
      
      * Cumulus parachain stuff one more
      
      * Millau/Rialto runtimes
      
      * Removed pallet_insecure_randomness_collective_flip
      
      * Millau node
      
      * Removed session historial
      
      * TMP: just try disable all fetches
      
      * Docs in gitlab.yml
      897b1c0b
  10. Feb 23, 2023
  11. Feb 20, 2023
  12. Jan 31, 2023
  13. Jan 27, 2023
  14. Jan 11, 2023
  15. Jan 04, 2023
  16. Dec 30, 2022
  17. 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
  18. 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
  19. Dec 01, 2022
  20. Nov 02, 2022
  21. Oct 28, 2022
  22. Oct 24, 2022
  23. 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
  24. 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
  25. Aug 30, 2022
  26. Aug 02, 2022
  27. Jul 29, 2022
  28. Jun 28, 2022
  29. Jun 24, 2022
  30. Jun 21, 2022
  31. May 30, 2022
  32. Apr 14, 2022