Skip to content
  1. Mar 28, 2023
  2. Mar 24, 2023
  3. Mar 23, 2023
    • Svyatoslav Nikolsky's avatar
      Remove deprecated code from bridge-runtime-common (#1983) · 6540f74d
      Svyatoslav Nikolsky authored
      * removed FromBridgedChainMessageDispatch in favor of XcmBlobMessageDispatch
      
      * use HaulBlobExporter/HaulBlobExporterAdapter instead of XcmBridge/XcmBridgeAdapter
      
      * tests for sending/dispatching messages
      
      * use new schema in testnet bridges + some cleanup
      
      * clippy
      
      * spelling + added TODO
      
      * cleanup some checks
      
      * benchmarks compilation
      
      * all is XCM
      
      * updated README.md
      
      * ref issue from TODO
      6540f74d
  4. Mar 22, 2023
  5. Mar 16, 2023
  6. Mar 13, 2023
  7. Mar 09, 2023
    • Serban Iorga's avatar
      Some error improvements (#1956) · ef1b1bcd
      Serban Iorga authored
      * Use `HeaderChainError` in parachains module
      
      * Use MessageProofError instead of 'static str in some places
      
      * Avoid implementing Into<'static str> for some errors
      
      We avoid deriving `Debug` for the structs that we use in the runtime and
      we derive `RuntimeDebug` instead in order to avoid bloating th eruntime
      with static strs. But implementing `Into<'static str>` does the same. So
      in some places it makes sense to replace `Into<'static str>` with `Debug`.
      
      * Move the messages error definition
      
      Move the messages error definition outside of `mod target`
      ef1b1bcd
  8. Mar 02, 2023
  9. Mar 01, 2023
    • Svyatoslav Nikolsky's avatar
      Fix benchmarks (#1919) · d464e78d
      Svyatoslav Nikolsky authored
      * fixed benchmarks broken by rejecting storage proofs with excessive trie nodes and justifications with extra prevotes
      
      * update weights
      
      * fmt
      
      * accidental paste
      
      * revert changes to millau runtime (separate PR)
      
      * revert comment change
      d464e78d
  10. Feb 28, 2023
  11. Feb 22, 2023
    • Svyatoslav Nikolsky's avatar
      Weight+size limits for bridge GRANDPA pallet calls (#1882) · 9b7285ed
      Svyatoslav Nikolsky authored
      
      
      * weight+size limits for bridge GRANDPA pallet calls
      
      * continue
      
      * fixed all tests
      
      * some changes to refund computations
      
      * post_dispatch_refunds_relayer_in_all_finality_batch_with_extra_weight
      
      * - dup code
      
      * do not return Pays::No if call is above weight/size limits
      
      * relayer_pays_tx_fee_when_submitting_huge_mandatory_header and relayer_pays_tx_fee_when_submitting_justification_with_long_ancestry_votes
      
      * clippy
      
      * fmt
      
      * clippy
      
      * small change in docs
      
      * fixed GRANDPA-limits constants for Polkadot-like chains
      
      * clippy
      
      * clippy + spelling
      
      * Update primitives/polkadot-core/src/lib.rs
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      
      * Update bin/runtime-common/src/refund_relayer_extension.rs
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      
      * reverted unnecessary change
      
      * GrandpaJustification::max_reasonable_size
      
      ---------
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      9b7285ed
  12. Feb 20, 2023
    • Serban Iorga's avatar
      RefundRelayerForMessagesFromParachain improvements (#1895) · 78e3357c
      Serban Iorga authored
      * RefundRelayerForMessagesFromParachain changes
      
      - some renamings and cosmetics
      - removing the GI generic param since we can get it from the parachains
        config
      - merging (Parachains Instance, Parachain Id) and (Messages Instance,
        Messages lane Id) generic params
      - removing unnecessay derives
      - renaming for the `TransactionFeeCalculation` and defining
        `ActualFeeRefund` concrete implementation
      - adding support for multiple RefundRelayerForMessagesFromParachain
        (by adding a `StaticStrProvider` generic param)
      
      * Revert to using RuntimeDebug
      78e3357c
  13. Feb 16, 2023
  14. Feb 15, 2023
    • Svyatoslav Nikolsky's avatar
      Reject storage proofs with unused nodes: begin (#1878) · 0bd77f45
      Svyatoslav Nikolsky authored
      * reject storage proofs with unused nodes: begin
      
      * fix ignores_parachain_head_if_it_is_missing_from_storage_proof
      
      * message_proof_is_rejected_if_it_has_duplicate_trie_nodes && message_proof_is_rejected_if_it_has_unused_trie_nodes
      
      * proof_with_duplicate_items_is_rejected and proof_with_unused_items_is_rejected
      
      * clippy
      
      * fix benchmarks compilation
      
      * impl From<Error> for &'static str
      
      * fix review comments
      
      * added comment
      0bd77f45
  15. Feb 14, 2023
  16. Jan 25, 2023
  17. Jan 20, 2023
    • Svyatoslav Nikolsky's avatar
      No wildcard patterns in Cargo.toml (#1789) · 4c791472
      Svyatoslav Nikolsky authored
      * dependabot doesn't support wildcard patterns in cargo.toml and we want dependabot
      
      * spelling for "fresh" crates
      
      * and fmt
      
      * spelling again
      4c791472
    • Svyatoslav Nikolsky's avatar
      Remove chain-specific dependencies from crates that will be used in Cumulus (#1783) · 33632313
      Svyatoslav Nikolsky authored
      * leave-modules.sh
      
      * remove bp-rialto dependency from bp-relayers
      
      * update leave-modules.sh
      
      * fix Cargo.toml of pallet-bridge-relayers
      
      * update leave-modules.sh
      
      * remove bp-rialto and millau-runtime frombridge-runtime-common Cargo.toml
      
      * update leave-modules.sh
      
      * remove chain dependencies from bridge-runtime-common crate
      
      * fix tests
      
      * cleanup script
      
      * rename script
      
      * kind of success message
      
      * remove leave-modules.sh
      
      * use TargetHeaderChainAdapter and SourceHeaderChainAdapter in our testnets
      
      * update script
      33632313
  18. Jan 18, 2023
  19. 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
  20. Jan 12, 2023
  21. 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
  22. Dec 30, 2022
  23. Dec 19, 2022
  24. Dec 15, 2022
  25. 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
  26. Dec 12, 2022
  27. Dec 09, 2022
  28. Dec 05, 2022
  29. Dec 02, 2022
  30. Nov 30, 2022
  31. Nov 22, 2022
  32. Nov 21, 2022