Skip to content

Support Current Random in StateTests with T8N Tool Changes#160

Closed
marioevz wants to merge 4 commits intoethereum:developfrom
marioevz:currentRandomStateSupport
Closed

Support Current Random in StateTests with T8N Tool Changes#160
marioevz wants to merge 4 commits intoethereum:developfrom
marioevz:currentRandomStateSupport

Conversation

@marioevz
Copy link
Copy Markdown
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
Copy Markdown

@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

void verifyCommonBlock(spBlockHeader const& _header, ToolChain const& _chain)
{
BlockHeader const& header = _header.getCContent();
if (header.difficulty() < dev::bigint("0x20000"))
Copy link
Copy Markdown

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
Copy Markdown

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.

2 participants