Skip to content
  1. Jan 31, 2023
  2. Jan 27, 2023
  3. Jan 18, 2023
    • Svyatoslav Nikolsky's avatar
      Relayer reward metric (#1742) · 68344e32
      Svyatoslav Nikolsky authored
      * use StorageDoubleMapKeyProvider in RelayerRewards
      
      * add metrics
      
      * clippy
      
      * fixed alerts that have caused missing dashboards
      
      * fix metric name
      
      * fix metric name again
      
      * add new metrics to the RialtoParachain <> Millau maintenance dashboard
      
      * remove obsolete dashboard
      68344e32
  4. Jan 11, 2023
  5. Jan 10, 2023
  6. Jan 09, 2023
    • Serban Iorga's avatar
      Deduplicate pallet call structs used for indirect runtime calls (#1744) · 6c826a6c
      Serban Iorga authored
      * Small changes
      
      * Define generic bridge pallets call structs
      
      * polkadot-core SignedExtension simplifications
      
      - we don't seem to need to pass the Call as a generic param
      - we can use codec(skip) instead of implementing Encode and Decode
      
      * Split BridgeHubRococo and BridgeHubWococo calls
      
      * code review fixes
      6c826a6c
  7. Dec 30, 2022
  8. Dec 29, 2022
  9. Dec 28, 2022
  10. 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
  11. Dec 19, 2022
  12. 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
  13. Dec 14, 2022
    • Serban Iorga's avatar
      Remove SOURCE_PARACHAIN_PARA_ID (#1716) · af9abbeb
      Serban Iorga authored
      * Remove SOURCE_PARACHAIN_PARA_ID
      
      Remove SubstrateParachainsPipeline::SOURCE_PARACHAIN_PARA_ID
      
      * Avoid duplicate ChainBase and ParachainBase implementations
      
      * Replace ChainShadow with UnderlyingChainProvider
      af9abbeb
  14. Dec 12, 2022
  15. Dec 02, 2022
  16. Dec 01, 2022
  17. Nov 25, 2022
  18. Nov 22, 2022
  19. Nov 18, 2022
    • Svyatoslav Nikolsky's avatar
      Remove message fee + message send calls (#1642) · 7b24cd3a
      Svyatoslav Nikolsky authored
      * remove message fee
      
      * it is compiling!
      
      * fixes + fmt
      
      * more cleanup
      
      * more cleanup
      
      * restore MessageDeliveryAndDispatchPayment since we'll need relayer rewards
      
      * started rational relayer removal
      
      * more removal
      
      * removed estimate fee subcommand
      
      * remove DispatchFeePayment
      
      * more removals
      
      * removed conversion rates && some metrics
      
      * - unneeded associated type
      
      * - OutboundMessageFee
      
      * fix benchmarks compilation
      
      * fmt
      
      * test + fix benchmarks
      
      * fix send message
      
      * clippy
      7b24cd3a
  20. Nov 14, 2022
    • Branislav Kontur's avatar
      Rococo/Wococo bridge hub relay integration (#1565) · 72b07d11
      Branislav Kontur authored
      
      
      * [BridgeHub] Added bridge-hub-rococo/wococo clients with bridge-hub-rococo-runtime
      
      * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo
      
      * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo
      
      * [BridgeHub] Fixed Call-encoding for init-bridge rococo runtime wrapper
      
      * Final index update to runtime calls
      
      * [BridgeHub] Add init-bridge stuff for bridge-hub-rococo/wococo (otherside)
      
      * Added runtime best_finalized functions + relay-headers init
      
      * Renaming and change BridgeHubRococo/Wococo to Rococo/Wococo config
      
      * [BridgeHub] Add relay-parachains (Rococo/Wococo)
      
      * Missing stuff for adding xcm messaging to BridgeHub
      
      * extracted parachain IDs to the primitives
      
      * fix compilation
      
      * Fixes
      
      * Init setup for Rococo->Wococo messaging support
      
      * Removed unused AccountId from `trait MessagesBridge`
      
      * Removed unused trait SenderOrigin
      
      * Small fixes
      
      * Cleaning after master-merge
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes:
      - align WeightToFee with BridgeHubRococo runtime
      - MAX_HEADER_SIZE
      - updated TODOs
      
      * Added relay_messages cfg for BridgeHubWococo -> BridgeHubRococo
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      72b07d11
  21. Nov 08, 2022
  22. Nov 02, 2022
  23. Oct 28, 2022
  24. Sep 30, 2022
  25. 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
  26. Sep 05, 2022
  27. Aug 30, 2022
  28. Aug 26, 2022
  29. 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
  30. Aug 12, 2022
    • Serban Iorga's avatar
      Follow-up on #1518 (#1546) · 9dbad39b
      Serban Iorga authored
      
      
      * Adjustments for the xcm messages sending logic
      
      Signed-off-by: default avatarSerban Iorga <[email protected]>
      
      * Deduplicate XCM destination
      
      Signed-off-by: default avatarSerban Iorga <[email protected]>
      
      * [send_message] small changes
      
      Signed-off-by: default avatarSerban Iorga <[email protected]>
      
      * Define CustomNetworkId
      
      Right now we use some associations between Rialto, RialtoParachain and
      Millau chains and chains defined in the NetworkId enum. But if we are
      not carreful we might do mistakes like:
      In Millau:
      pub const ThisNetwork: NetworkId = Kusama;
      pub const RialtoNetwork: NetworkId = Polkadot;
      In Rialto:
      pub const ThisNetwork: NetworkId = Kusama;
      pub const MillauNetwork: NetworkId = Polkadot;
      
      We're introducing CustomNetworkId to have a centralized mapping between
      NetworkId chains and our custom chains.
      
      Signed-off-by: default avatarSerban Iorga <[email protected]>
      
      * Revert "Deduplicate XCM destination"
      
      This reverts commit 3a0a950e
      
      .
      
      Signed-off-by: default avatarSerban Iorga <[email protected]>
      9dbad39b
  31. Aug 03, 2022
  32. Aug 02, 2022
  33. Jul 27, 2022
    • Svyatoslav Nikolsky's avatar
      Send messages using xcm pallet (#1518) · 9ad43b64
      Svyatoslav Nikolsky authored
      * send messages using xcm pallet
      
      * XcmBridge && XcmBridgeAdapter + (untested) config in RialtoParachain
      
      * impl encode_send_xcm for the rest
      
      * remove duplicate code
      
      * some fixes
      
      * cleanup
      
      * some more tests
      
      * cleanup
      
      * cleanup
      
      * send Rialto -> Millau messages using bridge-messages pallet
      
      * fmt
      
      * some clippy fixes
      
      * more clippy
      9ad43b64
  34. Jul 14, 2022
  35. Jul 13, 2022
  36. Jul 12, 2022