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

Commits on May 17, 2024

  1. [refactor]: put new API into iroha_config_base

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d600a6b View commit details
    Browse the repository at this point in the history
  2. [test]: move tests

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    afb7893 View commit details
    Browse the repository at this point in the history
  3. [feat]: create foundation for ReadConfig derive (wip)

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    4c4d738 View commit details
    Browse the repository at this point in the history
  4. [fix]: parse default properly

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    45b231f View commit details
    Browse the repository at this point in the history
  5. [feat]: impl shape analysis

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    aced8f6 View commit details
    Browse the repository at this point in the history
  6. [test]: update stderr

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    8ad48f6 View commit details
    Browse the repository at this point in the history
  7. [fix]: fix macro, it kind of works!

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    91735ba View commit details
    Browse the repository at this point in the history
  8. [refactor]: improve errors

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2fc8e3c View commit details
    Browse the repository at this point in the history
  9. [refactor]: update iroha_config (wip)

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2530f37 View commit details
    Browse the repository at this point in the history
  10. [refactor]: update user layer, mostly

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    05756e9 View commit details
    Browse the repository at this point in the history
  11. [refactor]: move iroha_config onto the new rails

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d9f351d View commit details
    Browse the repository at this point in the history
  12. [refactor]: lints & chores

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    f75d352 View commit details
    Browse the repository at this point in the history
  13. [fix]: fix visibility issues in data model

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    c05d703 View commit details
    Browse the repository at this point in the history
  14. [fix]: after-rebase chores

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    60d99cf View commit details
    Browse the repository at this point in the history
  15. [refactor]: update iroha_core

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a3219cd View commit details
    Browse the repository at this point in the history
  16. [refactor]: update the whole workspace

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    39c132d View commit details
    Browse the repository at this point in the history
  17. [refactor]: lints

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    4c4edea View commit details
    Browse the repository at this point in the history
  18. [chore]: fix cfg

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    741dd86 View commit details
    Browse the repository at this point in the history
  19. [refactor]: balance trace logs

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1a32bf6 View commit details
    Browse the repository at this point in the history
  20. [refactor]: move high-level validations to CLI layer

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    5b9158f View commit details
    Browse the repository at this point in the history
  21. [refactor]: change custom to env_custom

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ecb7368 View commit details
    Browse the repository at this point in the history
  22. [feat]: attach TOML value to report

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a7277a8 View commit details
    Browse the repository at this point in the history
  23. [feat]: enhance origin attachments

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    3d40a97 View commit details
    Browse the repository at this point in the history
  24. [fix]: client cli... works?

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e0a12c1 View commit details
    Browse the repository at this point in the history
  25. [refactor]: rehearse errors

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    8b62744 View commit details
    Browse the repository at this point in the history
  26. [refactor]: chores

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    16a2e03 View commit details
    Browse the repository at this point in the history
  27. [fix]: compiler errors and lints

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    12a746e View commit details
    Browse the repository at this point in the history
  28. [test]: fix tests, validate addrs only in release

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    cc5e4ce View commit details
    Browse the repository at this point in the history
  29. [refactor]: internal docs, renamings, lints

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    475787e View commit details
    Browse the repository at this point in the history
  30. [test]: fix private keys in test configs

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    372d785 View commit details
    Browse the repository at this point in the history
  31. [fix]: allow self peer id in trusted peers

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    092b698 View commit details
    Browse the repository at this point in the history
  32. [test]: update snapshot

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    fc9d79b View commit details
    Browse the repository at this point in the history
  33. Apply suggestions from code review

    Co-authored-by: ⭐️NINIKA⭐️ <DCNick3@users.noreply.github.com>
    Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
    0x009922 and DCNick3 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    20f5e6d View commit details
    Browse the repository at this point in the history
  34. [feat]: prefix macro error

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    685fa80 View commit details
    Browse the repository at this point in the history
  35. [docs]: add a note about syntactic match

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2537779 View commit details
    Browse the repository at this point in the history
  36. [refactor]: delegate parsing to syn::punctuated

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    2bd71ad View commit details
    Browse the repository at this point in the history
  37. [refactor]: use mutable reader, split ReadingDone

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    af9ed3f View commit details
    Browse the repository at this point in the history
  38. [refactor]: lints

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b1dde94 View commit details
    Browse the repository at this point in the history
  39. [chore]: link false-positive issue

    rust-lang/rust#44752 (comment)
    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a3809cb View commit details
    Browse the repository at this point in the history
  40. [refactor]: ignore report locations

    address hyperledger#4456 (comment)
    
    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1e9ad30 View commit details
    Browse the repository at this point in the history
  41. [fix]: use ExposedPrivateKey

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e90bdfd View commit details
    Browse the repository at this point in the history
  42. [fix]: fix with all-features

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    6b6f039 View commit details
    Browse the repository at this point in the history
  43. [refactor]: chores

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1cbb44c View commit details
    Browse the repository at this point in the history
  44. [chore]: format

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    e6eb497 View commit details
    Browse the repository at this point in the history
  45. refactor: use stricter TrustedPeers struct

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    fb57d67 View commit details
    Browse the repository at this point in the history
  46. chore: remove extra TODO

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    67ba895 View commit details
    Browse the repository at this point in the history
  47. refactor: remove env_custom

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    dc607c8 View commit details
    Browse the repository at this point in the history
  48. chore: remove extra import

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ce0b248 View commit details
    Browse the repository at this point in the history
  49. revert: return pub(crate) vis

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ffa92f2 View commit details
    Browse the repository at this point in the history
  50. chore: dead import

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    a196056 View commit details
    Browse the repository at this point in the history
  51. fix: fix path to iroha_test_config.toml

    Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
    0x009922 committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d3dbf2c View commit details
    Browse the repository at this point in the history