Sergei Shulepov
bd422af092
prepare worker: Catch unexpected unwinds ( #4304 )
...
* prepare worker: Catch unexpected unwinds
* Use more specific wording for unknown panic payload
2021-11-18 19:11:13 +01:00
André Silva
be85d5cb96
Enable BEEFY explicitly ( #4320 )
...
* enable beefy explicitly
* update beefy cli flag docs
2021-11-18 17:10:23 +00:00
Koute
15a0bfb0f6
Clear WASM linear memory on other OSes besides Linux too ( #10291 )
2021-11-18 11:16:38 +00:00
dependabot[bot]
946bd0953b
Bump serde_json from 1.0.70 to 1.0.71 ( #4316 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71 )
---
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>
2021-11-18 09:45:38 +00:00
MOZGIII
6e424d74ff
Set current dir at check_wasm_toolchain_installed at wasm-builder ( #10284 )
...
* Set current dir at check_wasm_toolchain_installed
* Add comments
2021-11-18 09:05:48 +00:00
Shawn Tabrizi
6c6788d87a
Fix Weight Handlebar Template ( #10302 )
...
* fix template
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-11-18 04:14:16 +00:00
dependabot[bot]
2a114004cd
Bump strum from 0.22.0 to 0.23.0 ( #4308 )
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.22.0 to 0.23.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>
2021-11-17 21:25:06 +01:00
Lldenaurois
99728aaca2
Remove sort_unstable_by ( #4314 )
2021-11-17 18:51:42 +00:00
Bastian Köcher
29aaa00086
Update Substrate & Polkadot ( #766 )
2021-11-17 15:39:40 +01:00
wigy
3f0f1aa6f7
Offence implementations can disable offenders independently from slashing ( #10201 )
...
* Offence implementations can disable offenders independently from slashing
* Fix build on CI
* Run cargo fmt
* Fixes based on review comments
* Make parameter naming consistent
* Fix migration and some English
* Fix migration - again
* cargo fmt
* Cover 2 new cases with a test
2021-11-17 14:11:02 +00:00
dependabot[bot]
dc33cda116
Bump tokio from 1.13.0 to 1.14.0 ( #4298 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.13.0 to 1.14.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 13:50:08 +00:00
Seun Lanlege
186efbc2a5
Check if BEEFY authority is in current set ( #10281 )
...
* check if BEEFY authority is in current set
* Update client/beefy/src/round.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/beefy/src/round.rs
* Update client/beefy/src/round.rs
Co-authored-by: Andreas Doerr <adoerr@users.noreply.github.com >
* remove stray semi
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Andreas Doerr <adoerr@users.noreply.github.com >
2021-11-17 13:46:10 +01:00
Bastian Köcher
506ca48dc8
Offchain testing: Fix reading response ( #10294 )
2021-11-17 11:35:21 +01:00
Bastian Köcher
620a4e45de
Substrate companion: Authority discovery multiple peer ids ( #4295 )
...
* Substrate companion: Authority discovery multiple peer ids
Authority discovery before had a fixed mapping from `PeerId` to
`AuthorityId`. This wasn't correct, as a `PeerId` can actually map to
multiple `AuthorityId`s. The linked Substrate pr fixes this.
https://github.com/paritytech/substrate/pull/10259
* Update node/network/availability-distribution/src/requester/mod.rs
* Update node/network/collator-protocol/src/validator_side/mod.rs
* Update node/network/statement-distribution/src/tests.rs
* Update guide
* Adapt to Substrate pr
* Update Substrate
2021-11-17 11:35:02 +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
6664019e9d
Companion for substrate#9878 ( #3949 )
...
* Companion for substrate#9878
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-17 17:09:03 +09: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
Bernhard Schuster
1aa6a4aba4
move paras inherent filtering to runtime ( #4028 )
...
* move things around, add filter methods
* validator keys, modify availability bitfields according to disputes
* simplify, keep the filter -> sanitize generic for both usecases
* minor
* assure tests still work, reduce changeset
* integration
* start entropy passing
* fixins
* compile, 1 failing test
* filter with coverage
* fixins
* Update runtime/parachains/src/paras_inherent.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* slip of the pen
* improve test cases
* misc
* fix
* fixins
* test avoid extra into() calls in assert_noop!
* chores
* ff
* test fixup superfluous into call
* chore: pfmt
* improve apply_block_weight_limit to try to maximize the number of sufficiently backed
blocks and add extra bitfields in a round-robin fashion
* new code treats the lack of backed candidates as ok
* Use vrf based entropy
* fixup vrf random
* add warn
* slip of the pen
* fixup
* assure ordering
* rethink apply_weights
* mock
* use a closure as predicate check
* extract and use DisputedBitfield
* chore: simplify
* remove stray dbg
* chore: fmt
* address feedback
* fix test, halfway there
* stage1
* dbg stuff
* make group selection align
* fix session index
* fix wrongly returned candidates
* cleanup
* chore fmt
* fix ensure check
* make good case test work
* more tests for bitfields
* create sanitize_backed_candidates
* fixup tests
* update guide
* add check referenced in the guide
* improve weights code
* fmt
* fixins
* Update roadmap/implementers-guide/src/runtime/inclusion.md
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
* compiling + address review
* add comments
* fix weight calc
* address review comments and test failure
* fix
* fix: condition
* Fix random_sel function
* Fix overlength block check
* Zeke + Ladi commit for disputes filtering + integration test builder + runtime benchmarks + integration tests
* Add benchmarks for code upgrades
* Code upgrade bench; Feature gate TestWeightInfo
* Try and make CI happier
* Feature gate enter test to not(benchmarks)
* Make sure no unused imports/fn
* refactor, re-use, the beginning
* Fix issue with frame benchmarking dep compilation
* More precise feature gating for some derives
* integrate piece-wise
* foo
* fixins
* chore fmt
* fixins
* rename const generic
* Update runtime/parachains/src/paras_inherent.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Fix compilation
* limit to test
* remove unused spam slots
* spellcheck
* remove a tick, fix a typo
* Add Code upgrade weights
* comment improvements + >=
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* remove another tick
* Update runtime/parachains/src/paras_inherent/benchmarking.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* saturating fixins + some spaces
* fix
* benchmarking - preliminary results
* Add training wheels
* Refactor some early exit logic for enter
* Gracefully handle filtering bitfields & candidates (#4280 )
This updates the logic for sanitize_bitfields and sanitize_backed_candidates to never error when there is an issue, but instead to simply skip the problematic items.
* Refactor inherent data weight limiting logic (#4287 )
* Apply suggestions from code review
* Update runtime/parachains/src/builder.rs
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Update runtime/parachains/src/builder.rs
* Update runtime/parachains/src/paras_inherent.rs
* final pass
* Run cargo +nightly-2021-10-29 fmt
* Update implementors guide with `sanitize_*` & `enter` (#4294 )
* Make spell check happier
* Make wasm runtimes compile with benchmarks enabled (#4303 )
* comment stuff out, use old toml
* Seems to be working?
* Remove feature gating from builder
* Remove commented out stuff
* Remove generic from digest
* Update weight files for runtime
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-11-16 18:39:39 +00:00
dependabot[bot]
4a2e412000
Bump async-process from 1.1.0 to 1.3.0 ( #4260 )
...
Bumps [async-process](https://github.com/smol-rs/async-process ) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/smol-rs/async-process/releases )
- [Changelog](https://github.com/smol-rs/async-process/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-process/compare/v1.1.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: async-process
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-16 18:07:55 +01: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
Liu-Cheng Xu
986372bb68
Specify edition 2021 in .rustfmt.yml ( #760 )
...
This PR is mainly to fix the error `[E0670]: async fn is not permitted in the 2015 edition` when
using Vim along with rust-analyzer, it also removes an unused dependency from parachain-template.
Ref: https://github.com/rust-analyzer/rust-analyzer/issues/1959
2021-11-16 15:12:50 +01:00
Dan Shields
70923da617
move to rust 2021 ( #759 )
...
* move to rust 2021
* fix formatting, more moves
2021-11-16 15:12:06 +01: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
dependabot[bot]
02c6ed32e4
Bump serde_json from 1.0.69 to 1.0.70 ( #4284 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70 )
---
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>
2021-11-16 09:32:07 +01:00
Alexander Theißen
363dbbe8da
Forward wasmer-sandbox feature to sp-sandbox ( #10268 )
2021-11-16 06:52:27 +00:00
David Salami
8d4f82a1f0
Update field event variants ( #749 )
...
* update field events
* update polkadot and substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-16 03:31:36 +00:00
David Salami
0ca459d2f2
Update event variants ( #4262 )
...
* update event variants
* fmt
* fixes
* update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-11-16 02:53:48 +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
Shawn Tabrizi
59e90a77f0
Tweaks to XCM for Benchmarking ( #4283 )
...
* tweaks to xcm stuff for benchmarking
* Update xcm/xcm-executor/src/lib.rs
2021-11-15 21:38:11 +00:00
Shawn Tabrizi
b6786e69bf
Update Cargo.lock ( #763 )
2021-11-15 21:00:53 +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
Martin Pugh
08b8929c32
bump versions ( #4285 )
2021-11-15 14:05:12 +01:00
Sergei Shulepov
2769066136
Increase preparation timeout ( #4270 )
...
* Increase preparation-timeout to 60 seconds
* Adapt `pvf_preparation_time` metric to the new value
2021-11-15 12:48:00 +01: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]
43ffe16e4c
Bump hex-literal from 0.3.3 to 0.3.4 ( #4264 )
...
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 21:58:04 +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
Chris Sosnin
f5fbaa139f
PVF host prechecking support v2 ( #4123 )
...
* pvf host: store only compiled artifacts on disk
* Correctly handle failed artifacts
* Serialize result of PVF preparation uniquely
* Set the artifact state depending on the result
* Return the result of PVF preparation directly
* Move PrepareError to the error module
* Update doc comments
* Update misleading comment
* pvf host: turn off parallel compilation
* pvf host: implement precheck requests
* Fix warnings
* Unnecessary clone
* Add a note about timed out outcome
* Revert the pool outcome handling behavior
* Move the prepare result type into error mod
* Test prepare done
* fmt
* Add an explanation to wasmtime config
* Split pvf host test
* Add precheck to dictionary
Co-authored-by: Sergei Shulepov <sergei@parity.io >
2021-11-13 17:25:59 +01:00
Sergei Shulepov
ada3fe1a2b
Limit the number of PVF workers ( #4273 )
...
* Limit the number of PVF workers
In particular, limit the number of preparation workers to 1 (soft &
hard) and limit the number of execution workers to 2.
The reason why we are doing this is that it seems many workers launched
at the same time can cause problems. I.e. if there are more than 2
preparation workers, the time for preparation rises significantly to the
point of reaching the timeout.
This was mostly observed with parallel_compilation=true, so each worker
used `numcpu` threads and now we are looking to flip that parameter to
`false`. That said, we want to err on the safe side here and gradually
enable it later if our measurements show that we can do that safely.
* Adjust the test to accomodate the changed config value
2021-11-13 13:02:25 +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
Denis Pisarev
1568bb5c9a
3x8 update nightly fix fmt ( #4241 )
...
* CI: revert me [skip ci]
* CI: revert me too
* fmt with latest nightly
* CI: undebug
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-12 21:06:31 +01:00
Sergei Shulepov
d9b6a44b2b
Update requirement for pwasm-utils ( #10250 )
2021-11-12 20:38:26 +01:00
Bernhard Schuster
2595d8c23c
chore: fmt should print version ( #4274 )
...
Because it's just too aggravating having to fetch the container every time to
find out the version of cargo +nightly fmt.
2021-11-12 17:31:28 +00:00