Skip to content
  1. Apr 26, 2023
  2. Apr 25, 2023
  3. Apr 21, 2023
  4. Apr 17, 2023
  5. Apr 13, 2023
  6. Apr 10, 2023
    • Svyatoslav Nikolsky's avatar
      Boost message delivery transaction priority (#2023) · 77f1641d
      Svyatoslav Nikolsky authored
      * reject delivery transactions with at least one obsolete message
      
      * clippy
      
      * boost priority of message delivery transactions: transaction with more messages has larger priority than the transaction with less messages
      
      * apply review suggestion
      
      * CallInfo::bundled_messages
      
      * validate_does_not_boost_priority_of_message_delivery_transactons_with_too_many_messages
      
      * clippy
      77f1641d
    • Svyatoslav Nikolsky's avatar
      Reject delivery transactions with at least one obsolete message (#2021) · c23c4e44
      Svyatoslav Nikolsky authored
      * reject delivery transactions with at least one obsolete message
      
      * clippy
      
      * allow empty delivery transactions with rewards confirmations BUT only when there's no room left in the unrewarded relayers vector
      
      * clippy
      
      * allow empty delivery transactions if no message slots in unrewarded relayers vector
      c23c4e44
    • Serban Iorga's avatar
      Reintroduce msg dispatch status reporting (#2027) · 68ba699b
      Serban Iorga authored
      * Use an actual Result inside MessageDispatchResult
      
      We need this in order to distinguish between Ok and Err
      
      * Revert #1660
      
      * Fixes + simplifications
      
      * Implement review suggestions
      68ba699b
  7. Apr 07, 2023
  8. Apr 04, 2023
  9. Mar 28, 2023
  10. Mar 24, 2023
  11. 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
  12. Mar 22, 2023
  13. Mar 16, 2023
  14. Mar 13, 2023
  15. 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
  16. Mar 02, 2023
  17. 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
  18. Feb 28, 2023
  19. 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
  20. 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
  21. Feb 16, 2023
  22. 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
  23. Feb 14, 2023
  24. Jan 25, 2023
  25. 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
  26. Jan 18, 2023
  27. 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
  28. Jan 12, 2023
  29. 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