dependabot[bot]
001907ff2b
Bump syn from 1.0.109 to 2.0.9 ( #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](https://github.com/dtolnay/syn/compare/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>
2023-03-29 21:50:17 +02:00
Mira Ressel
212d6a5a6f
Clean up after debian 11 rollout ( #13762 )
...
This reverts commit 86d638d08f .
2023-03-29 20:25:41 +02:00
Michal Kucharczyk
469726ee74
proc-macro: check for non-args runtime calls added ( #13742 )
...
* proc-macro: check for non-args runtime calls added
* Update primitives/api/proc-macro/src/impl_runtime_apis.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
2023-03-29 14:54:02 +00:00
dependabot[bot]
4ed3642dff
Bump thiserror from 1.0.38 to 1.0.40 ( #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](https://github.com/dtolnay/thiserror/compare/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>
2023-03-29 13:50:40 +00:00
Davide Galassi
c32b240df0
Swap 'base58' with 'bs58' ( #13739 )
...
* Swap base58 with bs58
* Removed unused clone
* std flag
2023-03-29 15:46:05 +02:00
Mira Ressel
86d638d08f
roll out new debian 11 ci image ( #13744 )
2023-03-29 15:27:40 +02:00
Bastian Köcher
de95a54c7f
Companion: wasm-builder support stable Rust ( #2393 )
...
* Companion: wasm-builder support stable Rust
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-29 10:37:13 +00:00
Mira Ressel
f843b7f447
provide a default value for RELENG_SCRIPTS_BRANCH ( #13743 )
...
Currently this variable is configured exclusively via a project
variable, which makes it impossible to override for specific test prs.
2023-03-29 12:27:48 +02:00
Bastian Köcher
8b1645faf0
Companion: wasm-builder support stable Rust ( #6967 )
...
* Companion: wasm-builder support stable Rust
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-29 10:11:15 +00:00
Oliver Tale-Yazdi
faa2d5b09e
Fix feature ( #6966 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-29 12:00:23 +03:00
Bastian Köcher
d338e9a114
Support stable rust for compiling the runtime ( #13580 )
...
* Support stable rust for compiling the runtime
This pull request brings support for compiling the runtime with stable Rust. This requires at least
rust 1.68.0 to work on stable. The code is written in a way that it is backwards compatible and
should automatically work when someone compiles with 1.68.0+ stable.
* We always support nightlies!
* 🤦
* Sort by version
* Review feedback
* Review feedback
* Fix version parsing
* Apply suggestions from code review
Co-authored-by: Koute <koute@users.noreply.github.com >
---------
Co-authored-by: Koute <koute@users.noreply.github.com >
2023-03-29 07:17:50 +00:00
Chris Sosnin
16e4661446
configuration: backport async backing parameters from the feature branch ( #6961 )
...
* Backport async backing params primitive
* migration follow-up
* link pr
* parameters -> params
* rustfmt::skip block ident
2023-03-28 14:55:24 +00:00
Kasper Ziemianek
acec84cc1e
contracts: proper event link in docs ( #13729 )
2023-03-28 16:38:13 +02:00
Tsvetomir Dimitrov
22f404f092
Histogram support in runtime metrics ( #6935 )
...
* Histogram support in runtime metrics
Add support for histograms to the runtime metrics. Additionally add
`polkadot_parachain_verify_dispute_signature` histogram which tracks the
time needed from the runtime to verify a single validator signature of a
dispute statement.
* Add noops
* u64 instead of f64
* Update buckets
* Wrap `get_current_time()` in runtime metrics
* Change the dimension of the Histogram from usec to sec
* Fix a compilation error
* Update buckets
* Fix `on_signature_check_complete` calculation
* Update buckets
* Update buckets
* formatting
* Another weights update
* Adjust buckets again
* Final buckets adjustment
* Revert "Fix a compilation error"
This reverts commit 06290b40a39eeb78de2602d8916a39edf7a8b714.
* Update primitives/src/v4/metrics.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Use `saturating_sub` for time difference calculation
* Pass nanoseconds to client instead of seconds (using f64 in runtime is dangerous)
---------
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2023-03-28 13:37:19 +00:00
Vladimir Istyufeev
9c9492476c
CI: rephrase RUSTFLAGS ( #13735 )
2023-03-28 15:41:10 +04:00
dependabot[bot]
b586f49ad9
Bump serde_json from 1.0.94 to 1.0.95 ( #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](https://github.com/serde-rs/json/compare/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>
2023-03-28 13:24:31 +02:00
dependabot[bot]
bd5d804644
Bump scale-info from 2.3.1 to 2.4.0 ( #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](https://github.com/paritytech/scale-info/compare/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>
2023-03-28 11:08:38 +02:00
Sebastian Kunert
d98f3d1fec
Remove HeaderBackend from RelayChainRPCClient ( #2385 )
...
* Remove HeaderBackend from RelayChainRPCClient
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-28 07:37:58 +00:00
Sebastian Kunert
c41eadc090
Remove HeaderBackend requirement from AuthorityDiscovery and NetworkWorker ( #13730 )
...
* Remove `HeaderBackend` requirement from `NetworkWorker`
* Remove HeaderBackend from authority-discovery
2023-03-28 07:10:50 +00:00
Vladimir Istyufeev
551367d4cb
CI: Investigate why RUSTFLAGS differs on master and PRs ( #13686 )
2023-03-28 04:00:18 +04:00
dependabot[bot]
4903859544
Bump openssl from 0.10.38 to 0.10.48 ( #6955 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.38 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.38...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
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 <>
2023-03-27 22:23:23 +00:00
dependabot[bot]
2118816b56
Bump clap from 4.1.11 to 4.1.13 ( #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](https://github.com/clap-rs/clap/compare/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>
2023-03-27 22:08:11 +00:00
Joyce Siqueira
7c18bc9dfd
updating labels descriptions ( #13557 )
...
* updating labels descriptions
* delete milestones
* Update docs/CONTRIBUTING.adoc
Co-authored-by: Bastian Köcher <git@kchr.de >
* link to label docs
* Update docs/CONTRIBUTING.adoc
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-27 23:27:16 +02:00
Ankan
465460abf9
Proxy for Nomination Pools ( #6846 )
...
* add proxy for nomination pools
* fmt
---------
Co-authored-by: parity-processbot <>
2023-03-27 22:47:28 +02:00
Aaron Bassett
a59ea80cec
Change license of node-template and FRAME examples to MIT-0 ( #13465 )
...
* Change node-template license from Unlicense to MIT-0
* Change frame examples license from Unlicense to MIT-0
* Update bin/node-template/LICENSE
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-03-27 22:36:20 +02:00
Ross Bulat
96ed979732
Nomination Pools migration v5: RewardPool fix ( #6957 )
...
* pools migration v5
* Allow deprecated
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Keep old migrations around
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* use master Cargo.lock
* revert Cargo.lock master
* clippy: remove unused parentheses
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix parachain config migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make tests work
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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-03-27 18:03:49 +00:00
PG Herveou
836f544c86
contracts: Add host function tracing ( #13648 )
2023-03-27 19:33:59 +02:00
Ross Bulat
39e5548c66
Reward pool migration fix ( #13715 )
...
* reward pool migration fix
* comment
* remove generic
* rm max
* foramtting
* Add note to V4 migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add more asserts to the V5 migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/nomination-pools/src/migration.rs
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com >
* Make V4 migration re-usable
Otherwise it wont chain together with the V5.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add MigrateV3ToV5 wrapper
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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com >
2023-03-27 15:02:03 +00:00
dependabot[bot]
d9f4469dcf
Bump futures from 0.3.26 to 0.3.27 ( #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](https://github.com/rust-lang/futures-rs/compare/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 >
2023-03-27 16:27:33 +02:00
Aaron Bassett
1fad957deb
Update pallet licenses to Apache-2.0 ( #13467 )
2023-03-27 14:03:04 +00:00
Gavin Wood
a3b1c1d941
FRAME: Fix the Referenda confirming alarm ( #13704 )
...
* Fix the Referenda confirming alarm
* Add minimal regression test
This fails on 40e1704e1c since the
downwards rounding voids the curve delay.
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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-27 12:04:24 +00:00
Bastian Köcher
f5e257298a
sc-slots: Forward block size limit ( #13716 )
2023-03-27 09:50:31 +02:00
Mira Ressel
6213161e33
add a new ci job to fuzz sp-arithmetic ( #13673 )
...
as requested in https://github.com/paritytech/ci_cd/issues/761
2023-03-27 07:23:53 +02:00
yjh
3a3905ccb1
chore(sc-cli): improve runner and signals ( #13688 )
...
* chore(sc-cli): improve runner and signals
* Update client/cli/src/runner.rs
* fmt
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-03-26 22:07:17 +00:00
dependabot[bot]
7c10016ce4
Bump serde_json from 1.0.93 to 1.0.94 ( #2279 )
2023-03-25 22:08:54 +01:00
Oliver Tale-Yazdi
0043ff00e2
Fix failing offences bench test ( #13712 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-25 15:59:31 +00:00
Harald Heckmann
22027135eb
Emit event when changing total locked value in pallet-balances ( #12287 )
...
* Emit Locked/Unlocked events
* Implement lock event tests
* Adhere to style guide
* Use saturating math
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Fix typo
* Emit event on change locks and add tests
* Adjust event docstring
---------
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-03-25 00:53:18 +01:00
Aaro Altonen
cef4b363c3
Get the correct number of connected peers in SyncState ( #13700 )
...
`Protocol` is not a reliable source for the information of connected
peers because it doesn't have real-time information of the actual
connectivity state because it's not resposible for accepting/rejecting
connections and gets that information with delay from `SyncinEngine`.
2023-03-25 00:47:28 +01:00
Davide Galassi
4eae8dc1cd
Fix docs ( #13709 )
2023-03-24 23:54:32 +01:00
dependabot[bot]
acb6289542
Bump async-trait from 0.1.66 to 0.1.68 ( #2381 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.66 to 0.1.68.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.66...0.1.68 )
---
updated-dependencies:
- dependency-name: async-trait
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>
2023-03-24 22:47:51 +00:00
Mira Ressel
2567c4d63a
bump timestamp script to v0.2 ( #2379 )
2023-03-25 01:09:33 +04:00
Mira Ressel
01c820005e
bump timestamp script to v0.2 ( #6954 )
2023-03-25 01:08:25 +04:00
Mira Ressel
8ead950c9d
bump timestamp script to v0.2 ( #13710 )
2023-03-25 01:00:48 +04:00
Bastian Köcher
685b43c3fc
try-runtime: Use configured wasm execution method ( #13694 )
...
* try-runtime: Use configured wasm execution method
* Fix compilation
2023-03-24 17:50:16 +00:00
Gavin Wood
ccc614979a
Make ED of zero (kind of) work ( #13655 )
...
* Minimum of 1 for ED
* Avoid need for ED to be minimum one
* Docs
* Ban ED of zero unless feature enabled
* use integrity_test
* Docs
* Cleanup
* Update frame/balances/Cargo.toml
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/balances/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/balances/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Ensure dodgy code is disabled by default
* zero_ed -> insecure_zero_ed
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-03-24 17:48:21 +00:00
Andrei Sandu
fc2cba1805
Subsystem channel tweaks ( #6905 )
...
* subsystem tweaks for higher scale
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Adjust queue sizes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Orchestra 0.0.5
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-03-24 17:19:37 +00:00
Davide Galassi
39222a0953
Companion for #13683 ( #2371 )
...
* Rename 'AppKey' to 'AppCrypto'
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-24 15:12:50 +00:00
Oliver Tale-Yazdi
c6a9b81fad
try-runtime: run migration checks per default ( #13684 )
...
* try-runtime: run migration checks per default
The current behaviour of having to explicetly specify --checks seems
to cause confusion. Therefore bringing back the old behaviour of
running the pre- and post-upgrade checks per default.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-24 15:09:34 +00:00
Gavin Wood
2c77f8f4ca
Use sensible maths for from_rational ( #13660 )
...
* Use sensible maths for from_rational
* Fixes
* Fixes
* More fixes
* Remove debugging
* Add fuzzer tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Prevent panics
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clean up old code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test all rounding modes of from_rational
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clean up code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Prevent panics"
This reverts commit 7e88ac76138a1b590e68b68318505b69efe1e1f6.
* fix imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fuzz test multiply_rational
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Return None in multiply_rational on zero div
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: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-24 14:48:37 +00:00
Davide Galassi
260d073658
Companion for #13683 ( #6944 )
...
* Companion for #13683
* Wraps trait is not required
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-24 14:43:21 +00:00