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

test(node-api): Introduce E2E tests for existing beacon endpoints #1983

Open
wants to merge 103 commits into
base: main
Choose a base branch
from

Commits on Sep 10, 2024

  1. add test for fork and others

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    c0ac57d View commit details
    Browse the repository at this point in the history
  2. clean

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fa09476 View commit details
    Browse the repository at this point in the history
  3. fix

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    23c153f View commit details
    Browse the repository at this point in the history
  4. nit

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    b313f6f View commit details
    Browse the repository at this point in the history
  5. uint64 -> math.Epoch

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4204be8 View commit details
    Browse the repository at this point in the history
  6. undo

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    adca130 View commit details
    Browse the repository at this point in the history
  7. clean

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2f56ea6 View commit details
    Browse the repository at this point in the history
  8. Add route

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4069654 View commit details
    Browse the repository at this point in the history
  9. route

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    a148aa6 View commit details
    Browse the repository at this point in the history
  10. func for each endpoint

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d3e2b2f View commit details
    Browse the repository at this point in the history
  11. override fix

    calbera authored and nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    65e4595 View commit details
    Browse the repository at this point in the history
  12. create func in consensus clients

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    0b3cfef View commit details
    Browse the repository at this point in the history
  13. adding validatorBalances in interface

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    e7c4bea View commit details
    Browse the repository at this point in the history
  14. build is working now

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    0648791 View commit details
    Browse the repository at this point in the history
  15. pass body to val balance

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    5a6d460 View commit details
    Browse the repository at this point in the history
  16. validator balancer api working directly

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d773ac3 View commit details
    Browse the repository at this point in the history
  17. randao response

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fb35087 View commit details
    Browse the repository at this point in the history
  18. enhance in rando - workingg

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ca5cec3 View commit details
    Browse the repository at this point in the history
  19. validator status bug resolved

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    f617612 View commit details
    Browse the repository at this point in the history
  20. nilaway go awayyy

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    45f66a3 View commit details
    Browse the repository at this point in the history
  21. linter are you happy

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    9b7be70 View commit details
    Browse the repository at this point in the history
  22. why are you suprising me linter

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    31f1e84 View commit details
    Browse the repository at this point in the history
  23. validator bal - correct tags

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    9bab8a4 View commit details
    Browse the repository at this point in the history
  24. create customFork struct

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    af9a6e8 View commit details
    Browse the repository at this point in the history
  25. lint lint linter

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    38b3e49 View commit details
    Browse the repository at this point in the history
  26. validator data format

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    b599c2e View commit details
    Browse the repository at this point in the history
  27. few optimization in val

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    b4f095e View commit details
    Browse the repository at this point in the history
  28. tidy sync

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    13bf5fa View commit details
    Browse the repository at this point in the history
  29. directly use ValidatorData

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1d52853 View commit details
    Browse the repository at this point in the history
  30. linting

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    e7193ff View commit details
    Browse the repository at this point in the history
  31. bet

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    c0ba37c View commit details
    Browse the repository at this point in the history
  32. refactor code

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    674a627 View commit details
    Browse the repository at this point in the history
  33. enchancements in fork

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    aa44929 View commit details
    Browse the repository at this point in the history
  34. request type changes - cleanup

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    09438ee View commit details
    Browse the repository at this point in the history
  35. refactor validators bal

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    76b432e View commit details
    Browse the repository at this point in the history
  36. more test assertions added

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    294981f View commit details
    Browse the repository at this point in the history
  37. linter

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    05de47b View commit details
    Browse the repository at this point in the history
  38. nits comments

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1ce1ee9 View commit details
    Browse the repository at this point in the history
  39. create interface type for fork

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4b333b9 View commit details
    Browse the repository at this point in the history
  40. asserting to interface for ForkT

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    942ad39 View commit details
    Browse the repository at this point in the history
  41. Fork interface correct impl

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6c32e57 View commit details
    Browse the repository at this point in the history
  42. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d87a851 View commit details
    Browse the repository at this point in the history
  43. linter

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    4ed066a View commit details
    Browse the repository at this point in the history
  44. use fork wrapper

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    318739a View commit details
    Browse the repository at this point in the history
  45. remove fork generic

    calbera committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    77cfd3e View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    6f0a5d6 View commit details
    Browse the repository at this point in the history
  47. make new func part of Fork interface

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    a556242 View commit details
    Browse the repository at this point in the history
  48. using fork interface

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    f3020be View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    8179a31 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    35c7e92 View commit details
    Browse the repository at this point in the history
  2. tidy sync

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    84a170a View commit details
    Browse the repository at this point in the history
  3. bet

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    4f31cb8 View commit details
    Browse the repository at this point in the history
  4. validator using MarshalJSON

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c2d62c6 View commit details
    Browse the repository at this point in the history
  5. refactor - getters

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c65706b View commit details
    Browse the repository at this point in the history
  6. cleanup

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6205ab4 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    b9f9e95 View commit details
    Browse the repository at this point in the history
  2. few enhancements

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e739cde View commit details
    Browse the repository at this point in the history
  3. lint

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3187ef2 View commit details
    Browse the repository at this point in the history
  4. use types.Wrap and few enhancements

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    af1cd47 View commit details
    Browse the repository at this point in the history
  5. linter fix

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    a9e4cf3 View commit details
    Browse the repository at this point in the history
  6. validator balance marshal as no tag

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    34329f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Configuration menu
    Copy the full SHA
    0d965da View commit details
    Browse the repository at this point in the history
  2. use ValidataData for response

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    b745f33 View commit details
    Browse the repository at this point in the history
  3. ValidatorT redundant - cleanup

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    0e19a55 View commit details
    Browse the repository at this point in the history
  4. directly use validator

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    43d42c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. validator generics

    calbera committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    759e772 View commit details
    Browse the repository at this point in the history
  2. gen

    calbera committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    101e3e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3baca83 View commit details
    Browse the repository at this point in the history
  4. undo

    calbera committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    16b4232 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. define type outside generic method

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    23c994d View commit details
    Browse the repository at this point in the history
  2. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    79e09f7 View commit details
    Browse the repository at this point in the history
  3. Update mod/node-api/handlers/debug/routes.go

    Signed-off-by: Cal Bera <calbera@berachain.com>
    calbera authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9a81b69 View commit details
    Browse the repository at this point in the history
  4. pointer

    calbera committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    030b3bf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01ee136 View commit details
    Browse the repository at this point in the history
  6. same pattern

    calbera committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9107176 View commit details
    Browse the repository at this point in the history
  7. remove unneeded changes

    calbera committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f374565 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. pick constants from same package and use ptr

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    51e5376 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. do not use wrap - unnecessary changes remove

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5669ecf View commit details
    Browse the repository at this point in the history
  2. make withdrawCredentails revert

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f232fa8 View commit details
    Browse the repository at this point in the history
  3. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    6850e67 View commit details
    Browse the repository at this point in the history
  4. add comment for validator interface

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5413aa1 View commit details
    Browse the repository at this point in the history
  5. rename fork

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    078ab60 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. reverted constants changes in echo

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    db5e599 View commit details
    Browse the repository at this point in the history
  2. use validator with generic type

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    3aa512b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into e2e-node-api

    Signed-off-by: Nidhi Singh <trippin@berachain.com>
    nidhi-singh02 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    81c9088 View commit details
    Browse the repository at this point in the history
  4. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2c8e6c3 View commit details
    Browse the repository at this point in the history
  5. validator with generic type

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    1b2792b View commit details
    Browse the repository at this point in the history
  6. WithdrawalCredentialsT generic introduce - wip

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    e3cec53 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e10df63 View commit details
    Browse the repository at this point in the history
  8. nits

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f6e5cdd View commit details
    Browse the repository at this point in the history
  9. linter and generate

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    494d9d6 View commit details
    Browse the repository at this point in the history
  10. comments

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    d525150 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    a1d3834 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    89ca105 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    f4be7e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    c1c5e46 View commit details
    Browse the repository at this point in the history
  2. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0dc0c1c View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    c028c65 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    99af839 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    068f3c6 View commit details
    Browse the repository at this point in the history
  2. generate check

    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    30de37e View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    d4caf1d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Merge branch 'main' into e2e-node-api

    Signed-off-by: Nidhi Singh <trippin@berachain.com>
    Signed-off-by: nidhi-singh02 <trippin@berachain.com>
    nidhi-singh02 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    dccfde1 View commit details
    Browse the repository at this point in the history