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

Support Current Random in StateTests with T8N Tool Changes #160

Closed
wants to merge 4 commits into from

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Jan 6, 2022

Requires ethereum/go-ethereum#24141.

Adds support for currentRandom field on the env.json for the t8ntool, which mimics post-PoS merge RANDOM opcode functionality.

Still a draft, and does not fully work yet.

Copy link
Collaborator

@winsvega winsvega left a comment

Choose a reason for hiding this comment

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

Comment

@@ -116,8 +116,8 @@ void verify1559Parent(spBlockHeader const& _header, spBlockHeader const& _parent
void verifyCommonBlock(spBlockHeader const& _header, ToolChain const& _chain)
{
BlockHeader const& header = _header.getCContent();
if (header.difficulty() < dev::bigint("0x20000"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

This verify 1559 parent. Need an analog for POS parent

@winsvega
Copy link
Collaborator

implemented. we need now t8n tool to export evm in merge mode so we can strart generating the tests for PoS forks.

@winsvega winsvega closed this Mar 28, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants