From 142f8efb1ba5c2f07eb1ecd024ccc272e5555f3d Mon Sep 17 00:00:00 2001 From: marioevz Date: Mon, 13 Jun 2022 16:20:39 +0000 Subject: [PATCH] RESET: use correct values once EIP is out --- .../dfNewGlacier/difficultyNewGlacierFiller.json | 13 +++++++++++++ .../difficultyNewGlacierForkBlockFiller.json | 13 +++++++++++++ .../difficultyNewGlacierMinus1Filler.json | 13 +++++++++++++ .../difficultyNewGlacierTimeDiff1Filler.json | 13 +++++++++++++ .../difficultyNewGlacierTimeDiff2Filler.json | 13 +++++++++++++ 5 files changed, 65 insertions(+) create mode 100644 src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierFiller.json create mode 100644 src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierForkBlockFiller.json create mode 100644 src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierMinus1Filler.json create mode 100644 src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff1Filler.json create mode 100644 src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff2Filler.json diff --git a/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierFiller.json b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierFiller.json new file mode 100644 index 00000000000..935060d1b28 --- /dev/null +++ b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierFiller.json @@ -0,0 +1,13 @@ +{ + "difficultyNewGlacier" : + { + "_info" : { + "comment" : "Difficulty NewGlacier Combination Check: 100k steps, starting from block pushback number (11,400,000) for NewGlacier" + }, + "network" : [ "NewGlacier" ], + "blocknumber" : "[11_400_000-15_700_000;100_000]", + "timestampDiff" : "[1-90;9]", + "parentDifficutly" : ["0x223a2d17232652"], + "hasUncles" : [0, 1] + } +} \ No newline at end of file diff --git a/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierForkBlockFiller.json b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierForkBlockFiller.json new file mode 100644 index 00000000000..7e8f09bdf9c --- /dev/null +++ b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierForkBlockFiller.json @@ -0,0 +1,13 @@ +{ + "difficultyNewGlacierForkBlock" : + { + "_info" : { + "comment" : "NewGlacier 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" : [ "NewGlacier" ], + "blocknumber" : ["0xe5a510"], + "timestampDiff" : "[1-90;9]", + "parentDifficutly" : "[0x2509b471781d98-0x150f322c7dafd6036;1000000000000000000]", + "hasUncles" : [0, 1] + } +} \ No newline at end of file diff --git a/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierMinus1Filler.json b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierMinus1Filler.json new file mode 100644 index 00000000000..4b460358fe4 --- /dev/null +++ b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierMinus1Filler.json @@ -0,0 +1,13 @@ +{ + "difficultyNewGlacierMinus1" : + { + "_info" : { + "comment" : "Difficulty NewGlacier Combination Check: 100k steps, starting from block pushback number minus 1 (11,399,999) for NewGlacier" + }, + "network" : [ "NewGlacier" ], + "blocknumber" : "[11_399_999-15_699_999;100_000]", + "timestampDiff" : "[1-90;9]", + "parentDifficutly" : ["0x223a2d17232652"], + "hasUncles" : [0, 1] + } +} \ No newline at end of file diff --git a/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff1Filler.json b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff1Filler.json new file mode 100644 index 00000000000..6e708d7f74d --- /dev/null +++ b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff1Filler.json @@ -0,0 +1,13 @@ +{ + "difficultyNewGlacierTimeDiff1" : + { + "_info" : { + "comment" : "Difficulty NewGlacier Timestamp Difference Combination Check 1: Timestamp differences of 8, 17, 26, ... 908" + }, + "network" : [ "NewGlacier" ], + "blocknumber" : ["15_700_000"], + "timestampDiff" : "[8-910;9]", + "parentDifficutly" : ["0x223a2d17232652"], + "hasUncles" : [0, 1] + } +} \ No newline at end of file diff --git a/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff2Filler.json b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff2Filler.json new file mode 100644 index 00000000000..8beb9f1b5c9 --- /dev/null +++ b/src/DifficultyTestsFiller/dfNewGlacier/difficultyNewGlacierTimeDiff2Filler.json @@ -0,0 +1,13 @@ +{ + "difficultyNewGlacierTimeDiff1" : + { + "_info" : { + "comment" : "Difficulty NewGlacier Timestamp Difference Combination Check 2: Timestamp differences of 9, 18, 27, ... 909" + }, + "network" : [ "NewGlacier" ], + "blocknumber" : ["15_700_000"], + "timestampDiff" : "[9-910;9]", + "parentDifficutly" : ["0x223a2d17232652"], + "hasUncles" : [0, 1] + } +} \ No newline at end of file