Skip to content
  1. Sep 12, 2023
  2. Aug 31, 2023
    • Serban Iorga's avatar
      Start the equivocation detection loop from the complex relayer (#2507) (#2512) · 5fdbaf45
      Serban Iorga authored
      * Impl SubstrateEquivocationDetectionPipeline for Millau
      
      * Impl SubstrateEquivocationDetectionPipeline for Rialto
      
      * Make BridgeHubSignedExtension more generic
      
      * Define generate_report_equivocation_call_builder!() macro
      
      * Impl SubstrateEquivocationDetectionPipeline for Rococo
      
      * Impl SubstrateEquivocationDetectionPipeline for Wococo
      
      * Impl SubstrateEquivocationDetectionPipeline for Kusama
      
      * Impl SubstrateEquivocationDetectionPipeline for Polkadot
      
      * Complex relayer simplification
      
      - remove `signer` and `transactions_mortality` and add `tx_params`
      - change the order of some fields
      
      * Add equivocation detection CLI traits
      
      * Complex relayer: start equivocation detectin loop
      
      * Update runtimes regeneration script
      
      * Equivocation loop: Fix infinite loop
      
      * Revert "Complex relayer: start equivocation detectin loop"
      
      This reverts commit b518ef85.
      
      * Add subcommand for starting the equivocation detection loop
      
      * Fixes
      
      * Initialize empty metrics for the equivocations detector loop
      5fdbaf45
  3. 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
  4. 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