-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from marioevz/difficultyTests
Changes for ArrowGlacier Fork
- Loading branch information
Showing
6 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#include <retesteth/configs/Options.h> | ||
#include <string> | ||
using namespace std; | ||
using namespace dataobject; | ||
|
||
const string default_ArrowGlacier_config = R"({ | ||
"params" : { | ||
"homesteadForkBlock" : "0x00", | ||
"EIP150ForkBlock" : "0x00", | ||
"EIP158ForkBlock" : "0x00", | ||
"byzantiumForkBlock" : "0x00", | ||
"constantinopleForkBlock" : "0x00", | ||
"constantinopleFixForkBlock" : "0x00", | ||
"istanbulForkBlock" : "0x00", | ||
"berlinForkBlock" : "0x00", | ||
"londonForkBlock" : "0x00", | ||
"arrowGlacierForkBlock" : "0x00", | ||
"chainID" : "0x01" | ||
}, | ||
"accounts" : { | ||
} | ||
})"; | ||
|
||
const string t8ntool_ArrowGlacier_config = R"({ | ||
"params" : { | ||
"fork" : "ArrowGlacier", | ||
"constantinopleForkBlock" : "0x00", | ||
"byzantiumForkBlock" : "0x00", | ||
"homesteadForkBlock" : "0x00" | ||
}, | ||
"accounts" : { | ||
} | ||
})"; | ||
|
||
genArrowGlacierCfg::genArrowGlacierCfg() | ||
{ | ||
spDataObject obj(new DataObject()); | ||
(*obj)["path"] = "besu/genesis/ArrowGlacier.json"; | ||
(*obj)["content"] = default_ArrowGlacier_config; | ||
map_configs.addArrayObject(obj); | ||
|
||
spDataObject obj2(new DataObject()); | ||
(*obj2)["path"] = "default/genesis/ArrowGlacier.json"; | ||
(*obj2)["content"] = t8ntool_ArrowGlacier_config; | ||
map_configs.addArrayObject(obj2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters