Skip to content
  1. Jan 11, 2023
  2. Jan 10, 2023
  3. 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
  4. 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
  5. Oct 03, 2022
  6. Aug 19, 2022
  7. Aug 18, 2022
    • Branislav Kontur's avatar
      Bko cosmetics (#1550) · 260bc3cf
      Branislav Kontur authored
      * Bump log version to 0.4.17
      
      * Removed unnecesseray dependency + rename BridgeGrandpaMillauCall to BridgeGrandpaCall
      260bc3cf
  8. Aug 01, 2022
  9. May 20, 2022
  10. Apr 28, 2022
  11. 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
  12. Mar 09, 2022
  13. Jan 21, 2022
  14. 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
  15. 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
  16. Oct 22, 2021
  17. Sep 27, 2021
  18. Sep 22, 2021
    • Svyatoslav Nikolsky's avatar
      Add rialto-parachain runtime and node (#1142) · 951eaa55
      Svyatoslav Nikolsky authored
      * Substrate: 63b32fbaa2764c0a8ee76b70cdfa0fcb59b7181f
      Polkadot:  7229ab87acf5bc5d4d10655ad1a9819a1e317442
      Cumulus:   d5284b0e78be3a18a3371103dd00449aceb082df
      
      * rialto parachain runtime
      
      * fixed tests
      
      * add node + bump refs (not compiling yet):
      Substrate:           630422d6108cbaaca893ab213dde69f3bdaa1f6b
      Polkadot:            7229ab87acf5bc5d4d10655ad1a9819a1e317442
      Cumulus:             5af2990cfd3711f86c7cb8606b22364208a5c32d
      GrandpaBridgeGadget: c152c45ac331eb8ab40d956ab1d008d181810ef4
      
      * fix compilation (collator is not working)
      
      * more fixes
      
      * fmt
      
      * spellcheck
      
      * fix warnings
      
      * fix compilation
      
      * fmt
      
      * trigger CI
      
      * trigger CI
      
      * Revert "trigger CI"
      
      This reverts commit a31f53ce.
      
      * benchmarks
      
      * fix benchmarks
      
      * fix again
      
      * Revert "Revert "trigger CI""
      
      This reverts commit 1dea8b42.
      
      * Revert "Revert "Revert "trigger CI"""
      
      This reverts commit 8fb74fa5.
      
      * try fix
      
      * lost lock file
      
      * spellcheck
      
      * try to disable sccache for cargo check
      
      * Revert "Revert "Revert "Revert "trigger CI""""
      
      This reverts commit f1574614.
      
      * try to disable again
      
      * disable sccache for test
      951eaa55
  19. Sep 21, 2021
  20. Sep 01, 2021
  21. Jul 20, 2021
  22. Jul 19, 2021
  23. Jul 12, 2021
  24. Jun 28, 2021
  25. May 26, 2021
  26. Apr 27, 2021
  27. Apr 20, 2021
  28. Apr 14, 2021
  29. Apr 12, 2021
  30. Apr 07, 2021
    • Hernando Castano's avatar
      Bump Substrate (#871) · 08c7ea42
      Hernando Castano authored
      * Bump Substrate
      
      * Change usage of "Module" to "Pallet"
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8372
      
      * Add `OnSetCode` config param
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8496
      
      * Update Aura Slot duration time type
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8386
      
      * Add `OnSetCode` to mock runtimes
      
      * Add support for multiple justifications
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/7640
      
      * Use updated justification type in more places
      
      * Make GenesisConfig type non-optional
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8275
      
      * Update service to use updated telemetry
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8143
      
      * Appease Clippy
      08c7ea42
  31. Mar 23, 2021
  32. Mar 22, 2021
  33. Mar 16, 2021
  34. Mar 12, 2021
  35. Mar 09, 2021
  36. Mar 08, 2021
  37. Mar 04, 2021
    • Svyatoslav Nikolsky's avatar
      Migrate to jsonrpsee v2 (#787) · 727848da
      Svyatoslav Nikolsky authored
      
      
      * POC jsonrpsee v2
      
      * POC update ws client
      
      * connect to eth nodes using ws
      
      * fix for subscriptions
      
      * reverted unncecessary changes
      
      * reference jsonrpsee from crates.io
      
      * fixed eth port in deployments
      
      * fmt
      
      * order deps
      
      * remove unnecessary comment
      
      * clone is no longer required for subscriptions
      
      * treat RpcError::Internal as connection error
      
      * resubscribe on terminate
      
      * Update deployments/bridges/poa-rialto/entrypoints/poa-exchange-tx-generator-entrypoint.sh
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarHernando Castano <[email protected]>
      727848da
  38. Feb 16, 2021
  39. Feb 02, 2021