1. Jan 17, 2023
  2. Jan 16, 2023
  3. Jan 13, 2023
    • Branislav Kontur's avatar
      Bump xcm-v3 + substrate (#1767) · 6fc931d0
      Branislav Kontur authored
      
      
      * Bump xcm-v3 + substrate
      
      * More fixes
      
      * Added `#[pallet::call_index`
      
      * Fixes for MMR (TODO:plese check)
      
      * More call indexes
      
      * Cumulus bump
      
      * Fixes for mmr
      
      * Fixes for weights
      
      * Fixes for xcm
      
      * MMR fixes + cargo fmt
      
      * Fix some rpc errors (bump jsonrpsee version)
      
      * Fix cumulus stuff
      
      * Fixes cumulus
      
      * clippy
      
      * more clipy
      
      * Fix test + unused deps
      
      * PR fixes
      
      * cargo update (bump xcm-v3)
      
      Co-authored-by: default avatarSerban Iorga <[email protected]>
      6fc931d0
  4. Jan 12, 2023
  5. Jan 11, 2023
  6. Jan 10, 2023
  7. Jan 09, 2023
  8. Jan 04, 2023
  9. Dec 30, 2022
  10. Dec 29, 2022
  11. Dec 28, 2022
  12. 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
  13. Dec 22, 2022
  14. Dec 21, 2022
  15. Dec 19, 2022
  16. Dec 16, 2022
    • Svyatoslav Nikolsky's avatar
    • 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
    • Svyatoslav Nikolsky's avatar
      c209bb9a
  17. Dec 15, 2022
  18. Dec 14, 2022