dependabot[bot]
9c69df794f
Bump zeroize from 1.4.2 to 1.4.3 ( #10538 )
...
Bumps [zeroize](https://github.com/RustCrypto/utils ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/commits/zeroize-v1.4.3 )
---
updated-dependencies:
- dependency-name: zeroize
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>
2021-12-22 17:39:30 +01:00
dependabot[bot]
4607163d38
Bump nix from 0.23.0 to 0.23.1 ( #10542 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.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.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: nix
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>
2021-12-22 16:22:55 +00:00
dependabot[bot]
8a5340a1be
Bump num_cpus from 1.13.0 to 1.13.1 ( #10539 )
...
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases )
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1 )
---
updated-dependencies:
- dependency-name: num_cpus
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>
2021-12-22 16:25:53 +01:00
dependabot[bot]
b31cd5a4bb
Bump futures-util from 0.3.17 to 0.3.19 ( #10513 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.17 to 0.3.19.
- [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.17...0.3.19 )
---
updated-dependencies:
- dependency-name: futures-util
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>
2021-12-22 11:55:05 +01:00
dependabot[bot]
cf6144baed
Bump libc from 0.2.105 to 0.2.112 ( #10537 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.105 to 0.2.112.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.105...0.2.112 )
---
updated-dependencies:
- dependency-name: libc
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>
2021-12-22 11:47:51 +01:00
dependabot[bot]
c3269accb8
Bump strum_macros from 0.22.0 to 0.23.1 ( #10532 )
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.22.0 to 0.23.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_macros
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>
2021-12-22 09:21:54 +01:00
dependabot[bot]
23b8e3a694
Bump handlebars from 4.1.4 to 4.1.6 ( #10518 )
...
Bumps [handlebars](https://github.com/sunng87/handlebars-rust ) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/sunng87/handlebars-rust/releases )
- [Changelog](https://github.com/sunng87/handlebars-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sunng87/handlebars-rust/compare/v4.1.4...v4.1.6 )
---
updated-dependencies:
- dependency-name: handlebars
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>
2021-12-21 18:44:59 +01:00
Kian Paimani
cfac7d6832
add to ( #10524 )
2021-12-21 18:42:15 +01:00
Alexander Theißen
62ee43d822
Use exists host function ( #10531 )
2021-12-21 18:36:46 +01:00
Andrew Jones
9c9ea8da85
Serialize CodeUploadReturnValue deposit correctly ( #10526 )
2021-12-21 15:09:37 +00:00
Adrian Catangiu
3d8ce67383
Beefy: Provide well-formed ValidatorSet ( #10445 )
...
* beefy: provide well-formed ValidatorSet
* pallet-beefy: use well-formed ValidatorSet
* pallet-beefy-mmr: use well-formed ValidatorSet
* beefy-gadget: fail votes early when ValidatorSet empty
* beefy: small efficiency improvements
* address review comments
Signed-off-by: acatangiu <adrian@parity.io >
2021-12-21 16:34:32 +02:00
dependabot[bot]
2d347e68f2
Bump clap from 2.33.3 to 2.34.0 ( #10523 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.3 to 2.34.0.
- [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/v2.33.3...v2.34.0 )
---
updated-dependencies:
- dependency-name: clap
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>
2021-12-21 12:36:11 +00:00
dependabot[bot]
702f76e913
Bump git2 from 0.13.23 to 0.13.25 ( #10522 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.23 to 0.13.25.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.23...0.13.25 )
---
updated-dependencies:
- dependency-name: git2
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>
2021-12-21 12:41:45 +01:00
dependabot[bot]
3c975071c8
Bump frame-metadata from 14.0.0 to 14.2.0 ( #10519 )
...
Bumps [frame-metadata](https://github.com/paritytech/frame-metadata ) from 14.0.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/frame-metadata/releases )
- [Changelog](https://github.com/paritytech/frame-metadata/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/frame-metadata/commits )
---
updated-dependencies:
- dependency-name: frame-metadata
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>
2021-12-21 12:38:58 +01:00
dependabot[bot]
03d726aac3
Bump serde from 1.0.131 to 1.0.132 ( #10517 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
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>
2021-12-21 11:17:06 +01:00
Bastian Köcher
494dee7c7b
SlotDuration: Always fetch the slot duration from the runtime ( #10509 )
...
* SlotDuration: Always fetch the slot duration from the runtime
The slot duration should always be fetched from the runtime instead of being cached in the db. The
slot duration is only fetched on startup of the node, so the performance isn't that important. This
is especially helpful for the case when the slot duration of a chain should be changed through a
runtime upgrade (there be dragons, so take care).
* Fix docs
* Remove logging
* Fix warning
2021-12-20 19:49:18 +00:00
dependabot[bot]
a043ad3bc8
Bump hyper from 0.14.14 to 0.14.16 ( #10462 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.14 to 0.14.16.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.14...v0.14.16 )
---
updated-dependencies:
- dependency-name: hyper
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>
2021-12-20 15:27:14 +01:00
Tomasz Drwięga
daa41ea5cc
Alter BEEFY primitives to prepare for potential BLS integration ( #10466 )
...
* Generalize signature.
* Fix tests.
* Introduce VersionedFinalityProof.
* cargo +nightly fmt --all
* Rework packing a tad.
2021-12-20 14:57:32 +01:00
dependabot[bot]
6eb6fa32fc
Bump rustversion from 1.0.5 to 1.0.6 ( #10516 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.5...1.0.6 )
---
updated-dependencies:
- dependency-name: rustversion
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>
2021-12-20 14:10:21 +01:00
dependabot[bot]
b40f440c7e
Bump bytes from 1.0.1 to 1.1.0 ( #10223 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: bytes
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>
2021-12-20 12:25:01 +00:00
dependabot[bot]
6aae3f1d49
Bump ss58-registry from 1.5.0 to 1.10.0 ( #10515 )
...
Bumps [ss58-registry](https://github.com/paritytech/ss58-registry ) from 1.5.0 to 1.10.0.
- [Release notes](https://github.com/paritytech/ss58-registry/releases )
- [Changelog](https://github.com/paritytech/ss58-registry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/ss58-registry/compare/v1.5.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: ss58-registry
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>
2021-12-20 13:08:23 +01:00
dependabot[bot]
6129dd8e49
Bump tokio from 1.13.0 to 1.15.0 ( #10512 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.13.0...tokio-1.15.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>
2021-12-20 09:56:16 +00:00
dependabot[bot]
ba25029d0f
Bump syn from 1.0.81 to 1.0.82 ( #10505 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.81...1.0.82 )
---
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>
2021-12-19 11:26:37 +01:00
hamidra
94056a4da7
Add ClassAccount storage to unique pallet ( #9940 )
...
* add ClassAccount to uniques storage
* add tests for Class and ClassAccount storage
* fix format
* fix description
* add migration
* remove extra iteration
* Update frame/uniques/src/migration.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix format
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-18 15:41:05 +00:00
Tomasz Drwięga
8fa5c7608a
Remove offchain workers ownership. ( #10506 )
2021-12-17 10:52:16 +00:00
Liu-Cheng Xu
ac992ae18b
Derive TypeInfo for OpaqueExtrinsic ( #10504 )
2021-12-17 09:43:51 +00:00
dependabot[bot]
d2e9026444
Bump serde from 1.0.130 to 1.0.131 ( #10500 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131 )
---
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>
2021-12-17 08:30:58 +00:00
Liu-Cheng Xu
472e29f843
Use intra doc in network-gossip ( #10501 )
...
* Use intra doc in network-gossip
So that we could jump to the definition easily.
* cargo +nightly fmt --all
2021-12-16 23:19:30 +00:00
sandreim
9b73a8a6fc
Add logger configuration hook ( #10440 )
...
* Initial poc
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Make config available to logger hook
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add metric prefix option in sc_cli::RunCmd
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove print
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix docs
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-12-16 11:18:24 +00:00
dependabot[bot]
f99307b600
Bump backtrace from 0.3.61 to 0.3.63 ( #10495 )
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.61 to 0.3.63.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.61...0.3.63 )
---
updated-dependencies:
- dependency-name: backtrace
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>
2021-12-16 11:02:12 +01:00
Nazar Mokrynskyi
d26d6eb268
Async block import params ( #10488 )
...
* Make `SimpleSlotWorker::block_import_params()` return function that returns a future
* Simplify `SimpleSlotWorker::block_import_params()` to just async method
2021-12-16 11:01:30 +01:00
Kian Paimani
f10203c793
move generics of election trait to associated types ( #10475 )
...
* move generics of election trait to associated types
* fix doctest
2021-12-16 06:24:28 +00:00
dharjeezy
1b0be8ae06
Replace parameter_types with ConstU32 &c. ( #10402 )
...
* remove parameter types and use const type
* remove parameter types and use const type
* Delete {
* Delete count,
* refractor for beefy, benchmarking, child bounties, and collective pallets
* refractor for pallet contracts
* refractor for elections
* refractor for more pallets
* fix CI issues
* fix CI issues
* fix CI issues
* fix CI issues
* remove warning to fix CI issue
* remove warning to fix CI issue
refractor for pallet preimage
* remove warning to fix CI issue
refractor for pallet proxy
* remove warning to fix CI issue
refractor for pallet recovery
refractor for pallet randomness-collective-flip
* remove warning to fix CI issue
refractor for pallet scored-pool
refractor for pallet scheduler
refractor for pallet session
* remove warning to fix CI issue
refractor for pallet society, support, system, timestamp, tips
* remove warning to fix CI issue
refractor for pallet transaction_payment, transaction_storage, treasury, uniques, utility
* remove warning to fix CI issue
* cargo +nightly fmt
* CI fix
* more param refractor on beefy-mmr
* refractor for beefy
* Update frame/babe/src/mock.rs
* Update frame/babe/src/mock.rs
* Update frame/bounties/src/tests.rs
* Update frame/tips/src/tests.rs
* Delete mock.rs
* Update frame/examples/basic/src/tests.rs
* Apply suggestions from code review
* Update frame/im-online/src/mock.rs
* Update frame/im-online/src/mock.rs
* Update frame/offences/benchmarking/src/mock.rs
* Update frame/session/benchmarking/src/mock.rs
* Update frame/support/test/tests/pallet_compatibility.rs
* Update frame/support/test/tests/pallet_compatibility_instance.rs
* Update frame/treasury/src/tests.rs
* Update test-utils/runtime/src/lib.rs
* some cleanup
* fmt
* remove unused
Co-authored-by: Damilare <dakinlose@teamapt.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-12-16 03:06:11 +00:00
Guillaume Thiolliere
cf1eb73046
Deny warning when building doc ( #10387 )
...
* deny warning
* add new job
* fix doc
* fmt
2021-12-15 20:28:18 +01:00
dependabot[bot]
b3648e88e8
Bump parking_lot from 0.11.1 to 0.11.2 ( #10335 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.1 to 0.11.2.
- [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.1...0.11.2 )
---
updated-dependencies:
- dependency-name: parking_lot
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>
2021-12-15 13:45:30 +01:00
David
edf73199ab
Prepare sp-runtime for publication ( #10451 )
...
* Bump versions of sp-core and dependencies to v4.0.0
* Update references from `4.0.0-dev` –> `4.0.0`
* Funny whitespace
* Funny whitespace 2
* Prepare `sp-runtime` for publication
2021-12-15 12:36:17 +01:00
Bastian Köcher
87b2279f7c
Fix link to grafana dashboard ( #10492 )
2021-12-15 13:13:18 +02:00
Bastian Köcher
5b39dfad53
sp-version: Add some more docs. ( #10486 )
...
* sp-version: Add some more docs.
* Apply suggestions from code review
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-15 09:15:48 +01:00
Alexander Theißen
1939567a79
Emit ContractReverted error when revert flag is set ( #10481 )
...
* Emit `ContractReverted` error when revert flag is set
* `is_success()` -> `did_revert()`
2021-12-15 07:35:05 +00:00
Gavin Wood
7ee25416c2
Fix update_lock ( #10485 )
...
* Fix update_lock
* Fixes
* Formatting
* add `inc_consumers_without_limits` to session too
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-15 01:27:13 +01:00
Bastian Köcher
1d3b51361a
rpc-author: Downgrade the logging level of some logs ( #10483 )
...
* rpc-author: Downgrade the logging level of some logs
Currently these messages are printed with `warn` levels, but they don't bring the node operator
anything. The problem with these log lines is that they are triggered by external users when they
send invalid transactions. This pr "resolves" this by downgrading the log severity to debug, aka not
shown by default.
* FMT
2021-12-15 00:51:12 +01:00
Bastian Köcher
bc0ecf8d40
Remove cargo unleash CI job ( #10482 )
...
* Remove cargo unleash CI job
The CI job is currently breaking, because we released some crates. We also don't need the job
currently because releases are not done. So, the job currently just annoys people and eats CPU time.
This brings us to the conclusion that this job is currently not required and can be readded at a
later point when we are sure that we need it.
* Hopefully fix UI test
* Another try
* Remove `reserved_keyword` ui
2021-12-14 23:44:04 +01:00
Bastian Köcher
187663e1f1
Prepare code for rust 1.57 ( #10471 )
...
* Prepare code for rust 1.57
* CI: revert me; staging image with stable 1.57
* Revert "CI: revert me; staging image with stable 1.57 [skip CI]"
This reverts commit f3c3b8a9e877ef7126ffce6ebc4822bb4ace0379.
Co-authored-by: CI system <>
2021-12-14 13:05:47 +01:00
Koute
7711f5266e
Statically register host WASM functions ( #10394 )
...
* Statically register host WASM functions
* Fix `substrate-test-client` compilation
* Move `ExtendedHostFunctions` to `sp-wasm-interface`
* Fix `sp-runtime-interface` tests' compilation
* Fix `sc-executor-wasmtime` tests' compilation
* Use `runtime_interface` macro in `test-runner`
* Fix `sc-executor` tests' compilation
* Reformatting/`rustfmt`
* Add an extra comment regarding the `H` generic arg in `create_runtime`
* Even more `rustfmt`
* Depend on `wasmtime` without default features in `sp-wasm-interface`
* Bump version of `sp-wasm-interface` to 4.0.1
* Bump `sp-wasm-interface` in `Cargo.lock` too
* Bump all of the `sp-wasm-interface` requirements to 4.0.1
Maybe this will appease cargo-unleash?
* Revert "Bump all of the `sp-wasm-interface` requirements to 4.0.1"
This reverts commit 0f7ccf8e0f371542861121b145ab87af6541ac30.
* Make `cargo-unleash` happy (maybe)
* Use `cargo-unleash` to bump the crates' versions
* Align to review comments
2021-12-14 08:26:40 +00:00
Adrian Catangiu
23c5b6755b
beefy: update CODEOWNERS ( #10464 )
...
Signed-off-by: acatangiu <adrian@parity.io >
2021-12-13 20:25:05 +01:00
Gavin Wood
1e24e45ea1
Remove Default bound for AccountId ( #10403 )
...
* Remove Default for AccountId
* More removals of default
* Update frame/authorship/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/authorship/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/authorship/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/authorship/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* More work
* More work
* Remove old code
* More work
* pallet-asset-tx-payment
* tips
* sc-consensus-babe
* sc-finality-grandpa
* sc-consensus-babe-rpc
* sc-cli
* make npos crates accept non-default account (#10420 )
* minimal changes to make npos pallets all work
* make this pesky reduce.rs a bit cleaner
* more work
* more work
* Tests build
* Fix imonline tests
* Formatting
* Fixes
* Fixes
* Fix bench
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Formatting
* Fixes
* Formatting
* Fixes
* Formatting
* Fixes
* Formatting
* Fixes
* Formatting
* Update client/keystore/src/local.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/finality-grandpa/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/keystore/src/local.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/keystore/src/local.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/staking/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/staking/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update primitives/runtime/src/traits.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Formatting
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: kianenigma <kian@parity.io >
2021-12-13 15:03:59 +01:00
Bastian Köcher
a4ccc26e33
frame-system weights: Remove set_changes_trie_config. ( #10470 )
...
This dispatchable was removed, so we don't need it anymore.
2021-12-13 07:23:26 +00:00
Gavin Wood
ca0b816f08
Make Preimage WeightInfo public ( #10474 )
2021-12-12 00:41:46 +01:00
Denis Tsai
7728dd7db0
expose ecdsa_sign_prehashed in sp-io ( #10119 )
...
* expose ecdsa_sign_prehashed in sp-io
* add ecdsa_verify_prehashed to host functions for completeness
* cargo fmt
2021-12-11 16:20:18 +01:00
Gavin Wood
5e50e0bc2c
Preimage registrar and Scheduler integration ( #10356 )
...
* initial idea
* more
* fix compile
* add clear and request logic
* improve some docs
* Add and implement trait
* continuing to improve
* refcount type
* infallible system preimage upload
* fmt
* fix requests
* Make it simple
* Make it simple
* Formatting
* Initial draft
* request when scheduled
* Docs
* Scheduler good
* Scheduler good
* Scheduler tests working
* Add new files
* Missing stuff
* Repotting, add weights.
* Add some tests to preimage pallet
* More tests
* Fix benchmarks
* preimage benchmarks
* All preimage benchmarks
* Tidy cargo
* Update weights.rs
* Allow hash provision in benchmarks
* Initial work on new benchmarks for Scheduler
* Tests working, refactor looks good
* Tests for new Scheduler functionality
* Use real weight, make tests work with runtimes without Preimage
* Rename
* Update benchmarks
* Formatting
* Formatting
* Fix weird formatting
* Update frame/preimage/src/lib.rs
* Fix try-runtime build
* Fixes
* Fixes
* Update frame/support/src/traits/tokens/currency.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/support/src/traits/tokens/currency/reservable.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/support/src/traits/tokens/imbalance.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/preimage/src/mock.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Update frame/scheduler/src/lib.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* Update frame/preimage/src/lib.rs
* Fixes
* Fixes
* Formatting
* Fixes
* Fixes
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_scheduler --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/scheduler/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_preimage --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/preimage/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Parity Bot <admin@parity.io >
2021-12-11 15:55:23 +01:00