Commit 9d91c77
feat: improve config debug-ability (#4456)
* [refactor]: put new API into `iroha_config_base`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [test]: move tests
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [feat]: create foundation for `ReadConfig` derive (wip)
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: parse `default` properly
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [feat]: impl shape analysis
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [test]: update stderr
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: fix macro, it kind of works!
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: improve errors
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: update `iroha_config` (wip)
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: update user layer, mostly
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: move `iroha_config` onto the new rails
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: lints & chores
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: fix visibility issues in data model
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: after-rebase chores
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: update `iroha_core`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: update the whole workspace
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: lints
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [chore]: fix cfg
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: balance trace logs
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: move high-level validations to CLI layer
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: change `custom` to `env_custom`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [feat]: attach TOML value to report
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [feat]: enhance origin attachments
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: client cli... works?
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: rehearse errors
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: chores
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: compiler errors and lints
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [test]: fix tests, validate addrs only in `release`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: internal docs, renamings, lints
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [test]: fix private keys in test configs
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: allow self peer id in trusted peers
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [test]: update snapshot
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: ⭐️NINIKA⭐️ <DCNick3@users.noreply.github.com>
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
* [feat]: prefix macro error
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [docs]: add a note about syntactic match
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: delegate parsing to `syn::punctuated`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: use mutable reader, split `ReadingDone`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: lints
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [chore]: link false-positive issue
rust-lang/rust#44752 (comment)
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: ignore report locations
address #4456 (comment)
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: use `ExposedPrivateKey`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [fix]: fix with all-features
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [refactor]: chores
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* [chore]: format
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* refactor: use stricter `TrustedPeers` struct
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* chore: remove extra TODO
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* refactor: remove `env_custom`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* chore: remove extra import
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* revert: return `pub(crate)` vis
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* chore: dead import
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
* fix: fix path to `iroha_test_config.toml`
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
---------
Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
Co-authored-by: ⭐️NINIKA⭐️ <DCNick3@users.noreply.github.com>1 parent bf789ef commit 9d91c77
81 files changed
Lines changed: 4916 additions & 3346 deletions
File tree
- client_cli
- src
- client
- benches
- tps
- examples
- src
- config
- user
- tests/integration
- events
- extra_functional
- triggers
- cli
- src
- configs
- config
- base
- derive
- src
- tests
- ui_fail
- ui_pass
- src
- tests
- src
- parameters
- user
- tests
- fixtures
- core
- benches
- src
- smartcontracts/isi
- sumeragi
- test_network/src
- p2p
- src
- tests/integration
- primitives/src
- tools
- kagami/src
- swarm/src
- torii/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments