Skip to content

Commit

Permalink
Cache milagro g1 pubkeys (#19)
Browse files Browse the repository at this point in the history
* Bump futures from 0.3.26 to 0.3.27 (paritytech#2359)

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.26...0.3.27)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com>

* Bump clap from 4.1.11 to 4.1.13 (paritytech#2388)

Bumps [clap](https://github.com/clap-rs/clap) from 4.1.11 to 4.1.13.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.1.11...v4.1.13)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove HeaderBackend from RelayChainRPCClient (paritytech#2385)

* Remove HeaderBackend from RelayChainRPCClient

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>

* Bump scale-info from 2.3.1 to 2.4.0 (paritytech#2386)

Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/paritytech/scale-info/releases)
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md)
- [Commits](paritytech/scale-info@v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: scale-info
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump serde_json from 1.0.94 to 1.0.95 (paritytech#2387)

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.94...v1.0.95)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion: wasm-builder support stable Rust (paritytech#2393)

* Companion: wasm-builder support stable Rust

* update lockfile for {"polkadot", "substrate"}

---------

Co-authored-by: parity-processbot <>

* Bump thiserror from 1.0.38 to 1.0.40 (paritytech#2396)

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.38...1.0.40)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump syn from 1.0.109 to 2.0.9 (paritytech#2397)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.109 to 2.0.9.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.109...2.0.9)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump serde from 1.0.156 to 1.0.159 (paritytech#2395)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.156 to 1.0.159.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.156...v1.0.159)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion for paritytech/substrate#13725 (paritytech#2401)

* Companion for paritytech/substrate#13725

* Add comment

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>

* Bump syn from 2.0.9 to 2.0.11 (paritytech#2405)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.9 to 2.0.11.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.9...2.0.11)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump scale-info from 2.4.0 to 2.5.0 (paritytech#2404)

Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/paritytech/scale-info/releases)
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md)
- [Commits](paritytech/scale-info@v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: scale-info
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump tempfile from 3.4.0 to 3.5.0 (paritytech#2406)

Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: parity-processbot <>

* bump zombienet version (paritytech#2411)

* Bump tokio from 1.26.0 to 1.27.0 (paritytech#2413)

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.26.0...tokio-1.27.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump syn from 2.0.11 to 2.0.12 (paritytech#2414)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.11 to 2.0.12.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.11...2.0.12)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump proc-macro2 from 1.0.52 to 1.0.54 (paritytech#2415)

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.52 to 1.0.54.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.52...1.0.54)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Companion PR for contract deletion updates (paritytech#2409)

* Companion PR for contract deletion updates

see paritytech/substrate#13702

* Revert "Companion PR for contract deletion updates"

This reverts commit 4fb2ca5.

* fix lint

* update lockfile for {"polkadot", "substrate"}

---------

Co-authored-by: parity-processbot <>

* Allow arbitrary key-values in RelayStateSproofBuilder (paritytech#2407)

* help text examples + clean up (paritytech#2418)

* Bump futures from 0.3.27 to 0.3.28 (paritytech#2420)

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.27 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.27...0.3.28)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump clap from 4.1.13 to 4.1.14 (paritytech#2421)

Bumps [clap](https://github.com/clap-rs/clap) from 4.1.13 to 4.1.14.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.1.13...v4.1.14)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update Substrate & Polkadot (paritytech#2422)

* Bump syn from 2.0.12 to 2.0.13 (paritytech#2428)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.12 to 2.0.13.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.12...2.0.13)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump hex-literal from 0.3.4 to 0.4.0 (paritytech#2426)

Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](RustCrypto/utils@hex-literal-v0.3.4...hex-literal-v0.4.0)

---
updated-dependencies:
- dependency-name: hex-literal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated scripts for transfer assets

* Companion for #6986 (paritytech#2416)

* refactor: apply substrate/pull/13610

* Added `origin` to config for `universal_origin` benchmark

* update lockfile for {"polkadot", "substrate"}

* Update

---------

Co-authored-by: William Freudenberger <w.freude@icloud.com>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de>

* [backport] weights 9400 (paritytech#2425)

* [benchmarks] pr with weights (paritytech#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (paritytech#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (paritytech#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* Proof size in test wasn't sufficient

(due to updated weights.)

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Giles Cope <gilescope@gmail.com>

* Cleanup: Remove polkadot-service dependency from minimal node (paritytech#2430)

* Remove polkadot-service dependency from minimal-node

* Clean up error handline

* Remove unwanted changes

* Unused deps

* Co #13699: Remove old calls (paritytech#2431)

* Remove old calls

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate", "polkadot"}

* Ignore warning in pallet ping

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Ignore more warnings...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* ...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>

* [Backport] version bumps 9400 (paritytech#2424)

* Bump crate versions

* Bump spec_version to 9400

* bump transaction versions (paritytech#2364)

* Cargo.lock

* Bump hex-literal from 0.4.0 to 0.4.1 (paritytech#2434)

Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](RustCrypto/utils@hex-literal-v0.4.0...hex-literal-v0.4.1)

---
updated-dependencies:
- dependency-name: hex-literal
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated bridge-hub-polkadot.json (paritytech#2435)

* The Polkadot Fellowship import (paritytech#2236)

* Fellowship into Collectives

* cargo.lock

* tracks alias

* allow to send Fellows origin over XCM

* update todos, remove duplication of type

* use Collectives location for Fellows body

* alias for ranks constants

* benchmarks

* proxy for Fellowship

* docs

* correct copyright date

* Apply suggestions from code review

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* rustfmt

* remove council, update origins

* renames

* remove tech committee from promote origin

* renames

* Fellowship import

* test

* rename mod

* fix import

* updated addresses (only ss58 version)

* update addresses

* doc nits

* weights with new api

* update addresses

* fix try runtime

* update addresses

* use pallet api to import the members

* merge fix

* hex-literal version

* add Bradley to the 1 rank

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: parity-processbot <>

* Script updates for `ping-via-bridge-from-statemine-rococo`

* Companion for  #13302 (paritytech#2357)

* primitives/core: Derive scale_info::TypeInfo for runtime APIs

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* parachains: Derive scale_info::TypeInfo for FungiblesAccessError

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* parachains: Fix `TypeInfo` import path

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* update lockfile for {"polkadot", "substrate"}

* Adjust testing for the new API

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* Adjust deprecated methods

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: parity-processbot <>

* use stable rust toolchain in ci

* Bump syn from 2.0.13 to 2.0.14 (paritytech#2446)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.13 to 2.0.14.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.13...2.0.14)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump serde from 1.0.159 to 1.0.160 (paritytech#2445)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.159 to 1.0.160.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.159...v1.0.160)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Added `transfer-asset-from-statemine-rococo`

* Invoke cargo build commands with `--locked` (paritytech#2444)

* Finished scripts

* README.md

* Bump actions/checkout from 3.1.0 to 3.5.1 (paritytech#2448)

* Bump actions/checkout from 3.1.0 to 3.5.1

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.5.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.1.0...83b7061)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* align version with hash

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io>

* Bump serde_json from 1.0.95 to 1.0.96 (paritytech#2453)

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.95...v1.0.96)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 3.5.1 to 3.5.2 (paritytech#2452)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@83b7061...8e5e7e5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Compile fix + log xcm trace all

* Bump syn from 2.0.14 to 2.0.15 (paritytech#2454)

Bumps [syn](https://github.com/dtolnay/syn) from 2.0.14 to 2.0.15.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@2.0.14...2.0.15)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump assert_cmd from 2.0.10 to 2.0.11 (paritytech#2457)

Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](assert-rs/assert_cmd@v2.0.10...v2.0.11)

---
updated-dependencies:
- dependency-name: assert_cmd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Initial version of bridges pallet as subtree of https://github.com/paritytech/parity-bridges-common
Added `Bridges subtree files` pr review rule

* Squashed 'bridges/' changes from ecddd4a31..d30927c08

d30927c08 Revert dispatch-results (paritytech#2048)
fa454c3b4 Remove unneeded files (paritytech#2044)
956a2c687 Bump clap from 4.2.1 to 4.2.2
91951583a Bump serde_json from 1.0.95 to 1.0.96
fcf462051 Bump h2 from 0.3.16 to 0.3.17 in /tools/runtime-codegen
b751fb24f Bump h2 from 0.3.16 to 0.3.17
0bf31ab78 update refs (paritytech#2041)
a490ecbd3 Fix CI build (paritytech#2039)
01139ebbc Define `RangeInclusiveExt` (paritytech#2037)
2db2f3fe3 Impl review suggestions from paritytech#2021 (paritytech#2036)
36292760f fix build step on CI (paritytech#2034)
3a2311b7a refund extra weight in receive_messages_delivery_proof call (paritytech#2031)
77f1641d1 Boost message delivery transaction priority (paritytech#2023)
c23c4e441 Reject delivery transactions with at least one obsolete message (paritytech#2021)
68ba699b7 Reintroduce msg dispatch status reporting (paritytech#2027)
d1e852cc3 Bump hex-literal from 0.4.0 to 0.4.1
16f25d613 Relay node down alert (paritytech#2002)
4bb1a6406 only refund if all bundled messages have been delivered (paritytech#2019)
b9acf52bc fail with InsufficientDispatchWeight if dispatch_weight doesn't cover weight of all bundled messages (paritytech#2018)
e10097fe2 Remove unneeded error debug strings (paritytech#2017)
f5e38f057 enable metrics on all validator nodes (paritytech#2016)
c35f1a187 Bump scale-info from 2.4.0 to 2.5.0
04c56977c Bump clap from 4.1.13 to 4.2.1
481371f3c Bump hex-literal from 0.3.4 to 0.4.0
6b9c1400d Bump serde from 1.0.158 to 1.0.159
e71877a2e Bump futures from 0.3.27 to 0.3.28
c019f4faa Bump tempfile from 3.4.0 to 3.5.0
2e6e79ef6 Bump serde_json from 1.0.94 to 1.0.95
0698b1ff9 Bump tokio from 1.26.0 to 1.27.0
35b149830 fix test step on CI (paritytech#2003)
0c3acc858 cleanup removed lane traces (paritytech#2001)
8bf81749e bump BridgeHubRococo/BridgeHubWococo versions (paritytech#2000)
e53bb7f36 MaxRequests -> MaxFreeMandatoryHeadersPerBlock in pallet-bridge-grandpa (paritytech#1997)
dfcc09043 Run tests for `runtime-benchmarks` feature only (paritytech#1998)
efcc8db17 Run benchmarks for mock runtimes (#1996)

git-subtree-dir: bridges
git-subtree-split: d30927c089bd9e73092d1ec1a62895603cb277a3

* Fixes

* Squashed 'bridges/' content from commit d30927c08

git-subtree-dir: bridges
git-subtree-split: d30927c089bd9e73092d1ec1a62895603cb277a3

* Updated REAMDE.md and BRIDGES.md (inspired by original https://github.com/paritytech/polkadot/blob/d22eb62fe40e55e15eb91d375f48cc540d83a47e/BRIDGES.md)

* Squashed 'bridges/' changes from d30927c08..d3970944b

d3970944b Small simplifications (paritytech#2050)

git-subtree-dir: bridges
git-subtree-split: d3970944b0cfc4ea5226225e1ca07dab234c3556

* updated lock file

* refacor beacon light client

* Update Cargo.lock

* Update Cargo.lock

* Update Cargo.lock

* Update benchmark

* Update Cargo.lock

* Update benchmark

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Aaro Altonen <48052676+altonen@users.noreply.github.com>
Co-authored-by: Javier Viola <javier@parity.io>
Co-authored-by: parity-processbot <>
Co-authored-by: PG Herveou <pgherveou@gmail.com>
Co-authored-by: tmpolaczyk <44604217+tmpolaczyk@users.noreply.github.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: William Freudenberger <w.freude@icloud.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
Co-authored-by: Egor_P <egor@parity.io>
Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
Co-authored-by: Mira Ressel <mira@parity.io>
Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io>
Co-authored-by: Alistair Singh <alistair.singh7@gmail.com>
Co-authored-by: Vincent Geddes <vincent.geddes@hey.com>
  • Loading branch information
1 parent c9cca56 commit d3e3bbe
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 64 deletions.
18 changes: 14 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 1 addition & 28 deletions parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,15 +580,6 @@ impl snowbridge_outbound_queue::Config for Runtime {

#[cfg(feature = "minimal")]
parameter_types! {
pub const MaxSyncCommitteeSize: u32 = 32;
pub const MaxProofBranchSize: u32 = 20;
pub const MaxExtraDataSize: u32 = 32;
pub const MaxLogsBloomSize: u32 = 256;
pub const MaxFeeRecipientSize: u32 = 20;
pub const MaxPublicKeySize: u32 = 48;
pub const MaxSignatureSize: u32 = 96;
pub const MaxSlotsPerHistoricalRoot: u64 = 64;
pub const MaxFinalizedHeaderSlotArray: u32 = 1000;
pub const WeakSubjectivityPeriodSeconds: u32 = 97200;
pub const ChainForkVersions: ForkVersions = ForkVersions{
genesis: Fork {
Expand All @@ -612,15 +603,6 @@ parameter_types! {

#[cfg(not(feature = "minimal"))]
parameter_types! {
pub const MaxSyncCommitteeSize: u32 = 512;
pub const MaxProofBranchSize: u32 = 20;
pub const MaxExtraDataSize: u32 = 32;
pub const MaxLogsBloomSize: u32 = 256;
pub const MaxFeeRecipientSize: u32 = 20;
pub const MaxPublicKeySize: u32 = 48;
pub const MaxSignatureSize: u32 = 96;
pub const MaxSlotsPerHistoricalRoot: u64 = 8192;
pub const MaxFinalizedHeaderSlotArray: u32 = 1000;
// accordingly to https://notes.ethereum.org/@adiasg/weak-subjectvity-eth2
// Epochs required is 3277 as 1258368 seconds about 2 weeks
pub const WeakSubjectivityPeriodSeconds: u32 = 1258368;
Expand All @@ -647,15 +629,6 @@ parameter_types! {
impl snowbridge_ethereum_beacon_client::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type TimeProvider = pallet_timestamp::Pallet<Runtime>;
type MaxSyncCommitteeSize = MaxSyncCommitteeSize;
type MaxProofBranchSize = MaxProofBranchSize;
type MaxExtraDataSize = MaxExtraDataSize;
type MaxLogsBloomSize = MaxLogsBloomSize;
type MaxFeeRecipientSize = MaxFeeRecipientSize;
type MaxPublicKeySize = MaxPublicKeySize;
type MaxSignatureSize = MaxSignatureSize;
type MaxSlotsPerHistoricalRoot = MaxSlotsPerHistoricalRoot;
type MaxFinalizedHeaderSlotArray = MaxFinalizedHeaderSlotArray;
type ForkVersions = ChainForkVersions;
type WeakSubjectivityPeriodSeconds = WeakSubjectivityPeriodSeconds;
type WeightInfo = weights::snowbridge_ethereum_beacon_client::WeightInfo<Runtime>;
Expand Down Expand Up @@ -717,7 +690,7 @@ construct_runtime!(
// Ethereum Bridge
EthereumInboundQueue: snowbridge_inbound_queue::{Pallet, Call, Config, Storage, Event<T>} = 48,
EthereumOutboundQueue: snowbridge_outbound_queue::{Pallet, Config<T>, Storage, Event<T>} = 49,
EthereumBeaconClient: snowbridge_ethereum_beacon_client::{Pallet, Call, Config<T>, Storage, Event<T>} = 50,
EthereumBeaconClient: snowbridge_ethereum_beacon_client::{Pallet, Call, Config, Storage, Event<T>} = 50,
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Autogenerated weights for `snowbridge_ethereum_beacon_client`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ip-172-31-8-124`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bridge-hub-rococo-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -30,7 +30,7 @@
#![allow(unused_imports)]

use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;
use core::marker::PhantomData;

/// Weight functions for `snowbridge_ethereum_beacon_client`.
pub struct WeightInfo<T>(PhantomData<T>);
Expand All @@ -40,7 +40,7 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
/// Storage: EthereumBeaconClient LatestSyncCommitteePeriod (r:1 w:1)
/// Proof: EthereumBeaconClient LatestSyncCommitteePeriod (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient SyncCommittees (r:2 w:1)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(24634), added: 27109, mode: MaxEncodedLen)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(92348), added: 94823, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient ValidatorsRoot (r:1 w:0)
/// Proof: EthereumBeaconClient ValidatorsRoot (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient FinalizedBeaconHeaderSlots (r:1 w:1)
Expand All @@ -55,11 +55,11 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
/// Proof: EthereumBeaconClient FinalizedBeaconHeadersBlockRoot (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
fn sync_committee_period_update() -> Weight {
// Proof Size summary in bytes:
// Measured: `24964`
// Estimated: `72217`
// Minimum execution time: 125_394_127_000 picoseconds.
Weight::from_parts(125_431_125_000, 0)
.saturating_add(Weight::from_parts(0, 72217))
// Measured: `92678`
// Estimated: `207645`
// Minimum execution time: 134_980_480_000 picoseconds.
Weight::from_parts(135_073_514_000, 0)
.saturating_add(Weight::from_parts(0, 207645))
.saturating_add(T::DbWeight::get().reads(8))
.saturating_add(T::DbWeight::get().writes(6))
}
Expand All @@ -69,10 +69,10 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
/// Proof: EthereumBeaconClient LatestFinalizedHeaderState (max_values: Some(1), max_size: Some(48), added: 543, mode: MaxEncodedLen)
/// Storage: Timestamp Now (r:1 w:0)
/// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient SyncCommittees (r:1 w:0)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(24634), added: 27109, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient ValidatorsRoot (r:1 w:0)
/// Proof: EthereumBeaconClient ValidatorsRoot (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient SyncCommittees (r:1 w:0)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(92348), added: 94823, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient FinalizedBeaconHeaderSlots (r:1 w:1)
/// Proof: EthereumBeaconClient FinalizedBeaconHeaderSlots (max_values: Some(1), max_size: Some(8002), added: 8497, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient FinalizedBeaconHeaders (r:0 w:1)
Expand All @@ -81,11 +81,11 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
/// Proof: EthereumBeaconClient FinalizedBeaconHeadersBlockRoot (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
fn import_finalized_header() -> Weight {
// Proof Size summary in bytes:
// Measured: `24964`
// Estimated: `43615`
// Minimum execution time: 119_688_074_000 picoseconds.
Weight::from_parts(119_733_837_000, 0)
.saturating_add(Weight::from_parts(0, 43615))
// Measured: `92678`
// Estimated: `111329`
// Minimum execution time: 29_360_502_000 picoseconds.
Weight::from_parts(29_376_008_000, 0)
.saturating_add(Weight::from_parts(0, 111329))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
Expand All @@ -98,18 +98,18 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
/// Storage: EthereumBeaconClient FinalizedBeaconHeadersBlockRoot (r:1 w:0)
/// Proof: EthereumBeaconClient FinalizedBeaconHeadersBlockRoot (max_values: None, max_size: Some(64), added: 2539, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient SyncCommittees (r:1 w:0)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(24634), added: 27109, mode: MaxEncodedLen)
/// Proof: EthereumBeaconClient SyncCommittees (max_values: None, max_size: Some(92348), added: 94823, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient ValidatorsRoot (r:1 w:0)
/// Proof: EthereumBeaconClient ValidatorsRoot (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)
/// Storage: EthereumBeaconClient ExecutionHeaders (r:0 w:1)
/// Proof: EthereumBeaconClient ExecutionHeaders (max_values: None, max_size: Some(188), added: 2663, mode: MaxEncodedLen)
/// Proof: EthereumBeaconClient ExecutionHeaders (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen)
fn import_execution_header() -> Weight {
// Proof Size summary in bytes:
// Measured: `25008`
// Estimated: `37729`
// Minimum execution time: 119_457_513_000 picoseconds.
Weight::from_parts(119_497_745_000, 0)
.saturating_add(Weight::from_parts(0, 37729))
// Measured: `92722`
// Estimated: `105443`
// Minimum execution time: 29_353_288_000 picoseconds.
Weight::from_parts(29_372_047_000, 0)
.saturating_add(Weight::from_parts(0, 105443))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(2))
}
Expand All @@ -119,33 +119,33 @@ impl<T: frame_system::Config> snowbridge_ethereum_beacon_client::WeightInfo for
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 13_651_000 picoseconds.
Weight::from_parts(13_941_000, 0)
// Minimum execution time: 20_465_000 picoseconds.
Weight::from_parts(20_720_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
fn bls_aggregate_pubkey() -> Weight {
fn bls_fast_aggregate_verify_pre_aggregated() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 94_456_150_000 picoseconds.
Weight::from_parts(94_487_034_000, 0)
// Minimum execution time: 27_741_612_000 picoseconds.
Weight::from_parts(27_755_115_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn bls_verify_message() -> Weight {
fn bls_fast_aggregate_verify_legacy() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 28_358_076_000 picoseconds.
Weight::from_parts(28_368_043_000, 0)
// Minimum execution time: 31_220_692_000 picoseconds.
Weight::from_parts(31_251_978_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
fn bls_fast_aggregate_verify() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 123_429_381_000 picoseconds.
Weight::from_parts(123_459_134_000, 0)
// Minimum execution time: 28_852_169_000 picoseconds.
Weight::from_parts(28_874_397_000, 0)
.saturating_add(Weight::from_parts(0, 0))
}
}

0 comments on commit d3e3bbe

Please sign in to comment.