Skip to content
  1. Jan 11, 2023
  2. Jan 10, 2023
  3. 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
  4. Dec 30, 2022
  5. 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
  6. 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
  7. 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
  8. Dec 12, 2022
  9. Nov 28, 2022
  10. Nov 23, 2022
  11. 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
  12. Nov 08, 2022
    • Branislav Kontur's avatar
      Bump xcm v3 + substrate · f0cd411b
      Branislav Kontur authored
      * Bumping substrate/polkadot/cumulus
      
      * Update Cargo.lock
      
      * Fixes
      
      * Fixes for mmr
      
      * Bump clap
      
      * Fix for millau - added CompatibilityMode
      
      * Fixes for rialto-parachain
      
      * Align everywhere branch='master' and just use overrides from main Cargo.toml
      f0cd411b
  13. Nov 02, 2022
  14. Oct 28, 2022
  15. Oct 24, 2022
  16. Oct 20, 2022
    • Svyatoslav Nikolsky's avatar
      Bump Substrate/Polkadot/Cumulus refs (aka Weights v1.5) (#1597) · 789f185c
      Svyatoslav Nikolsky authored
      * update Substrate + Polkadot + Cumulus refs
      
      * Origin -> RuntimeOrigin
      
      * weights v1.5
      
      * update refs once again + `cargo test -p pallet-bridge-grandpa` works
      
      * started work on `cargo test -p pallet-bridge-messages`
      
      * cargo test -p pallet-bridge-relayers
      
      * cargo test -p pallet-bridge-parachains
      
      * cargo test -p millau-runtime
      
      * cargo test -p bridge-runtime-common
      
      * cargo test -p rialto-runtime
      
      * cargo test -p rialto-parachain-runtime
      
      * cargo test -p millau-bridge-node
      
      * cargo test -p rialto-bridge-node
      
      * cargo test -p rialto-parachain-collator
      
      * cargo test -p messages-relay
      
      * cargo test -p parachains-relay
      
      * cargo test -p substrate-relay
      
      * cargo test --all
      
      * cargo check -p millau-runtime --locked --features runtime-benchmarks
      
      * fix remaining test
      
      * fmt
      
      * try to allow clippy failure temporarily
      
      * Revert "try to allow clippy failure temporarily"
      
      This reverts commit d1b65935.
      
      * use min_by
      
      * Revert "use min_by"
      
      This reverts commit 33042f49.
      
      * Revert "Revert "use min_by""
      
      This reverts commit 1d2204f0.
      
      * trigger CI
      
      * Revert "trigger CI"
      
      This reverts commit 259d91b5.
      
      * new day, new clippy warning
      
      * more clippy issues
      789f185c
  17. 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
  18. Sep 30, 2022
  19. Sep 23, 2022
  20. Sep 20, 2022
  21. 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
  22. Sep 09, 2022
    • Svyatoslav Nikolsky's avatar
      update Substrate/Polkadot/Cumulus refs (#1562) · 97cf6dfb
      Svyatoslav Nikolsky authored
      * update Substrate/Polkadot/Cumulus refs
      
      * finality-grandpa 0.16
      
      * fix miillau-runtime compilation
      
      * fix rialto runtime compilation
      
      * fixed rialto-parachain runtime compilation
      
      * backport GRANDPA test fixes
      
      * helper instead of removed record_all_keys
      
      * substrate-relay is compiling
      
      * millau-bridge-node at least compiles
      
      * rialto-bridge-node at least compiles
      
      * rialto-parachain-collator compiles
      
      * fixings tests (wip)
      
      * fmt
      
      * fixed BEEFY alert
      
      * clippy
      
      * removed unused dep
      
      * -extra var
      
      * move Leaf to mod mmr
      
      * fix benchmarks
      97cf6dfb
  23. Sep 05, 2022
  24. Aug 30, 2022
  25. Aug 26, 2022
  26. Aug 10, 2022
  27. Aug 02, 2022
  28. Aug 01, 2022
  29. Jul 27, 2022
  30. Jul 14, 2022
  31. Jul 13, 2022
  32. Jul 04, 2022
  33. Jun 21, 2022
  34. Jun 01, 2022
  35. May 30, 2022
  36. May 27, 2022
    • Svyatoslav Nikolsky's avatar
      Add RialtoParachain <> Millau bridge to test deployments (#1412) · df5f8d2b
      Svyatoslav Nikolsky authored
      * add RialtoParachain <> Millau bridge to test deployments
      
      * flush (still not working, but possible fix in comments)
      
      * proper fix
      
      * fixed on-demand parachains relay case: if better relay header is delivered, then we must select para header that may be proved using this relay header
      
      * dashboards
      
      * fmt
      
      * removing debugging code
      
      * more cleanup
      df5f8d2b
  37. May 25, 2022