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

Gray Glacier (EIP-5133) Difficulty Bomb Push Fork Tests #1043

Merged
merged 2 commits into from Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7,056 changes: 7,056 additions & 0 deletions DifficultyTests/dfGrayGlacier/difficultyGrayGlacier.json

Large diffs are not rendered by default.

4,016 changes: 4,016 additions & 0 deletions DifficultyTests/dfGrayGlacier/difficultyGrayGlacierForkBlock.json

Large diffs are not rendered by default.

7,056 changes: 7,056 additions & 0 deletions DifficultyTests/dfGrayGlacier/difficultyGrayGlacierMinus1.json

Large diffs are not rendered by default.

1,632 changes: 1,632 additions & 0 deletions DifficultyTests/dfGrayGlacier/difficultyGrayGlacierTimeDiff1.json

Large diffs are not rendered by default.

1,632 changes: 1,632 additions & 0 deletions DifficultyTests/dfGrayGlacier/difficultyGrayGlacierTimeDiff2.json

Large diffs are not rendered by default.

@@ -0,0 +1,13 @@
{
"difficultyGrayGlacier" :
{
"_info" : {
"comment" : "Difficulty Gray Glacier Combination Check: 100k steps, starting from block pushback number (11,400,000) for GrayGlacier"
},
"network" : [ "GrayGlacier" ],
"blocknumber" : "[11_400_000-15_700_000;100_000]",
"timestampDiff" : "[1-90;9]",
"parentDifficutly" : ["0x223a2d17232652"],
"hasUncles" : [0, 1]
}
}
@@ -0,0 +1,13 @@
{
"difficultyGrayGlacierForkBlock" :
{
"_info" : {
"comment" : "Gray Glacier Difficulty Combination Check at Fork Block (15,050,000): Difficulty range start uses current mainnet difficulty, range end uses approximate value with constant 13 second block, 5% uncle rate"
},
"network" : [ "GrayGlacier" ],
"blocknumber" : ["0xe5a510"],
"timestampDiff" : "[1-90;9]",
"parentDifficutly" : "[0x2509b471781d98-0x150f322c7dafd6036;1000000000000000000]",
"hasUncles" : [0, 1]
}
}
@@ -0,0 +1,13 @@
{
"difficultyGrayGlacierMinus1" :
{
"_info" : {
"comment" : "Difficulty Gray Glacier Combination Check: 100k steps, starting from block pushback number minus 1 (11,399,999) for Gray Glacier"
},
"network" : [ "GrayGlacier" ],
"blocknumber" : "[11_399_999-15_699_999;100_000]",
"timestampDiff" : "[1-90;9]",
"parentDifficutly" : ["0x223a2d17232652"],
"hasUncles" : [0, 1]
}
}
@@ -0,0 +1,13 @@
{
"difficultyGrayGlacierTimeDiff1" :
{
"_info" : {
"comment" : "Difficulty Gray Glacier Timestamp Difference Combination Check 1: Timestamp differences of 8, 17, 26, ... 908"
},
"network" : [ "GrayGlacier" ],
"blocknumber" : ["15_700_000"],
"timestampDiff" : "[8-910;9]",
"parentDifficutly" : ["0x223a2d17232652"],
"hasUncles" : [0, 1]
}
}
@@ -0,0 +1,13 @@
{
"difficultyGrayGlacierTimeDiff1" :
{
"_info" : {
"comment" : "Difficulty Gray Glacier Timestamp Difference Combination Check 2: Timestamp differences of 9, 18, 27, ... 909"
},
"network" : [ "GrayGlacier" ],
"blocknumber" : ["15_700_000"],
"timestampDiff" : "[9-910;9]",
"parentDifficutly" : ["0x223a2d17232652"],
"hasUncles" : [0, 1]
}
}