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

Explorer crate #3350

Merged
merged 54 commits into from
Mar 9, 2022
Merged

Explorer crate #3350

merged 54 commits into from
Mar 9, 2022

Commits on Mar 7, 2022

  1. workspace: add explorer crate

    - add basic external crate
    
    - the logging setup is copy-pasted from jormungandr
    
    - add stake control and implement tallying
    
        this could re-use more code from the ledger, but it's not that easy to
        ignore validations and also I think this is simple enough for now. The
        implementation is somewhat isolated, so it's not that hard to change
        things after some more thought.
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    222e660 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    895dd76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2577c35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3da3cef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f142675 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    535f325 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ca7866 View commit details
    Browse the repository at this point in the history
  8. tests: remove explorer

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    b28c396 View commit details
    Browse the repository at this point in the history
  9. tests: regen explorer schema without treasury for now

    I'm not completely sure if we should re-implement this in the explorer
    too, or if we should implement it in rest only, so for now this changes
    it to a TODO
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    6898878 View commit details
    Browse the repository at this point in the history
  10. tests: fix explorer sanity test

    having integration tests with the explorer and jormungandr will always
    be good anyway, so having a way of launching an explorer in integration
    tests for the purposes of testing the explorer is something that we
    probably want. This is a first approximation towards that.
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    7a6ce43 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    34fe06c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e7ebcee View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    17208a8 View commit details
    Browse the repository at this point in the history
  14. enable tests again

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    936c41e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    061169d View commit details
    Browse the repository at this point in the history
  16. remove whitespace from autgenerated graphql schema

    in order to please the editorconfig check
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    17d9ad7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    45c2b1d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d5aa84c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    52a2136 View commit details
    Browse the repository at this point in the history
  20. automatic lints

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    eff6eda View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a73dd2a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d772bef View commit details
    Browse the repository at this point in the history
  23. reorganize imports

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    8a1fa5c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e43d045 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5471deb View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    0d87892 View commit details
    Browse the repository at this point in the history
  27. add(port) MintToken

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    f129e3b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    90696bd View commit details
    Browse the repository at this point in the history
  29. return a Result in set_tip

    this makes the code a bit more self-documenting than with a boolean,
    even if the error value is not actually used here.
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    226801b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ff0e32e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    139d2b3 View commit details
    Browse the repository at this point in the history
  32. handly tally type at an earlier point

    because otherwise the function will panic for public tally, as there is
    no decrypted tally
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    c079a66 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    3888401 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    395626c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    0848d11 View commit details
    Browse the repository at this point in the history
  36. fix PersistentSequence::is_empty

    it was returning the opposite value
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    648cb15 View commit details
    Browse the repository at this point in the history
  37. remove unused files

    zeegomo authored and ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    88f5d53 View commit details
    Browse the repository at this point in the history
  38. impl From instead of TryFrom

    zeegomo authored and ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    13df3cf View commit details
    Browse the repository at this point in the history
  39. remove outdated comment

    zeegomo authored and ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    a16428d View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    a1b1abd View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    27886b2 View commit details
    Browse the repository at this point in the history
  42. add retry when querying the explorer

    to account for slow IO, or performance issues when running the test
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    c961951 View commit details
    Browse the repository at this point in the history
  43. move explorer process spawn to JormungandrProcess

    this allows using it in other tests, like in
    `retire_stake_pool_explorer` and other integration tests
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    cc2f2e1 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    3385e50 View commit details
    Browse the repository at this point in the history
  45. handle evm config param

    by just panicking, proper suppport can be done later
    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    aceae5b View commit details
    Browse the repository at this point in the history
  46. fix compilation issues

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    bf383b3 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    a0d7860 View commit details
    Browse the repository at this point in the history
  48. add changelog entry

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    11223cb View commit details
    Browse the repository at this point in the history
  49. update Cargo.lock

    ecioppettini committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    2312148 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    7891df5 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    008c840 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    fd6d299 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    a5b1774 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    70c6000 View commit details
    Browse the repository at this point in the history