Bastian Köcher
506ca48dc8
Offchain testing: Fix reading response ( #10294 )
2021-11-17 11:35:21 +01:00
Bastian Köcher
f037651788
authority-discovery: Support multiple authority ids per peer id ( #10259 )
...
* authority-discovery: Support multiple authority ids per peer id
An peer id can be mapped to multiple authority ids, because an authority id is a session key that
could be changed every session. Before this pr the internal authority discovery cache assumed that
each authority id can only be mapped to one peer id. However, this isn't true since we changed the
default implementation of the authority discovery to combine the current and next session authorities.
* Review feedback
* Update client/authority-discovery/src/worker/addr_cache.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Early return on no peer ids
* Update client/authority-discovery/src/worker/addr_cache.rs
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
* Update types in comment
* FMT
* Add warning
* Update client/authority-discovery/src/worker/addr_cache.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Feedback
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
2021-11-17 10:53:31 +01:00
Qinxuan Chen
0b224d1b60
pallet-session: Migrate the historical part to the new pallet macro ( #9878 )
...
* Migrate session-historical to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* pallet-session: Migrate the historical part to the new pallet macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix staking test runtime
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update frame/session/src/historical/mod.rs
* Update frame/session/src/historical/mod.rs
* update migration doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* use hardcoded prefix for migration v1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo +nightly-2021-11-08 fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2021-11-17 16:16:28 +09:00
Kian Paimani
256c35f473
Update mod.rs ( #10277 )
...
As many people are unbonding, I've had to explain this to a handful of people recently. This improves the error message a bit and puts it in the error description, so that it is shown in the front page of all explorers if `unbond` fails, hopefully making it clear.
2021-11-16 14:17:19 +00:00
dependabot[bot]
2fa2e66019
Bump handlebars from 3.5.3 to 4.1.4 ( #10273 )
...
Bumps [handlebars](https://github.com/sunng87/handlebars-rust ) from 3.5.3 to 4.1.4.
- [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/v3.5.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: handlebars
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>
2021-11-16 14:03:48 +01:00
Bastian Köcher
41218ba184
Vesting: Fix post_migration check ( #10280 )
...
* Vesting: Fix `post_migration` check
As the vesting migration could already have been done, people could already have started to merge schedules.
* 🤦
2021-11-16 13:02:04 +00:00
Bastian Köcher
12cf771a7a
Cli: Introduce --detailed-log-output flag ( #10278 )
...
* Cli: Introduce `--detailed-log-output` flag
If this CLI flag is given, detailed log output will be enabled. This includes the log level, log
target ad the thread name. Before this was only enabled when a log level higher than `info` should
be logged.
* Update client/tracing/src/logging/mod.rs
Co-authored-by: David <dvdplm@gmail.com >
Co-authored-by: David <dvdplm@gmail.com >
2021-11-16 14:01:35 +01:00
Alexander Theißen
363dbbe8da
Forward wasmer-sandbox feature to sp-sandbox ( #10268 )
2021-11-16 06:52:27 +00:00
David Salami
120894fdb7
Add field names to pallet Event variants ( #9993 )
...
* convert pallet-assets events to struct types
* updated events of a couple pallets
* updated pallet event field names
* update pallet event field names
* updated events in test files
* cargo fmt
* minorfixes
* fix assertion error
* minor fix
* formatting fix
* fmt
2021-11-16 01:56:00 +00:00
dharjeezy
fb3c7326c2
client/service: refactor group param of spawn into an Enum ( #10248 )
...
* refractored group param to enum
* refractored group param to enum
* changed group param to GroupName enum for other methods too such as spawn_inner
updated docs
* revert on task type
* put back ticks in GroupName
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* document group name
change specific to actual in enum declaration
* change documentation
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* changed Actual to Specific
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/service/src/task_manager/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Damilare <dakinlose@teamapt.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-15 19:41:41 +00:00
dependabot[bot]
4a4284a08b
Bump tokio from 1.12.0 to 1.13.0 ( #10265 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.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-11-15 19:39:11 +00:00
Ayevbeosa Iyamu
8a5bb77e03
Add field names to pallet Event variants ( #10184 )
...
* Changed named fields to struct variants
* Fixed errors.
* Made adjustments as per `cargo +nightly fmt`.
* Update frame/uniques/src/lib.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* Removed redundant comments for structs.
* Moved frame-support to dev dependencies
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2021-11-15 19:16:03 +00:00
Bastian Köcher
9ee0b1cb6c
Keystore: Store files with permission 600 on unix ( #10263 )
2021-11-15 11:45:37 +00:00
Kian Paimani
4920ce5a61
rework staking::reap_stash ( #10178 )
...
* rework reap_stash
* Update frame/staking/src/pallet/mod.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Update frame/staking/src/pallet/mod.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Update frame/staking/src/pallet/mod.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Fix
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
2021-11-14 15:04:20 +00:00
Bastian Köcher
b769c754be
Fix cargo unleash check ( #10261 )
2021-11-13 22:57:19 +00:00
dependabot[bot]
101366a351
Bump cargo_metadata from 0.13.1 to 0.14.1 ( #10255 )
...
Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata ) from 0.13.1 to 0.14.1.
- [Release notes](https://github.com/oli-obk/cargo_metadata/releases )
- [Commits](https://github.com/oli-obk/cargo_metadata/compare/v0.13.1...0.14.1 )
---
updated-dependencies:
- dependency-name: cargo_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-11-13 21:27:46 +01:00
dependabot[bot]
e57dd4845e
Bump nix from 0.19.1 to 0.23.0 ( #10254 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.19.1 to 0.23.0.
- [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.19.1...v0.23.0 )
---
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>
2021-11-13 19:56:41 +01:00
dependabot[bot]
bae12f41b8
Bump structopt from 0.3.23 to 0.3.25 ( #10253 )
...
* Bump structopt from 0.3.23 to 0.3.25
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25 )
---
updated-dependencies:
- dependency-name: structopt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* cargo fmt
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-11-13 02:35:07 +00:00
dependabot[bot]
423cde8ad0
Bump hex-literal from 0.3.3 to 0.3.4 ( #10246 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.3...hex-literal-v0.3.4 )
---
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>
2021-11-13 00:32:44 +00:00
Sergei Shulepov
d9b6a44b2b
Update requirement for pwasm-utils ( #10250 )
2021-11-12 20:38:26 +01:00
dependabot[bot]
67be56a39f
Bump rustversion from 1.0.4 to 1.0.5 ( #10243 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.4...1.0.5 )
---
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-11-12 14:42:26 +01:00
Arkadiy Paronyan
4cbbf0cf43
Kill the light client, CHTs and change tries. ( #10080 )
...
* Remove light client, change tries and CHTs
* Update tests
* fmt
* Restore changes_root
* Fixed benches
* Cargo fmt
* fmt
* fmt
2021-11-12 14:15:01 +01:00
Doordashcon
112b7dac47
tuple to struct event variants ( #10206 )
...
* update sudo pallet
* Update mock.rs
* cargo +nightly fmt
* frame-support remote-externalities
* AFNPEV tips
* AFNPEV bin & update sudo
* cargo +nightly fmt
* optional dependency remote-test feature
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-11 23:48:37 +00:00
dependabot[bot]
4aae801ccf
Bump thiserror from 1.0.26 to 1.0.30 ( #10240 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.26 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.26...1.0.30 )
---
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>
2021-11-11 23:32:27 +00:00
Guillaume Thiolliere
1ae674dd76
Warn about usage of pallet collective set members call. ( #10156 )
...
* warn
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* fmt
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2021-11-11 22:53:43 +00:00
dependabot[bot]
80c3ce1590
Bump git2 from 0.13.22 to 0.13.23 ( #10238 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.22 to 0.13.23.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.22...0.13.23 )
---
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-11-11 19:43:04 +01:00
sandreim
fdb3c64243
Add group name in task metrics ( #10196 )
...
* SpawnNamed: add new trait methods
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Implement new methods
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* SpawnNamed: add new trait methods
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Implement new methods
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* New approach - spaw() group param
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update traits: SpawnNamed and SpawnNamed
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update TaskManager tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update test TaskExecutor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunt work: fix spawn() calls
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove old code
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt - the right version
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Implement review feedback
- use Option group name in SpawnNamed methods
- switch to kebab case
- implement default group name
- add group name to some tasks
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-11-11 17:15:09 +00:00
dependabot[bot]
2c5337e4b2
Bump proc-macro-crate from 1.0.0 to 1.1.0 ( #10237 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.0.0 to 1.1.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-11 16:58:14 +01:00
dependabot[bot]
d9d4a59dc2
Bump parity-util-mem from 0.10.0 to 0.10.2 ( #10236 )
...
Bumps [parity-util-mem](https://github.com/paritytech/parity-common ) from 0.10.0 to 0.10.2.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/parity-util-mem-v0.10.0...parity-util-mem-v0.10.2 )
---
updated-dependencies:
- dependency-name: parity-util-mem
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-11-11 12:02:39 -03:00
dependabot[bot]
3e7d9e9491
Bump substrate-bip39 from 0.4.2 to 0.4.4 ( #10213 )
...
Bumps [substrate-bip39](https://github.com/paritytech/substrate-bip39 ) from 0.4.2 to 0.4.4.
- [Release notes](https://github.com/paritytech/substrate-bip39/releases )
- [Commits](https://github.com/paritytech/substrate-bip39/commits )
---
updated-dependencies:
- dependency-name: substrate-bip39
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-11-11 13:56:46 +00:00
David
eeb80f9e0b
Upgrade jsonrpsee to v0.4.1 ( #10022 )
...
* Upgrade jsonrpsee to v0.4.1
* remove needless BlockT trait bound
* use default wss port in URL
* Fix try_runtime build
* Partially fix for "remote-tests" feature
* Review feedback
* fmt
* Sort out trait bounds for benches
* Fmt
* fmt again?
* fmt with nightly-2021-09-13
* Upgrade try-runtime as well
* fmt
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2021-11-11 11:29:28 +00:00
sander2
bb6aecee7a
expose substrate-cli service ( #10229 )
...
* expose substrate-cli service
* chore: undo change to new_full (since new_full_base is exposed already)
2021-11-11 08:23:34 +00:00
Benjamin Kampmann
2168a6d0c9
Intend to reactivate cargo-unleash check ( #10167 )
...
* Intend to reactivate cargo-unleash check
It appears the bug it was deactivated for has been resolved a while ago. Trying to reactivate the checks.
* adding missing cargo.toml metadata for BEEFY crates
* fix wrong version reference
* matching up versions
* disable faulty cache
* switching more versions to prerelease
* Revert "disable faulty cache"
This reverts commit 411a12ae444a9695a8bfea4458a868438d870b06.
* bump minor of sc-allocator to fix already-published-issue
* fixup another pre-released dependency problem
* temp switch to latest unleash
* fixing dependency version and features
* prometheus endpoint has also been changed
* fixing proposer metrics versioning
* fixing hex feature for beefy
* fix generate-bags feature selection
* fixup Cargo.lock
* upgrade prometheus dependencies
* missed one
* switch to latest release
2021-11-10 17:30:24 +01:00
Denis Pisarev
169f8caf7d
CI: build docs with deps ( #9884 )
2021-11-10 11:39:30 +01:00
Kian Paimani
60a50dabed
use CountedMap in pallet-bags-list ( #10179 )
...
* use CountedMap in pallet-bags-list
* Fix build
* Update frame/bags-list/src/list/mod.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* add a check as well
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-11-10 09:33:14 +00:00
Jimmy Chu
db59cfcf14
Move all example pallets under examples folder. ( #10215 )
...
* Put all examples under one folder
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
* Updated Cargo.toml
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
* updated for ci script
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
* update
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
* Added notes that example pallets are not meant to be used in production.
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
* updated
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com >
2021-11-10 08:11:28 +00:00
zjb0807
617e2cc75e
Upgrade wasm builder ( #10226 )
...
* add TypeInfo for DispatchTime
* upgrade wasm-builder to Rust 2021
* remove resolver
* revert resolver in virtual workspace
2021-11-10 08:03:52 +00:00
Squirrel
c4d903f945
upgrade ss58-registry with additional networks. ( #10224 )
...
* upgrade ss58-registry with additional networks.
* adding cargo lock
* Update primitives/core/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* turn on std
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-11-09 22:33:21 +00:00
Dan Shields
1286d5e00b
move wiki -> docs ( #10225 )
...
Co-authored-by: Dan Shields <danwshields@gmail.com >
2021-11-09 22:27:40 +01:00
Kian Paimani
e01edb0840
new remote-ext mode: ( #10192 )
2021-11-09 21:26:39 +00:00
Koute
59078fcf94
Add a block production benchmark ( #10104 )
...
* Add a block production benchmark
* Simplify the block production benchmark
* Cleanups; switch execution strategy to WASM
* Switch WASM execution to `Compiled`
* Reduce the setup cost of the benchmark
Creating all of those extrinsics takes up *a lot* of time, up to the point
where the majority of the time is actually spent *outside* of the code
which we want to benchmark here. So let's only do it once.
* Add a variant of the block production benchmark with proof recording
2021-11-09 13:38:31 +00:00
Arkadiy Paronyan
91b6d5970a
Bump parity-db ( #10218 )
...
* Bump parity-db
* Update cargo.lock
2021-11-09 13:08:34 +01:00
Koute
ef3eca4198
Bump wasmtime to 0.31.0 ( #10149 )
...
* Bump `wasmtime` to 0.31.0
* Bump `itoa` to 0.4.8
* sc-executor-wasmtime: fix `SandboxContext::invoke` which I've broke
* sc-executor-wasmtime: cargo fmt
2021-11-09 12:08:02 +00:00
Qinxuan Chen
5d5e685ebe
frame_support::pallet_prelude: Add scale_info::TypeInfo ( #10221 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-11-09 12:59:55 +01:00
David
3c624174ff
Remove the RPC client example ( #10217 )
...
* Remove the RPC client example
Might be slightly contentious but I think we want to migrate this example to `subxt` and redirect the community to use that for things like this.
* Remove rpc-client example code from workspace
2021-11-08 21:06:53 +00:00
Bastian Köcher
24ee605dcf
Fix polkadot companion label CI check ( #10198 )
...
* Fix polkadot companion label CI check
* Update .github/workflows/polkadot-companion-labels.yml
2021-11-08 21:05:39 +00:00
Bastian Köcher
03e9c5afd4
Offchain-worker: Accessing time is not HTTP ( #10220 )
...
Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a `TIME` capability.
2021-11-08 22:03:37 +01:00
Koute
a7e3d819f8
Refactor sp-sandbox; make sure both sandbox executors are always tested ( #10173 )
...
* sp-sandbox: convert executors into normal `mod`s instead of using `include!`
* sp-sandbox: run `cargo fmt` on `host_executor.rs`
* sp-sandbox: abstract away the executors behind traits
* sp_sandbox: always compile both executors when possible
* sc-executor: make sure all sandbox tests run on both sandbox executors
* sc-executor: fix brainfart: actually call into the sandbox through the trait
* sc-runtime-test: fix cargo fmt
* sc-runtime-test: deduplicate executor-specific sandbox test entrypoints
* sc-executor: test each sandbox executor in a separate test
* cargo fmt (Github's conflict resolving thingy broke indentation)
2021-11-08 12:52:11 +00:00
Arkadiy Paronyan
fe36fe85d1
Speedup block import ( #10211 )
2021-11-08 09:42:48 +00:00
dependabot[bot]
bc938cfb1a
Bump lru from 0.6.6 to 0.7.0 ( #10194 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.6 to 0.7.0.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.6...0.7.0 )
---
updated-dependencies:
- dependency-name: lru
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-11-08 00:31:11 +01:00