Skip to content

Commit

Permalink
make t8ntool a default config
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Feb 3, 2021
1 parent fe84511 commit 2540fab
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Berlin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ const string t8ntool_Berlin_config = R"({
genBerlinCfg::genBerlinCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Berlin.json";
obj["path"] = "besu/genesis/Berlin.json";
obj["content"] = default_Berlin_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Berlin.json";
obj2["path"] = "default/genesis/Berlin.json";
obj2["content"] = t8ntool_Berlin_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Byzantium.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ const string t8ntool_Byzantium_config = R"({
genByzantiumCfg::genByzantiumCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Byzantium.json";
obj["path"] = "besu/genesis/Byzantium.json";
obj["content"] = default_Byzantium_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Byzantium.json";
obj2["path"] = "default/genesis/Byzantium.json";
obj2["content"] = t8ntool_Byzantium_config;
map_configs.addArrayObject(obj2);
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ const string t8ntool_ByzantiumToConstantinopleFixAt5_config = R"({
genByzantiumToConstantinopleFixCfg::genByzantiumToConstantinopleFixCfg()
{
DataObject obj;
obj["path"] = "default/genesis/ByzantiumToConstantinopleFixAt5.json";
obj["path"] = "besu/genesis/ByzantiumToConstantinopleFixAt5.json";
obj["content"] = default_ByzantiumToConstantinopleFixAt5_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/ByzantiumToConstantinopleFixAt5.json";
obj2["path"] = "default/genesis/ByzantiumToConstantinopleFixAt5.json";
obj2["content"] = t8ntool_ByzantiumToConstantinopleFixAt5_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Constantinople.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ const string t8ntool_Constantinople_config = R"({
genConstantinopleCfg::genConstantinopleCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Constantinople.json";
obj["path"] = "besu/genesis/Constantinople.json";
obj["content"] = default_Constantinople_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Constantinople.json";
obj2["path"] = "default/genesis/Constantinople.json";
obj2["content"] = t8ntool_Constantinople_config;
map_configs.addArrayObject(obj2);
}
Expand Down
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/ConstantinopleFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ const string t8ntool_ConstantinopleFix_config = R"({
genConstantinopleFixCfg::genConstantinopleFixCfg()
{
DataObject obj;
obj["path"] = "default/genesis/ConstantinopleFix.json";
obj["path"] = "besu/genesis/ConstantinopleFix.json";
obj["content"] = default_ConstantinopleFix_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/ConstantinopleFix.json";
obj2["path"] = "default/genesis/ConstantinopleFix.json";
obj2["content"] = t8ntool_ConstantinopleFix_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/EIP150.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const string t8ntool_EIP150_config = R"({
genEIP150Cfg::genEIP150Cfg()
{
DataObject obj;
obj["path"] = "default/genesis/EIP150.json";
obj["path"] = "besu/genesis/EIP150.json";
obj["content"] = default_EIP150_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/EIP150.json";
obj2["path"] = "default/genesis/EIP150.json";
obj2["content"] = t8ntool_EIP150_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/EIP158.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ const string t8ntool_EIP158_config = R"({
genEIP158Cfg::genEIP158Cfg()
{
DataObject obj;
obj["path"] = "default/genesis/EIP158.json";
obj["path"] = "besu/genesis/EIP158.json";
obj["content"] = default_EIP158_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/EIP158.json";
obj2["path"] = "default/genesis/EIP158.json";
obj2["content"] = t8ntool_EIP158_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/EIP158ToByzantiumAt5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ const string t8ntool_EIP158ToByzantiumAt5_config = R"({
genEIP158ToByzantiumCfg::genEIP158ToByzantiumCfg()
{
DataObject obj;
obj["path"] = "default/genesis/EIP158ToByzantiumAt5.json";
obj["path"] = "besu/genesis/EIP158ToByzantiumAt5.json";
obj["content"] = default_EIP158ToByzantiumAt5_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/EIP158ToByzantiumAt5.json";
obj2["path"] = "default/genesis/EIP158ToByzantiumAt5.json";
obj2["content"] = t8ntool_EIP158ToByzantiumAt5_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Frontier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const string t8ntool_Frontier_config = R"({
genFrontierCfg::genFrontierCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Frontier.json";
obj["path"] = "besu/genesis/Frontier.json";
obj["content"] = default_Frontier_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Frontier.json";
obj2["path"] = "default/genesis/Frontier.json";
obj2["content"] = t8ntool_Frontier_config;
map_configs.addArrayObject(obj2);
}
Expand Down
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/FrontierToHomesteadAt5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ const string t8ntool_FrontierToHomesteadAt5_config = R"({
genFrontierToHomesteadCfg::genFrontierToHomesteadCfg()
{
DataObject obj;
obj["path"] = "default/genesis/FrontierToHomesteadAt5.json";
obj["path"] = "besu/genesis/FrontierToHomesteadAt5.json";
obj["content"] = default_FrontierToHomesteadAt5_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/FrontierToHomesteadAt5.json";
obj2["path"] = "default/genesis/FrontierToHomesteadAt5.json";
obj2["content"] = t8ntool_FrontierToHomesteadAt5_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Homestead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ const string t8ntool_Homestead_config = R"({
genHomesteadCfg::genHomesteadCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Homestead.json";
obj["path"] = "besu/genesis/Homestead.json";
obj["content"] = default_Homestead_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Homestead.json";
obj2["path"] = "default/genesis/Homestead.json";
obj2["content"] = t8ntool_Homestead_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/HomesteadToDaoAt5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const string t8ntool_HomesteadToDaoAt5_config = R"({
genHomesteadToDaoCfg::genHomesteadToDaoCfg()
{
DataObject obj;
obj["path"] = "default/genesis/HomesteadToDaoAt5.json";
obj["path"] = "besu/genesis/HomesteadToDaoAt5.json";
obj["content"] = default_HomesteadToDaoAt5_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/HomesteadToDaoAt5.json";
obj2["path"] = "default/genesis/HomesteadToDaoAt5.json";
obj2["content"] = t8ntool_HomesteadToDaoAt5_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/HomesteadToEIP150At5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const string t8ntool_HomesteadToEIP150At5_config = R"({
genHomesteadToEIP150Cfg::genHomesteadToEIP150Cfg()
{
DataObject obj;
obj["path"] = "default/genesis/HomesteadToEIP150At5.json";
obj["path"] = "besu/genesis/HomesteadToEIP150At5.json";
obj["content"] = default_HomesteadToEIP150At5_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/HomesteadToEIP150At5.json";
obj2["path"] = "default/genesis/HomesteadToEIP150At5.json";
obj2["content"] = t8ntool_HomesteadToEIP150At5_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/Istanbul.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ const string t8ntool_Istanbul_config = R"({
genIstanbulCfg::genIstanbulCfg()
{
DataObject obj;
obj["path"] = "default/genesis/Istanbul.json";
obj["path"] = "besu/genesis/Istanbul.json";
obj["content"] = default_Istanbul_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/Istanbul.json";
obj2["path"] = "default/genesis/Istanbul.json";
obj2["content"] = t8ntool_Istanbul_config;
map_configs.addArrayObject(obj2);
}
4 changes: 2 additions & 2 deletions retesteth/configs/genesis/default/correctMiningReward.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ const string t8ntool_correctMiningReward_config = R"({
genRewardsCfg::genRewardsCfg()
{
DataObject obj;
obj["path"] = "default/genesis/correctMiningReward.json";
obj["path"] = "besu/genesis/correctMiningReward.json";
obj["content"] = default_correctMiningReward_config;
map_configs.addArrayObject(obj);

DataObject obj2;
obj2["path"] = "t8ntool/genesis/correctMiningReward.json";
obj2["path"] = "default/genesis/correctMiningReward.json";
obj2["content"] = t8ntool_correctMiningReward_config;
map_configs.addArrayObject(obj2);
}

0 comments on commit 2540fab

Please sign in to comment.