wigy
a59f02bc3f
Companion to "Updating scale to v3" ( #1013 )
...
* Updating dependencies
* Adapting code to scale v3
* cargo fmt
* Fix compilation
* Update Cargo.lock
* TIL exists
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-02-25 13:40:24 +00:00
wigy
e8cb6cdaac
Companion to "Updating scale to v3" ( #4958 )
...
* Updating dependencies
* Adapting code to scale v3
* Upgrade bitvec to 1.0.0
* Fix bitvec arithmetics
* Update Cargo.lock
* Update sp-io
* Fixing the build
* Yanked scale-info 2.0.0
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-02-25 13:07:06 +01:00
Mara Robin B
d0c9f75a0b
Add manual dispatch trigger for docker builds ( #4981 )
...
* ci: add manual dispatch docker publish workflow
* ci: fix date in dispatch trigger
* ci: avoid specifying gpg keyserver in multiple places
2022-02-24 16:59:30 +01:00
Mara Robin B
38fb3206db
Fix docker release workflow ( #4980 )
...
* scripts: fix polkadot_injected_release gpg errors
* ci: publish-docker-release: remove keyserver arg
* scripts: join RUNs in polkadot_injected_release
2022-02-24 16:56:51 +01:00
wigy
535325d2e6
Upgrading parity-scale-codec to v3 ( #10825 )
...
* Upgraded dependencies
* Adapting code to scale v3
* Empty commit to trigger CI
* Triggering CI
* Fixing UI test
* Remove superfluous dev-dep added by #9228
* Cryout for CI
2022-02-24 15:34:34 +01:00
Pierre Krieger
eeb267e1d6
No longer generate specs with consensus_engine field ( #10346 )
...
* No longer generate specs with consensus_engine field
* #[allow(unused)]
2022-02-24 12:05:08 +00:00
Koute
ba81ba8048
Get rid of unnecessary use of async-std in non-test code ( #10891 )
2022-02-24 11:30:25 +00:00
Bastian Köcher
d9d53c17a1
Switch to edition 2021 ( #4976 )
...
* Switch to edition 2021
* Reset bridges
* Fix compilation
* Fix test-runtime
* Fix malus
2022-02-24 10:20:58 +00:00
dependabot[bot]
1ea0f60a72
Bump proc-macro-crate from 1.1.2 to 1.1.3 ( #4977 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases )
- [Commits](https://github.com/bkchr/proc-macro-crate/commits )
---
updated-dependencies:
- dependency-name: proc-macro-crate
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>
2022-02-24 10:20:27 +00:00
dependabot[bot]
5962c57727
Bump clap from 3.1.1 to 3.1.2 ( #4978 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.1 to 3.1.2.
- [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/v3.1.1...v3.1.2 )
---
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>
2022-02-24 10:20:05 +00:00
Alexander Theißen
86540a3a24
Add Canvas runtime to release automation ( #1043 )
2022-02-24 09:06:05 +00:00
dependabot[bot]
5093aab4f4
Bump clap from 3.1.1 to 3.1.2 ( #1046 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.1 to 3.1.2.
- [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/v3.1.1...v3.1.2 )
---
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>
2022-02-23 23:58:52 +00:00
Bastian Köcher
c6363e4682
Remove the last node-primitives leftover... ( #1047 )
2022-02-23 22:52:17 +01:00
dependabot[bot]
903f95ee78
Bump proc-macro-crate from 1.1.2 to 1.1.3 ( #1044 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases )
- [Commits](https://github.com/bkchr/proc-macro-crate/commits )
---
updated-dependencies:
- dependency-name: proc-macro-crate
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>
2022-02-23 21:12:32 +00:00
Oliver Tale-Yazdi
9552835ccd
Factor DB weights out into their own files ( #10908 )
...
* Factor DB weights out into their own files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Weights in own mod
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-02-23 19:58:53 +00:00
Éloïs
06f2279182
fix: map cli parameter runtime_cache_size ( #1042 )
2022-02-23 19:47:49 +00:00
Davide Galassi
26ec5d71c8
Clean obsolete BABE's weight data ( #10748 )
...
* Clean obsolete BABE weight data
* Take out test assertion from check closure
* Optimize metadata access using `HeaderMetadata` trait
* Apply suggestions from code review
* Introduce finalize and import pre-commit synchronous actions
* Do not hold locks between internal methods calls
* Remove unused generic bound
* Apply suggestions from code review
* Register BABE's pre-commit actions on `block_import` instead of `start_babe`
* PreCommit actions should be `Fn` instead of `FnMut`
* More robust safenet in case of malformed finality notifications
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-02-23 19:58:33 +01:00
Alexander Theißen
ac1088fed9
Add canvas-rococo chainspec ( #1031 )
2022-02-23 16:19:14 +00:00
Bernhard Schuster
d4176874a1
introduce expander ( #4974 )
...
* introduce expander
* unify towards expand
* bubble up expand
* spelling
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* add newlines
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-02-23 14:24:26 +00:00
Davide Galassi
a2b80edf12
Replace libsecp256k1 with k256 in FRAME related code ( #10883 )
...
* Replace libsecp256k1 with k256 in beefy-mmr
* Port of FRAME `contracts` benchmarking from `libsecp256k1` to `k256`
* Newtype to allow `Pcg32` rng usage with `k256` in contracts benchmarks
* Use `sp-io::crypto` to generate dummy keys in `contracts` bechmarks
* More compact code
* Cargo fmt
* Build `sp-keystore` only for dev profile
* Move public key generation back to the `map`
2022-02-23 10:17:47 +01:00
dependabot[bot]
8aff3cb81b
Bump clap from 3.0.14 to 3.1.1 ( #4968 )
...
* Bump clap from 3.0.14 to 3.1.1
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.14 to 3.1.1.
- [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/v3.0.14...v3.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* avoid deprecated AppSettings::Hidden
* avoid another deprecated instance
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-02-23 08:31:42 +00:00
dependabot[bot]
3b839476d9
Bump clap from 3.0.7 to 3.1.1 ( #1035 )
...
* Bump clap from 3.0.7 to 3.1.1
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.7 to 3.1.1.
- [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/v3.0.7...v3.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix up deprecated usages
* cargo fmt
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-02-23 08:31:24 +00:00
André Silva
719127cac3
Companion for substrate#10878 ( #993 )
...
* companion for slot duration changes
* fix aura inherent data provider
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-02-22 22:27:29 +00:00
Bastian Köcher
c8a935d38f
Remove node-primitives ( #1032 )
...
This is a crate that shouldn't be used outside of the Substrate Node. Here the correct crate is the
`polkadot-core-primitives` to get the `Balance` type.
2022-02-22 23:19:19 +01:00
André Silva
4ff40eb562
Companion for substrate#10878 ( #4940 )
...
* Companion for substrate#10878
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-02-22 21:52:31 +00:00
dependabot[bot]
bd35fcdc62
Bump assert_cmd from 0.12.2 to 2.0.4 ( #1037 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 0.12.2 to 2.0.4.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.12.2...v2.0.4 )
---
updated-dependencies:
- dependency-name: assert_cmd
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>
2022-02-22 21:06:27 +01:00
André Silva
2561e11ed7
consensus-slots: cleanup SlotDuration config ( #10878 )
...
* consensus-slots: cleanup the SlotDuration config
* fix tests
* address review comments
2022-02-22 19:39:16 +00:00
dependabot[bot]
da8a5866a7
Bump tracing from 0.1.30 to 0.1.31 ( #1036 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.30 to 0.1.31.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31 )
---
updated-dependencies:
- dependency-name: tracing
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>
2022-02-22 19:19:58 +00:00
dependabot[bot]
830b021574
Bump parking_lot from 0.10.2 to 0.12.0 ( #1030 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.10.2 to 0.12.0.
- [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.10.2...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
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>
2022-02-22 19:39:09 +01:00
Tsvetomir Dimitrov
fc2ddae965
Use only fresh DisputeStatement-s for dispute spam detection ( #4921 ) ( #4957 )
...
handle_import_statements() from Dispute-Coordinator does spam detection
by counting unconfirmed dispute statements from each validator.
This patch adjusts the logic so that only fresh dispute statements are
counted.
Fresh dispute statement in this case means a statement which was not
loaded from overlay db.
2022-02-22 10:45:45 -06:00
Bastian Köcher
df18c424d8
Dependabot: A new round... ( #1034 )
2022-02-22 16:58:27 +01:00
dependabot[bot]
39f069e831
Bump nix from 0.17.0 to 0.23.1 ( #1017 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.17.0 to 0.23.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.17.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: nix
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>
2022-02-22 16:50:13 +01:00
dependabot[bot]
64a0b0e41b
Bump hex-literal from 0.2.1 to 0.3.4 ( #1028 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.2.1 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.2.1...hex-literal-v0.3.4 )
---
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>
2022-02-22 16:49:46 +01:00
Andronik
9d9f82256e
approval-distribution: a fix for out-of-view messages ( #4908 )
...
* approval-distribution: a fix for out-of-view messages
* approval-distribution: trace logs
* adjust the guide slightly
* comments and nits
2022-02-22 15:02:03 +00:00
Zeke Mostov
f00404bfd6
staking: Remove SessionInterface supertrait ( #10901 )
2022-02-22 14:38:34 +00:00
radupopa2010
bf1a805c9e
feat: decrese the validity for biggest artifacts ( #4970 )
2022-02-22 15:25:08 +01:00
Bastian Köcher
c09389b501
Dependabot: Also ignore polkadot :grimaced: ( #1026 )
...
* Dependabot: Also ignore polkadot :grimaced:
* And XCM
2022-02-22 15:18:46 +01:00
Bastian Köcher
19e42a88a1
state-machine: Move all functionality from trie backend to the essence ( #10904 )
...
* state-machine: Move all functionality from trie backend to the essence
This is required for some future changes of me and it also makes more sense to have all the
functionality inside the essence. Besides that it changes the child root cache to directly
cache the hash.
* Update primitives/state-machine/src/trie_backend_essence.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* FMT
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
2022-02-22 14:15:57 +00:00
dependabot[bot]
3f3dc6e07d
Bump strum from 0.23.0 to 0.24.0 ( #4967 )
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.23.0 to 0.24.0.
- [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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 14:57:22 +01:00
dependabot[bot]
bf4865b831
Bump tokio-tungstenite from 0.16.1 to 0.17.1 ( #4969 )
...
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite ) from 0.16.1 to 0.17.1.
- [Release notes](https://github.com/snapview/tokio-tungstenite/releases )
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.16.1...v0.17.1 )
---
updated-dependencies:
- dependency-name: tokio-tungstenite
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>
2022-02-22 14:56:58 +01:00
Bastian Köcher
26de63254b
Dependabot: Make sure to ignore all the Substrate deps ( #1021 )
2022-02-22 14:54:28 +01:00
Sergei Shulepov
95a78e877f
paras: initialize_para_now and ParachainsCache ( #4934 )
...
This commit adds a new primitive called `ParachainsCache` to manipulate
the `Parachains` storage entry in a more convenient way.
Then, on top of that, this commit changes the logic of
`initialize_para_now` so that it is identical to what is used for
initialization of onboarding.
2022-02-22 14:52:27 +01:00
Bernhard Schuster
1ba4af9f15
add pyroscope ( #4871 )
...
* pyroscope
* fixup
* add pyroscope target
* fixins
* spellcheck
* rename 'pyroscoped' feature to 'pyroscope'
* build testnet binary with pyroscope feature
* Update Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* make args a string, resolve using std::net
* fixup
* remove --features pyroscope for testnet builds
Until the panics are fixed in upstream, this is sane.
* chore: bump pyroscope to 0.3.1
Fixes an underflow panic.
* Revert "remove --features pyroscope for testnet builds
"
This reverts commit 57dbdc7aa5f6427aeb1e3dfdfc97071c3a74851e.
* fix: Make sample rate a prime
Co-authored-by: Pierre Besson <pierre.besson@parity.io >
Co-authored-by: Andronik <write@reusable.software >
2022-02-22 13:16:49 +00:00
Sergejs Kostjucenko
20f525635a
Add dependabot config file ( #1015 )
2022-02-22 12:56:39 +01:00
Koute
7adde98fb4
Bump tokio to 1.17.0 ( #4965 )
...
* Bump `tokio` to 1.17.0
* Bump the `tokio` version in the test service too
* Revert changes to `bridges/relays/client-substrate/Cargo.toml`
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-02-22 12:45:16 +01:00
Koute
5f74b4cf67
Bump tokio to 1.17.0 ( #1014 )
2022-02-22 11:01:17 +00:00
Gavin Wood
939d1b089c
Rename Uniques Error::Unknown to something more sensible ( #10895 )
...
* Rename Uniques Error::Unknown to something more sensible
* Typos
* Typos
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-02-22 10:42:46 +00:00
Alexander Theißen
eb5f07a2e5
contracts: Allow stack height metering to be disabled ( #10877 )
...
* Allow stack height metering to be disabled
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2022-02-22 09:10:38 +00:00
Mara Robin B
9afb3a2ea7
bump transaction_version ( #4956 )
...
* westend: bump transaction_version
* polkadot: bump transaction_version
* kusama: bump transaction_version
2022-02-22 09:09:05 +00:00
Niklas Adolfsson
2893be8321
make submissions pub ( #10899 )
2022-02-22 09:20:29 +01:00