Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support block tags on getBlock endpoints #92

Closed
Nana-EC opened this issue May 25, 2022 · 1 comment
Closed

Support block tags on getBlock endpoints #92

Nana-EC opened this issue May 25, 2022 · 1 comment
Labels
enhancement New feature or request P1
Milestone

Comments

@Nana-EC
Copy link
Collaborator

Nana-EC commented May 25, 2022

Problem

Some tools support “symbolic” block numbers like “latest” and “pending” on getBlock endpoints.
The current relay adheres to the Official specs and so missed this coverage.

Solution

Support block tag in APIs where tags like 'latest' can be substituted for numbers.
Hardcode "latest/pending" -> latest and "earliest" -> 0

Alternatives

No response

@Nana-EC Nana-EC added enhancement New feature or request P1 labels May 25, 2022
@Nana-EC Nana-EC added this to the 0.1.0 milestone May 25, 2022
@Nana-EC Nana-EC assigned shemnon and unassigned shemnon May 25, 2022
@Nana-EC Nana-EC removed this from the 0.1.0 milestone May 25, 2022
@Nana-EC
Copy link
Collaborator Author

Nana-EC commented May 25, 2022

Dupe of #90

@Nana-EC Nana-EC closed this as completed May 25, 2022
@Nana-EC Nana-EC added this to the 0.1.0 milestone Jun 7, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

2 participants