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. Dec 12, 2022
  4. Oct 28, 2022
  5. Oct 20, 2022
  6. Oct 18, 2022
  7. 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
  8. 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
  9. Aug 30, 2022
  10. May 25, 2022
  11. Feb 24, 2022
  12. Nov 22, 2021
    • Svyatoslav Nikolsky's avatar
      Unify metric names (#1209) · 6b5cf2b5
      Svyatoslav Nikolsky authored
      * unify metric names
      
      * refactor standalone metrics
      
      * headers sync metrics
      
      * post-merge fix
      
      * fix compilation
      
      * fmt
      
      * fix dashboards
      
      * fix local dashboards
      
      * update Rococo/Wococo runtime version
      
      * remove commented code
      
      * fixed grumbles
      
      * fmt
      
      * fixed widget names
      6b5cf2b5
  13. 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
  14. Nov 04, 2021
  15. Oct 22, 2021
  16. Oct 16, 2021
  17. Sep 24, 2021
  18. Sep 07, 2021
  19. Jul 21, 2021
  20. Jun 29, 2021
  21. Jun 16, 2021
  22. Jun 02, 2021
    • Denis_P's avatar
      Move CI from GitHub Actions to GitLab (#814) · e74e8ab7
      Denis_P authored
      * CI: do not trust this CI 1
      
      * CI: don't want to trigger unneded statuses
      
      * CI: debug 1
      
      * CI: new CI
      
      * CI: temp allow failure
      
      * CI: exclude paths
      
      * doc: check if docs won't trigger pipelines
      
      * doc: check hybrid changes pipeline
      
      * doc: do not push excluded files together with others
      
      * CI: undebug fmt
      
      * CI: better deny
      
      * CI: fix deny and spellcheck
      
      * CI: global backtrace
      
      * CI: deny config
      
      * CI: publishing
      
      * Dockerfile: metadata fix [skip ci]
      
      * CI: revert me
      
      * CI: debug bash
      
      * CI: mv ci.Dockerfile; fix buildah bug
      
      * CI: fix artifact name
      
      * Dockerfile: fix context
      
      * CI: separate deny check licenses
      
      * CI: when to run
      
      * CI: unneded stuff in these Dockerfiles
      
      * CI: merged test-refs and build-refs
      
      * CI: test-build optimizations
      
      * CI: changes, web, scheduled pipelines now work as intended
      
      * CI: use tested production CI image
      
      * CI: substitute GHA
      
      * Fix clippy.
      
      * Moar clippy fixes.
      ...
      e74e8ab7
  23. May 26, 2021
  24. Apr 26, 2021
  25. Apr 22, 2021
  26. Apr 14, 2021
  27. Apr 06, 2021
  28. Apr 01, 2021
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · ca98d090
      Hernando Castano authored
      * Stop passing raw encoded justifications to pallet API
      
      By having the API accept a struct-ified justification we are able to
      better utilize the justifications fields for weight calculations.
      
      * Update relayer code to use decoded justifications
      
      * Add justification to `expect()` statement
      
      * Fix some imports
      
      * Make justification wrapper contain decoded justification
      
      * Rename some fields
      
      * Get rid of warnings
      
      * Appease Clippy
      
      * Only decode justification once at init time
      
      * Remove unnecessary method
      
      * Remove justification wrapper
      
      This became kinda unnecessary since we could implement the FinalityProof
      trait on GrandpaJustification directly.
      ca98d090
  29. Mar 24, 2021
  30. Mar 23, 2021