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

BLOCK_DATA update #1603

Open
OlivierBBB opened this issue Dec 2, 2024 · 1 comment
Open

BLOCK_DATA update #1603

OlivierBBB opened this issue Dec 2, 2024 · 1 comment

Comments

@OlivierBBB
Copy link
Collaborator

Main point

We need to modify the BLOCK_DATA module to support for variable (higher) BLOCK_GAS_LIMIT.

Details

The BLOCK_DATA module should verify that the BLOCK_GAS_LIMIT H_l satisfy the following properties, for every block in the conflation:

H_l < H_l' + q
H_l > H_l' - q
H_l < 2_000_000_000
H_l ≥ 61_000_000

q := H_l' / 1024

In the above H_l' is the preceding BLOCK_GAS_LIMIT. The above thus requires b + 1 BLOCK_GAS_LIMIT's, starting with the latest BLOCK_GAS_LIMIT from the last conflation. There will be some call's to WCP and MOD.

@letypequividelespoubelles
Copy link
Collaborator

@OlivierBBB instead of calling MOD, we should call EUC, every inputs will be < 8 bytes long.

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

No branches or pull requests

2 participants