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

Make Eth APIs flag name implementation agnostic #9112

Merged
merged 2 commits into from
Jun 28, 2021

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented Jun 28, 2021

What type of PR is this?

Other

What does this PR do? Why is it needed?

api-middleware-port is the current name of the flag which specifies the port to serve HTTP JSON conforming to the official Eth2 APIs. API Middleware is an implementation detail and the flag name should rather describe the functionality. This PR renames it to eth-api-port. If we replace the API Middleware with something else in the future, the flag name will still be up-to-date.

@rkapka rkapka requested a review from a team as a code owner June 28, 2021 11:29
@rkapka rkapka requested review from jmozah, rauljordan and prestonvanloon and removed request for a team June 28, 2021 11:29
@rkapka rkapka added API Api related tasks OK to merge labels Jun 28, 2021
@codecov
Copy link

codecov bot commented Jun 28, 2021

Codecov Report

Merging #9112 (3e24a8d) into develop (71f1f19) will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #9112      +/-   ##
===========================================
+ Coverage    59.92%   60.20%   +0.28%     
===========================================
  Files          543      543              
  Lines        39212    38723     -489     
===========================================
- Hits         23496    23313     -183     
+ Misses       12357    12053     -304     
+ Partials      3359     3357       -2     

@prylabs-bulldozer prylabs-bulldozer bot merged commit 940ce0c into develop Jun 28, 2021
@delete-merged-branch delete-merged-branch bot deleted the rename-api-port branch June 28, 2021 15:12
@rauljordan
Copy link
Contributor

Great idea to save us from technical debt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants