Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

introduce errors with info #1834

Merged
merged 65 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
980a360
add sub errors to SubSystemError
drahnr Oct 21, 2020
f8ea7d8
step 2
drahnr Oct 21, 2020
172d88f
step 3
drahnr Oct 21, 2020
00aed75
step 4
drahnr Oct 21, 2020
ae0d715
nits
drahnr Oct 22, 2020
1cdb5b7
fixes
drahnr Oct 22, 2020
1fe0d65
wrap subsystem errors
drahnr Oct 22, 2020
e95d950
more steps
drahnr Oct 22, 2020
3927413
make subsystem errors more specific
drahnr Oct 22, 2020
48ac8ae
avail-dist: expressive errors
drahnr Oct 22, 2020
3acbe56
fixup cargo lock
drahnr Oct 22, 2020
a46f907
Update node/subsystem/src/lib.rs
drahnr Oct 23, 2020
d139597
Update node/subsystem/src/errors.rs
drahnr Oct 23, 2020
73c17e7
Update node/overseer/src/lib.rs
drahnr Oct 23, 2020
c7f8f9e
Update node/overseer/Cargo.toml
drahnr Oct 23, 2020
f1844c8
Update node/subsystem/src/lib.rs
drahnr Oct 23, 2020
9ba05a5
Update node/overseer/src/lib.rs
drahnr Oct 23, 2020
73067cf
chore format
drahnr Oct 23, 2020
727fcf1
chore add #![deny(..)] to most files.
drahnr Oct 23, 2020
8a42dfd
make the erasure wrapper use thiserror
drahnr Oct 23, 2020
597b7c2
remove derive_from where possible, unify version to 0.99.11
drahnr Oct 23, 2020
2170598
Update node/core/chain-api/src/lib.rs
drahnr Oct 23, 2020
6b6f38c
rewrap
drahnr Oct 26, 2020
d16efd7
undo whitespace madness
drahnr Oct 26, 2020
8988421
Merge remote-tracking branch 'origin/master' into bernhard-errors-wit…
drahnr Oct 26, 2020
e65b342
erasure coding error message fix
drahnr Oct 26, 2020
931558e
merge fallout
drahnr Oct 26, 2020
6516cca
add missing #[error] annotations
drahnr Oct 26, 2020
73f6ee3
chore extra spaces between #[from] and wrapped error
drahnr Oct 26, 2020
574d93f
chore: cleanup unused dependencies
drahnr Oct 26, 2020
ce334f9
moar
drahnr Oct 26, 2020
2b4a0fc
chore
drahnr Oct 26, 2020
86c5a43
service is too much pain for the gain
drahnr Oct 26, 2020
64a95ba
fallout
drahnr Oct 26, 2020
722aa4d
chore
drahnr Oct 26, 2020
4e730cd
fixes from cargo b --workspace
drahnr Oct 26, 2020
1753724
fixup core-backing
drahnr Oct 26, 2020
199a682
fixup bitfield-signing
drahnr Oct 26, 2020
b7268a3
fixup provisioner
drahnr Oct 26, 2020
0e6a1f7
fix subsys-test-helpers, fixup bitfield-distribution
drahnr Oct 26, 2020
ce9ef22
fixup av-store
drahnr Oct 26, 2020
6de2908
fixup chain-api
drahnr Oct 26, 2020
c07b2ef
Update node/subsystem-util/Cargo.toml
drahnr Oct 26, 2020
317ab57
Update validation/src/error.rs
drahnr Oct 26, 2020
37ade03
Update erasure-coding/src/lib.rs
drahnr Oct 26, 2020
6cacc59
Update erasure-coding/src/lib.rs
drahnr Oct 26, 2020
5ef5f8c
fixup pov-distribution
drahnr Oct 26, 2020
12293b3
fixup candidate-validation
drahnr Oct 26, 2020
5297f8c
chore: tabs vs spaces
drahnr Oct 26, 2020
e358347
fixup candidate selection
drahnr Oct 26, 2020
b6b436e
fixup availability distribution
drahnr Oct 26, 2020
36cbf66
fixup runtime-api
drahnr Oct 26, 2020
acdcc3b
fixup statement-distribution
drahnr Oct 26, 2020
8086835
fixup provisioner
drahnr Oct 26, 2020
59bb59d
fixup subsystem-util
drahnr Oct 26, 2020
0b0237a
fixup availability distr
drahnr Oct 26, 2020
3f3cc02
finalize fixups
drahnr Oct 26, 2020
60cee2c
Merge remote-tracking branch 'origin/master' into bernhard-errors-wit…
drahnr Oct 26, 2020
576ff06
chore: spaces vs tabs
drahnr Oct 26, 2020
3dc8e30
review comments.
drahnr Oct 26, 2020
9723752
3 -> 3u32
drahnr Oct 26, 2020
4d93bfb
update substrate to d766e229466d63afadd19097e277d85146fee3c9"
drahnr Oct 26, 2020
755f919
add u32 type annotations
drahnr Oct 26, 2020
72e8426
Merge branch 'master' into bernhard-errors-with-info
ordian Oct 26, 2020
8eea3b8
avoid the pain with cli for now
drahnr Oct 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup candidate-validation
  • Loading branch information
drahnr committed Oct 26, 2020
commit 12293b359c267b21fe8284b1a87435998429dd5f
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions node/core/candidate-validation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
derive_more = "0.99.9"
futures = "0.3.5"
log = "0.4.8"
log = "0.4.11"

sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-core = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master" }
parity-scale-codec = { version = "1.3.0", default-features = false, features = ["bit-vec", "derive"] }

Expand Down
2 changes: 1 addition & 1 deletion node/core/candidate-validation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#![warn(missing_docs)]

use polkadot_subsystem::{
Subsystem, SubsystemContext, SpawnedSubsystem, SubsystemResult,
Subsystem, SubsystemContext, SpawnedSubsystem, SubsystemResult, SubsystemError,
FromOverseer, OverseerSignal,
messages::{
AllMessages, CandidateValidationMessage, RuntimeApiMessage,
Expand Down