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

show microblock gas limit #750

Open
nikita-fuchs opened this issue May 2, 2024 · 9 comments · May be fixed by #992
Open

show microblock gas limit #750

nikita-fuchs opened this issue May 2, 2024 · 9 comments · May be fixed by #992
Labels
enhancement New feature or request waiting for mdw Waiting for middleware release to unlock it
Milestone

Comments

@nikita-fuchs
Copy link

nikita-fuchs commented May 2, 2024

Hey, it would be cool to see the gas limit for a microblock somewhere as community members sometimes ask about the throughput capacity of AE.

MDW aeternity/ae_mdw#2019

@nikita-fuchs nikita-fuchs added the enhancement New feature or request label May 2, 2024
@janmichek janmichek added this to the Q4 2024 milestone Sep 13, 2024
@janmichek
Copy link
Collaborator

Thanks for suggestion, Nikita.

  1. where should I take such a value? I thought its just a matter of displaying value from mdw https://mainnet.aeternity.io/mdw/v3/micro-blocks/mh_dPS2uJV4RXQDTfEvGiAr7Fouu8szQR8dNnN66g9DJxLoeVPas/transactions/?limit=10
  2. where you think its better place to display? Detail/listing/both? @nikita-fuchs

@janmichek
Copy link
Collaborator

@nikita-fuchs ?

@nikita-fuchs
Copy link
Author

For 1: We kindly ask @hanssv what the current value is,
2.: You could show here https://aescan.io/microblocks/mh_2opjmUDymVkYrewckVmUZQyaaE3ySpixifFs4CRU41d6RZowNN how much of the maximum MB gas was used, compared to the maximum (" actual / total")

@hanssv
Copy link
Member

hanssv commented Nov 11, 2024

The default value is 6000000 - I belive it is hard-coded. But regardless it can also be accessed through aec_governance:block_gas_limit/0.

@janmichek
Copy link
Collaborator

janmichek commented Nov 13, 2024

For 1: We kindly ask @hanssv what the current value is, 2.: You could show here https://aescan.io/microblocks/mh_2opjmUDymVkYrewckVmUZQyaaE3ySpixifFs4CRU41d6RZowNN how much of the maximum MB gas was used, compared to the maximum (" actual / total")

Ok, great. Thanks for a hint. @nikita-fuchs
So if I understand this correctly, you want me to negotiate MDW the addition of gas used value to microblock detail response.
Because it's not there yet currently.

https://mainnet.aeternity.io/mdw/v3/micro-blocks/mh_eNt38hAoDrnz4umgB3HjAMK3ocJbUPJmJcQjQVSShPEyJSKGi/

Or you see easier way? @nikita-fuchs

@janmichek janmichek linked a pull request Nov 13, 2024 that will close this issue
3 tasks
@janmichek
Copy link
Collaborator

@nikita-fuchs ping

@nikita-fuchs
Copy link
Author

I guess. Else you could add all the used gas from all transactions in a microblock yourself :P but yeah, this should be done by the MDW probably. Create them a ticket.

@janmichek
Copy link
Collaborator

I guess. Else you could add all the used gas from all transactions in a microblock yourself :P but yeah, this should be done by the MDW probably. Create them a ticket.

I got it, I will make the request and move it forward. Thanks for collaboration

@janmichek
Copy link
Collaborator

Tracking: aeternity/ae_mdw#2019

@janmichek janmichek added the waiting for mdw Waiting for middleware release to unlock it label Nov 18, 2024
@janmichek janmichek changed the title show block gas limit show microblock gas limit Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for mdw Waiting for middleware release to unlock it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants