|
| 1 | +#include <retesteth/configs/Options.h> |
| 2 | +#include <string> |
| 3 | +using namespace std; |
| 4 | +using namespace dataobject; |
| 5 | + |
| 6 | +const string default_GrayGlacier_config = R"({ |
| 7 | + "params" : { |
| 8 | + "homesteadForkBlock" : "0x00", |
| 9 | + "EIP150ForkBlock" : "0x00", |
| 10 | + "EIP158ForkBlock" : "0x00", |
| 11 | + "byzantiumForkBlock" : "0x00", |
| 12 | + "constantinopleForkBlock" : "0x00", |
| 13 | + "constantinopleFixForkBlock" : "0x00", |
| 14 | + "istanbulForkBlock" : "0x00", |
| 15 | + "berlinForkBlock" : "0x00", |
| 16 | + "londonForkBlock" : "0x00", |
| 17 | + "arrowGlacierForkBlock" : "0x00", |
| 18 | + "grayGlacierForkBlock" : "0x00", |
| 19 | + "chainID" : "0x01" |
| 20 | + }, |
| 21 | + "accounts" : { |
| 22 | + } |
| 23 | +})"; |
| 24 | + |
| 25 | +const string t8ntool_GrayGlacier_config = R"({ |
| 26 | + "params" : { |
| 27 | + "fork" : "GrayGlacier", |
| 28 | + "constantinopleForkBlock" : "0x00", |
| 29 | + "byzantiumForkBlock" : "0x00", |
| 30 | + "homesteadForkBlock" : "0x00" |
| 31 | + }, |
| 32 | + "accounts" : { |
| 33 | + } |
| 34 | +})"; |
| 35 | + |
| 36 | +genGrayGlacierCfg::genGrayGlacierCfg() |
| 37 | +{ |
| 38 | + spDataObject obj(new DataObject()); |
| 39 | + (*obj)["path"] = "besu/genesis/GrayGlacier.json"; |
| 40 | + (*obj)["content"] = default_GrayGlacier_config; |
| 41 | + map_configs.addArrayObject(obj); |
| 42 | + |
| 43 | + spDataObject obj2(new DataObject()); |
| 44 | + (*obj2)["path"] = "default/genesis/GrayGlacier.json"; |
| 45 | + (*obj2)["content"] = t8ntool_GrayGlacier_config; |
| 46 | + map_configs.addArrayObject(obj2); |
| 47 | +} |
0 commit comments