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

difficulty test example [EXAMPLE] #970

Closed
wants to merge 1 commit into from
Closed

Conversation

winsvega
Copy link
Collaborator

@winsvega winsvega commented Oct 22, 2021

retesteth develop branch: ethereum/retesteth#152

Here some comments:

# Test generate for all provided networks
        "network" : [ "London"],
# For blocknumbers from  B1 to B2 with step dB   // or array of values
        "blocknumber" : "[100000-100010;5]",
# For timestamp intervals from  T1 to T2 with step dT // or array of values
        "timestampDiff" : "[1-2;1]",
# For parentDifficulty intervals from  PD1 to PD2 with step dPD // or array of values
        "parentDifficutly" : ["131415"],
# For current block having number of uncles (array of values, max 2 values)
        "hasUncles" : [1]

the test calculate difficulty formula given above input parameters using geth evm t8n

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.

1 participant