Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve config debug-ability #4456

Merged
merged 51 commits into from May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
d600a6b
[refactor]: put new API into `iroha_config_base`
0x009922 Apr 2, 2024
afb7893
[test]: move tests
0x009922 Apr 2, 2024
4c4d738
[feat]: create foundation for `ReadConfig` derive (wip)
0x009922 Apr 4, 2024
45b231f
[fix]: parse `default` properly
0x009922 Apr 4, 2024
aced8f6
[feat]: impl shape analysis
0x009922 Apr 4, 2024
8ad48f6
[test]: update stderr
0x009922 Apr 4, 2024
91735ba
[fix]: fix macro, it kind of works!
0x009922 Apr 5, 2024
2fc8e3c
[refactor]: improve errors
0x009922 Apr 5, 2024
2530f37
[refactor]: update `iroha_config` (wip)
0x009922 Apr 5, 2024
05756e9
[refactor]: update user layer, mostly
0x009922 Apr 5, 2024
d9f351d
[refactor]: move `iroha_config` onto the new rails
0x009922 Apr 8, 2024
f75d352
[refactor]: lints & chores
0x009922 Apr 8, 2024
c05d703
[fix]: fix visibility issues in data model
0x009922 Apr 8, 2024
60d99cf
[fix]: after-rebase chores
0x009922 Apr 8, 2024
a3219cd
[refactor]: update `iroha_core`
0x009922 Apr 8, 2024
39c132d
[refactor]: update the whole workspace
0x009922 Apr 12, 2024
4c4edea
[refactor]: lints
0x009922 Apr 12, 2024
741dd86
[chore]: fix cfg
0x009922 Apr 12, 2024
1a32bf6
[refactor]: balance trace logs
0x009922 Apr 15, 2024
5b9158f
[refactor]: move high-level validations to CLI layer
0x009922 Apr 15, 2024
ecb7368
[refactor]: change `custom` to `env_custom`
0x009922 Apr 15, 2024
a7277a8
[feat]: attach TOML value to report
0x009922 Apr 16, 2024
3d40a97
[feat]: enhance origin attachments
0x009922 Apr 16, 2024
e0a12c1
[fix]: client cli... works?
0x009922 Apr 17, 2024
8b62744
[refactor]: rehearse errors
0x009922 Apr 17, 2024
16a2e03
[refactor]: chores
0x009922 Apr 17, 2024
12a746e
[fix]: compiler errors and lints
0x009922 Apr 19, 2024
cc5e4ce
[test]: fix tests, validate addrs only in `release`
0x009922 Apr 19, 2024
475787e
[refactor]: internal docs, renamings, lints
0x009922 Apr 19, 2024
372d785
[test]: fix private keys in test configs
0x009922 Apr 19, 2024
092b698
[fix]: allow self peer id in trusted peers
0x009922 Apr 19, 2024
fc9d79b
[test]: update snapshot
0x009922 Apr 19, 2024
20f5e6d
Apply suggestions from code review
0x009922 Apr 21, 2024
685fa80
[feat]: prefix macro error
0x009922 Apr 21, 2024
2537779
[docs]: add a note about syntactic match
0x009922 Apr 21, 2024
2bd71ad
[refactor]: delegate parsing to `syn::punctuated`
0x009922 Apr 21, 2024
af9ed3f
[refactor]: use mutable reader, split `ReadingDone`
0x009922 Apr 22, 2024
b1dde94
[refactor]: lints
0x009922 Apr 22, 2024
a3809cb
[chore]: link false-positive issue
0x009922 Apr 22, 2024
1e9ad30
[refactor]: ignore report locations
0x009922 Apr 22, 2024
e90bdfd
[fix]: use `ExposedPrivateKey`
0x009922 Apr 26, 2024
6b6f039
[fix]: fix with all-features
0x009922 Apr 26, 2024
1cbb44c
[refactor]: chores
0x009922 Apr 26, 2024
e6eb497
[chore]: format
0x009922 Apr 26, 2024
fb57d67
refactor: use stricter `TrustedPeers` struct
0x009922 May 7, 2024
67ba895
chore: remove extra TODO
0x009922 May 7, 2024
dc607c8
refactor: remove `env_custom`
0x009922 May 8, 2024
ce0b248
chore: remove extra import
0x009922 May 8, 2024
ffa92f2
revert: return `pub(crate)` vis
0x009922 May 15, 2024
a196056
chore: dead import
0x009922 May 16, 2024
d3dbf2c
fix: fix path to `iroha_test_config.toml`
0x009922 May 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
845 changes: 350 additions & 495 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -30,6 +30,7 @@ iroha_data_model_derive = { version = "=2.0.0-pre-rc.21", path = "data_model/der
iroha_client = { version = "=2.0.0-pre-rc.21", path = "client" }
iroha_config = { version = "=2.0.0-pre-rc.21", path = "config" }
iroha_config_base = { version = "=2.0.0-pre-rc.21", path = "config/base" }
iroha_config_base_derive = { version = "=2.0.0-pre-rc.21", path = "config/base/derive" }
iroha_schema_gen = { version = "=2.0.0-pre-rc.21", path = "schema/gen" }
iroha_schema = { version = "=2.0.0-pre-rc.21", path = "schema", default-features = false }
iroha_schema_derive = { version = "=2.0.0-pre-rc.21", path = "schema/derive" }
Expand Down Expand Up @@ -96,11 +97,13 @@ spinoff = "0.8.0"

criterion = "0.5.1"
expect-test = "1.5.0"
assertables = "7"

eyre = "0.6.12"
color-eyre = "0.6.3"
thiserror = { version = "1.0.60", default-features = false }
displaydoc = { version = "0.2.4", default-features = false }
error-stack = "0.4.1"

cfg-if = "1.0.0"
derive_more = { version = "0.99.17", default-features = false }
Expand Down
7 changes: 4 additions & 3 deletions cli/Cargo.toml
Expand Up @@ -54,24 +54,25 @@ iroha_genesis = { workspace = true }
iroha_wasm_builder = { workspace = true }

clap = { workspace = true, features = ["derive", "env", "string"] }
color-eyre = { workspace = true }
eyre = { workspace = true }
error-stack = { workspace = true, features = ["eyre"] }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true, features = ["macros", "signal"] }
once_cell = { workspace = true }
owo-colors = { workspace = true, features = ["supports-colors"] }
supports-color = { workspace = true }
toml = { workspace = true }

thread-local-panic-hook = { version = "0.1.0", optional = true }

[dev-dependencies]
serial_test = "3.1.1"
tempfile = { workspace = true }
toml = { workspace = true }
json5 = { workspace = true }
futures = { workspace = true }
path-absolutize = { workspace = true }
assertables = "7"
assertables = { workspace = true }

[build-dependencies]
iroha_wasm_builder = { workspace = true }
Expand Down