Skip to content
  1. Nov 14, 2023
  2. Oct 31, 2023
    • Branislav Kontur's avatar
      Add Rococo<>Westend bridge support/relay (#2647) · 062449d8
      Branislav Kontur authored
      * Added Rococo<>Westend primitives
      
      * Latest fashion
      
      * WIP
      
      * Temporary hack for AssetHubWestend to Millau
      
      * typo
      
      * tool/runtime-codegen tweaks
      
      * Rococo<>Westend relay part
      
      * zepter
      
      * Unify `Parachain` vs `Parachains`
      062449d8
  3. Oct 19, 2023
  4. Sep 19, 2023
    • Svyatoslav Nikolsky's avatar
      Merge bulletin chain changes into polkadot staging (#2574) · 801ce88a
      Svyatoslav Nikolsky authored
      * polkadot-staging for v1.0.0
      
      * Add polkadot bulletin chain primitives (#2542)
      
      * add polkadot bulletin chain primitives
      
      * also impl ChainWithMessages
      
      * clippy
      
      * instead of requiring sp_std::vec::Vec import when using runtime API generation macro, let's use full type path directly in macro (#2551)
      
      * Polkadot Bulletin Chain client (#2552)
      
      * relay-polkadot-bulletin-client
      
      * generate Polkadot Bulletin Chain Runtime
      
      * Add relays that will be used in Polkadot Bulletin <> Polkadot.BH bridge (#2556)
      
      * added Polkadot.BH <> Polkadot Bulletin chain relays
      
      * uncommented ED stuff
      
      * complex PolkadotBulletin <> Polkadot.BH relay
      
      * removed TODO
      
      * spelling
      
      * prepare refund extension infra to add refund extension for messages from standalone chain (#2558)
      
      * prepare refund extension infra to add refund extension for messages from standalone chain
      
      * spelling
      
      * apply adapter to fix compilation
      
      * clippy
      
      * added POLKADOT_BULLETIN_CHAIN_ID constant
      
      * RefundBridgedGrandpaMessages to refund transaction costs for messages coming to/from bridged standalone/relay chain (#2566)
      
      * RefundBridgedGrandpaMessages to refund transaction costs for messages coming to/from bridged standalone/relay chain
      
      * clippy
      
      * fix compilation
      
      * fix codec dependency (#2567)
      
      * Support message relay limits override (#2570)
      
      * support message relay limits overrides for bridges
      
      * spelling
      
      * export EXTRA_STORAGE_PROOF_SIZE for Polkadot Bulletin (#2572)
      801ce88a
  5. Sep 04, 2023
    • Serban Iorga's avatar
      `polkadot-staging` branch: Use polkadot-sdk dependencies (#2524) · 733ff0fe
      Serban Iorga authored
      * Use polkadot-sdk dependencies
      
      * Fix ring-proof ref
      
      * Fix Beefy
      
      * Fix imports
      
      * Simple runtimes fixes
      
      * Fix substrate-relay
      
      * Add ParaAssignmentProvider for Rialto
      
      * Rialto chain_spec fix
      
      * Fix Rialto build
      
      * Fix Rialto pvf workers
      
      * Allow rialto-parachain deprecated features warnings
      733ff0fe
  6. Aug 31, 2023
    • Serban Iorga's avatar
      Start the equivocation detection loop from the complex relayer (#2507) (#2512) · 5fdbaf45
      Serban Iorga authored
      * Impl SubstrateEquivocationDetectionPipeline for Millau
      
      * Impl SubstrateEquivocationDetectionPipeline for Rialto
      
      * Make BridgeHubSignedExtension more generic
      
      * Define generate_report_equivocation_call_builder!() macro
      
      * Impl SubstrateEquivocationDetectionPipeline for Rococo
      
      * Impl SubstrateEquivocationDetectionPipeline for Wococo
      
      * Impl SubstrateEquivocationDetectionPipeline for Kusama
      
      * Impl SubstrateEquivocationDetectionPipeline for Polkadot
      
      * Complex relayer simplification
      
      - remove `signer` and `transactions_mortality` and add `tx_params`
      - change the order of some fields
      
      * Add equivocation detection CLI traits
      
      * Complex relayer: start equivocation detectin loop
      
      * Update runtimes regeneration script
      
      * Equivocation loop: Fix infinite loop
      
      * Revert "Complex relayer: start equivocation detectin loop"
      
      This reverts commit b518ef85.
      
      * Add subcommand for starting the equivocation detection loop
      
      * Fixes
      
      * Initialize empty metrics for the equivocations detector loop
      5fdbaf45
  7. Aug 23, 2023
    • Svyatoslav Nikolsky's avatar
      Manually update deps in polkadot staging (#2371) · cb7efe24
      Svyatoslav Nikolsky authored
      
      
      * Bump clap from 4.3.19 to 4.3.21
      
      Bumps [clap](https://github.com/clap-rs/clap) from 4.3.19 to 4.3.21.
      - [Release notes](https://github.com/clap-rs/clap/releases)
      - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21)
      
      ---
      updated-dependencies:
      - dependency-name: clap
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tokio from 1.29.1 to 1.31.0
      
      Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.31.0.
      - [Release notes](https://github.com/tokio-rs/tokio/releases)
      - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0)
      
      ---
      updated-dependencies:
      - dependency-name: tokio
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump sysinfo from 0.29.7 to 0.29.8
      
      Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.29.7 to 0.29.8.
      - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)
      
      ---
      updated-dependencies:
      - dependency-name: sysinfo
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump async-trait from 0.1.72 to 0.1.73
      
      Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.72 to 0.1.73.
      - [Release notes](https://github.com/dtolnay/async-trait/releases)
      - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73)
      
      ---
      updated-dependencies:
      - dependency-name: async-trait
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump log from 0.4.19 to 0.4.20
      
      Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20.
      - [Release notes](https://github.com/rust-lang/log/releases)
      - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20)
      
      ---
      updated-dependencies:
      - dependency-name: log
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump anyhow from 1.0.72 to 1.0.75
      
      Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.75.
      - [Release notes](https://github.com/dtolnay/anyhow/releases)
      - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75)
      
      ---
      updated-dependencies:
      - dependency-name: anyhow
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tempfile from 3.7.1 to 3.8.0
      
      Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.1 to 3.8.0.
      - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0)
      
      ---
      updated-dependencies:
      - dependency-name: tempfile
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump clap from 4.3.21 to 4.3.23
      
      Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.23.
      - [Release notes](https://github.com/clap-rs/clap/releases)
      - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.23)
      
      ---
      updated-dependencies:
      - dependency-name: clap
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump tokio from 1.31.0 to 1.32.0
      
      Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.31.0 to 1.32.0.
      - [Release notes](https://github.com/tokio-rs/tokio/releases)
      - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0)
      
      ---
      updated-dependencies:
      - dependency-name: tokio
        dependency-type: direct:production
        update-type: version-update:semver-minor
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump serde_json from 1.0.104 to 1.0.105
      
      Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105.
      - [Release notes](https://github.com/serde-rs/json/releases)
      - [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105)
      
      ---
      updated-dependencies:
      - dependency-name: serde_json
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump thiserror from 1.0.44 to 1.0.47
      
      Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.47.
      - [Release notes](https://github.com/dtolnay/thiserror/releases)
      - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.47)
      
      ---
      updated-dependencies:
      - dependency-name: thiserror
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump rustls-webpki from 0.101.1 to 0.101.4
      
      Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.101.1 to 0.101.4.
      - [Release notes](https://github.com/rustls/webpki/releases)
      - [Commits](https://github.com/rustls/webpki/compare/v/0.101.1...v/0.101.4)
      
      ---
      updated-dependencies:
      - dependency-name: rustls-webpki
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * Bump rustls-webpki from 0.100.1 to 0.100.2 in /tools/runtime-codegen
      
      Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.1 to 0.100.2.
      - [Release notes](https://github.com/rustls/webpki/releases)
      - [Commits](https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2)
      
      ---
      updated-dependencies:
      - dependency-name: rustls-webpki
        dependency-type: indirect
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      * fix clippy (#2335)
      
      * fix clippy
      
      * fix clippy issues
      
      ---------
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      cb7efe24
  8. Aug 16, 2023
    • Serban Iorga's avatar
      Add equivocation detector crate and implement clients (#2348) (#2353) · 620db2b1
      Serban Iorga authored
      * Split FinalitySyncPipeline and SourceClient
      
      * Move some logic to finality_base
      
      * Add empty equivocation detection clients
      
      * Add equivocation reporting logic to the source client
      
      * Use convenience trait for SubstrateFinalitySyncPipeline
      
      * Define JustificationVerificationContext for GRANDPA
      
      * Equivocation source client: finality_verification_context()
      
      * Equivocation source client: synced_headers_finality_info()
      
      * reuse HeaderFinalityInfo
      
      * Define EquivocationsFinder
      
      * Fix spellcheck
      
      * Address review comments
      
      * Avoid equivocations lookup errors
      620db2b1
  9. Aug 11, 2023
  10. Jul 20, 2023
  11. Jul 19, 2023
    • Svyatoslav Nikolsky's avatar
      Update dependecies (#2277) (#2281) · 3c4ada92
      Svyatoslav Nikolsky authored
      * cargo update -p parachain-info
      
      * flush
      
      * it compiles
      
      * clippy
      
      * temporary add more logging to cargo deny
      
      * Revert "temporary add more logging to cargo deny"
      
      This reverts commit 20daa88b.
      
      * list installed Rust binaries before running cargo deny
      
      * changed prev commit
      
      * once again
      
      * try cargo update?
      
      * post-update fixes (nothing important)
      3c4ada92
  12. May 12, 2023
  13. May 03, 2023
  14. Apr 26, 2023
  15. Mar 24, 2023
  16. 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
  17. Mar 20, 2023
  18. Mar 01, 2023
  19. Feb 27, 2023
  20. Feb 03, 2023
  21. Jan 31, 2023
  22. Jan 27, 2023
  23. 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
  24. Jan 11, 2023
  25. Jan 10, 2023
  26. 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
  27. Dec 30, 2022
  28. Dec 29, 2022
  29. Dec 28, 2022
  30. 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
  31. Dec 19, 2022
  32. 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
  33. 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
  34. Dec 12, 2022
  35. Dec 02, 2022