Serban Iorga
623bd85a5e
RefundRelayerForMessagesFromParachain improvements ( #1895 )
...
* 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
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
1d6e8a9a26
optimize justification before submit ( #1887 )
...
* optimize justification before submit
* fmt
* spelling
* clippy
* fmt again
* aaand compilation
* clippy
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
bb078b8226
use complex transactions on RBH/WBH bridge hubs ( #1893 )
2024-04-10 10:28:37 +02:00
dependabot[bot]
1b8fbdde76
Bump sysinfo from 0.27.7 to 0.28.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.27.7 to 0.28.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c6c39be967
ChainWithGrandpa in primitives ( #1885 )
...
* ChainWithGrandpa in primitives
* clippy ++ spelling
* fix benchmarks comppilation
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
83c3975349
clippy fixes ( #1880 )
2024-04-10 10:28:37 +02:00
dependabot[bot]
47e045d55e
Bump signal-hook from 0.3.14 to 0.3.15
...
Bumps [signal-hook](https://github.com/vorner/signal-hook ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/vorner/signal-hook/releases )
- [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vorner/signal-hook/compare/v0.3.14...v0.3.15 )
---
updated-dependencies:
- dependency-name: signal-hook
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
cuteolaf
dfeb8bed70
update parachains relay doc ( #1874 )
2024-04-10 10:28:37 +02:00
cuteolaf
a6e579a9b1
Update README.md ( #1872 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
7755c1b526
changed some tests for weights v2 ( #1855 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a091b8405e
Update Substrate/Polkadot/Cumulus dependencies + weights v2 ( #1850 )
...
* cargo update
* weights v2
* clippy
* no spellcheck for weights.rs
* fix proof_size component in MAXIMUM_BLOCK_WEIGHT constants
* "fix" proof_size in select_delivery_transaction_limits_works
* spellcheck
2024-04-10 10:28:37 +02:00
dependabot[bot]
14b6e13916
Bump async-trait from 0.1.63 to 0.1.64
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.63 to 0.1.64.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.63...0.1.64 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
6900160c31
Bump futures from 0.3.25 to 0.3.26
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Serban Iorga
b2832575f6
Add tool for auto generating runtime code from metadata ( #1812 )
...
* Create CLI tool for generating indirect runtimes code
* Use the generated runtime for rialto parachain
* Avoid autogenerated files when executing cargo spellcheck
* Fix clippy warning
2024-04-10 10:28:37 +02:00
Serban Iorga
1ce1924815
Change some macro names ( #1837 )
...
Change the names of the macros used for generating indirect runtime
calls
Signed-off-by: Serban Iorga <serban@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
7370222802
fix bridge hubs blocks interval ( #1836 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f0c4073dc6
Fix on demand parachains relay when no parachain head at target ( #1834 )
...
* `best_finalized_peer_at_best_self` in messages relay is now Option<> - before it was an error, which effectively blocked the lane
* unnecessary mut
* clone on return
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
947a0a695b
Use GitLab env vars to get git commit ( #1831 )
...
* use GitLab env vars to get git commit
* compile_error to test it
* Revert "compile_error to test it"
This reverts commit 67d4782298d3cdfbe1a28231042bba6444316e8a.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
63308ac22b
bump bridge hub versions ( #1830 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
606768bc6a
Use specific error for case when para head is missing from the bridge pallet ( #1829 )
...
* use specific error for case when para head is missing from the bridge pallet
* fix match to support both error types
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
4689dfaf2c
Do not read parachain heads from ancient relay headers ( #1827 )
...
* do not read parachain heads from ancient relay headers
* revert test change
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
48425b27be
Reconnect source client ( #1826 )
...
* reconnect source client
* fix test
2024-04-10 10:28:37 +02:00
dependabot[bot]
207c09e7e1
Bump tokio from 1.24.2 to 1.25.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Serban Iorga
5d875d05d3
Use named parameters for indirect calls ( #1823 )
2024-04-10 10:28:37 +02:00
omahs
a417c707d6
Fix: typos ( #1822 )
...
* Fix: typos
Fix: typos
* Fix: typos
Fix: typos
* Fix: typo
Fix: typo
* Fix: typos
Fix: typos
* Fix: typos
Fix: typos
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
804ab654bc
do not call best_finalized_para_block_at_source for ancient block ( #1819 )
2024-04-10 10:28:37 +02:00
Serban Iorga
dd433a71d4
Update bundled runtime version for bridge hub r/wococo ( #1814 )
2024-04-10 10:28:37 +02:00
dependabot[bot]
02bfd5eb4f
Bump async-trait from 0.1.62 to 0.1.63 ( #1811 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.62 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.62...0.1.63 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ef8c5b3c9e
fix compilation
2024-04-10 10:28:37 +02:00
dependabot[bot]
5b97b144a9
Bump sysinfo from 0.15.9 to 0.27.7
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.15.9 to 0.27.7.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
5e62f3040d
Bump env_logger from 0.8.4 to 0.10.0
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.8.4 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.8.4...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
8d9b7c472f
Bump async-trait from 0.1.61 to 0.1.62
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.61 to 0.1.62.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.61...0.1.62 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
c357cb5b8e
Bump jsonpath_lib from 0.2.6 to 0.3.0
...
Bumps [jsonpath_lib](https://github.com/freestrings/jsonpath ) from 0.2.6 to 0.3.0.
- [Release notes](https://github.com/freestrings/jsonpath/releases )
- [Commits](https://github.com/freestrings/jsonpath/compare/v0.2.6...0.3.0 )
---
updated-dependencies:
- dependency-name: jsonpath_lib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
38ae5f02ef
Bump parking_lot from 0.11.2 to 0.12.1
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.2 to 0.12.1.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.2...0.12.1 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
341efe2b6a
Bump backoff from 0.2.1 to 0.4.0
...
Bumps [backoff](https://github.com/ihrwein/backoff ) from 0.2.1 to 0.4.0.
- [Release notes](https://github.com/ihrwein/backoff/releases )
- [Commits](https://github.com/ihrwein/backoff/compare/v0.2.1...v0.4.0 )
---
updated-dependencies:
- dependency-name: backoff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
76a84c6366
Bump strum from 0.21.0 to 0.24.1
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.21.0 to 0.24.1.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
dependabot[bot]
7963cf65c9
Bump tokio from 1.24.1 to 1.24.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ec9cd8ddb0
Remove chain-specific dependencies from crates that will be used in Cumulus ( #1783 )
...
* 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
2024-04-10 10:28:37 +02:00
Serban Iorga
2ff3a7aa38
Add integrity check for signed extensions ( #1780 )
...
* Add integrity check for signed extensions
* Remove unneeded type specification
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
d7b131646c
Relayer reward metric ( #1742 )
...
* 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
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
b06cd924e9
Crate-level documentation on finality relays and relayers pallet ( #1773 )
...
* started crate-level documentation on relays and relayers pallet
* fixes in finality and parachain finality relay docs
* fix links
* grammar fixes
2024-04-10 10:28:37 +02:00
Serban Iorga
8a4f984a7a
Define separate signed extension for BHR/BHW ( #1776 )
...
- Make signed extensions for indirect runtimes more extensible
- Define separate signed extension for BHR/BHW
2024-04-10 10:28:37 +02:00
Branislav Kontur
5fdc89d651
Bump xcm-v3 + substrate ( #1767 )
...
* 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: Serban Iorga <serban@parity.io >
2024-04-10 10:28:37 +02:00
Branislav Kontur
3c4cce9eef
cargo machete removed unused deps (#1761 )
2024-04-10 10:28:37 +02:00
Serban Iorga
b63287da20
Remove sp-version dependency from bin-substrate ( #1758 )
2024-04-10 10:28:37 +02:00
Serban Iorga
b4c338f77d
Set R/WococoBridgeHub bundle runtime version ( #1756 )
...
* Define SimpleRuntimeVersion
* Set R/WococoBridgeHub bundle runtime version
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
70eb076ab2
Expose relay version metric ( #1750 )
...
* expose relay version metric
* spelling
* and clippy
* clippy
* typo
* use version directly and determine git commit
* typos and leftovers
2024-04-10 10:28:37 +02:00
Serban Iorga
444dbe7173
Use indirect runtime calls for RialtoParachain ( #1753 )
...
* Use indirect runtime calls for RialtoParachain
* Code review fixes
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e0e84b734b
fix nightly clippy again ( #1752 )
2024-04-10 10:28:37 +02:00
Serban Iorga
c387f7a4b9
Remove TODO ( #1749 )
2024-04-10 10:28:37 +02:00