-
Notifications
You must be signed in to change notification settings - Fork 712
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
implements get_next_block_best_parents
+ get_largest_stakers
methods
#3449
implements get_next_block_best_parents
+ get_largest_stakers
methods
#3449
Conversation
I should update openrpc.json file manually ? |
Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
May be we should rename this method to
get_next_block_best_parents
ornext_block_best_parents
? -
I was thinking about flatten or not ApiRequest struct, in the future, we could add
sorting
,filter
andargs
for example. IMHO the actual form is good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @modship 👍🏻
get_next_block_best_parents
method
…_next_block_best_parents
e423a3b
to
752702b
Compare
get_next_block_best_parents
methodget_next_block_best_parents
+ get_largest_stakers
methods
Hi @modship @Leo-Besancon In this PR, we are adding an evolutive way to do request parameters and pagination. We'll try to add this to testnet19 and collect feedbacks from our consumers. take a look at #3485 I'll update the Postman collection with this new experimental methods. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This APIv2 will be great 👌
I added a default offset limit on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me 👍
The base branch was changed.
@modship can you rebase this on the latest version of testnet_20 ? the CI has been fixed and you will be able to merge it. |
closes #3419 #3485