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

Retrieve validators through v1 API in e2e #9117

Merged
merged 4 commits into from
Jun 29, 2021
Merged

Retrieve validators through v1 API in e2e #9117

merged 4 commits into from
Jun 29, 2021

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Jun 29, 2021

What type of PR is this?

Tests

What does this PR do? Why is it needed?

Performs two Ethereum API requests using https://ethereum.github.io/eth2.0-APIs/#/Beacon/getStateValidators to assess that our main API components work correctly. These calls pass through the API Middleware, grpc-gateway and the gRPC beacon chain server.

I chose this particular request because it is fairly complicated. It requires base64-hex translations, has query params and enums. All in all it servers as a good API conformance test.

@rkapka rkapka added the E2E Tests End-To-End testing label Jun 29, 2021
@rkapka rkapka requested a review from a team as a code owner June 29, 2021 12:17
@rkapka rkapka requested review from jmozah, prestonvanloon and terencechain and removed request for a team June 29, 2021 12:17
@codecov
Copy link

codecov bot commented Jun 29, 2021

Codecov Report

Merging #9117 (7027769) into develop (0cfc16e) will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #9117      +/-   ##
===========================================
+ Coverage    60.22%   60.29%   +0.07%     
===========================================
  Files          544      544              
  Lines        38755    38755              
===========================================
+ Hits         23339    23368      +29     
+ Misses       12053    12026      -27     
+ Partials      3363     3361       -2     

@rkapka rkapka added the Ready For Review A pull request ready for code review label Jun 29, 2021
@rauljordan
Copy link
Contributor

Great work!

@rauljordan rauljordan merged commit 0347b4b into develop Jun 29, 2021
@delete-merged-branch delete-merged-branch bot deleted the api-e2e-tests branch June 29, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Tests End-To-End testing Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants