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

BLOCKDATA redesign #19

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

BLOCKDATA redesign #19

wants to merge 16 commits into from

Conversation

OlivierBBB
Copy link
Collaborator

@OlivierBBB OlivierBBB commented Dec 3, 2024

Redesign of the BLOCKDATA module

  • delegates computations to the WCP and EUC modules
  • several new checks
  • allows for BLOCKGASLIMIT to change in accordance with the yellow paper
  • compatible with the conflation containing the Genesis block

@OlivierBBB OlivierBBB added the enhancement New feature or request label Dec 3, 2024
@OlivierBBB OlivierBBB self-assigned this Dec 3, 2024
@OlivierBBB OlivierBBB linked an issue Dec 3, 2024 that may be closed by this pull request
The lookup must land among the rows where

  CURRENT_CONFLATION = 1
The lookup must land among the rows where

  CURRENT_CONFLATION = 1
\item $\isGaslimit$
\item $\isChainid$
\end{enumerate}
\end{multicols}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IS_BASEFEE is missing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, fixed.

\isGaslimit & \longleftrightarrow & \locIsGaslimit \\
\isChainid & \longleftrightarrow & \locIsChainid \\
\isBasefee & \longleftrightarrow & \locIsBasefee \\
\end{array} \right.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\blockDataLo _{i} & = & \coinbase\low _{i} \\
\end{array} \right.
\]
\item[\underline{\underline{\inst{GASLIMIT} deviation lower bound:}}]
Copy link

@amkCha amkCha Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be ?
\item[\underline{\underline{\inst{COINBASE} lower bound:}}]

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

Successfully merging this pull request may close these issues.

BLOCKDATA redesign
3 participants