Skip to content

Commit

Permalink
transition genesis for retesteth
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Oct 26, 2019
1 parent cfbcd15 commit 0dbd6fe
Show file tree
Hide file tree
Showing 6 changed files with 259 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Retesteth/default/config
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"Byzantium",
"Constantinople",
"ConstantinopleFix",
"Istanbul"
"Istanbul",
"FrontierToHomesteadAt5",
"HomesteadToEIP150At5",
"EIP158ToByzantiumAt5",
"HomesteadToDaoAt5",
"ByzantiumToConstantinopleFixAt5"
]
}
76 changes: 76 additions & 0 deletions Retesteth/default/genesis/ByzantiumToConstantinopleFixAt5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"params" : {
"homesteadForkBlock" : "0x00",
"EIP150ForkBlock" : "0x00",
"EIP158ForkBlock" : "0x00",
"byzantiumForkBlock" : "0x00",
"constantinopleForkBlock" : "0x05",
"constantinopleFixForkBlock" : "0x05"
},
"accounts" : {
"0x0000000000000000000000000000000000000001" : {
"precompiled" : {
"name" : "ecrecover",
"linear" : {
"base" : 3000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000002" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 60,
"word" : 12
}
}
},
"0x0000000000000000000000000000000000000003" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 600,
"word" : 120
}
}
},
"0x0000000000000000000000000000000000000004" : {
"precompiled" : {
"name" : "identity",
"linear" : {
"base" : 15,
"word" : 3
}
}
},
"0x0000000000000000000000000000000000000005" : {
"precompiled" : {
"name" : "modexp"
}
},
"0x0000000000000000000000000000000000000006" : {
"precompiled" : {
"name" : "alt_bn128_G1_add",
"linear" : {
"base" : 500,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000007" : {
"precompiled" : {
"name" : "alt_bn128_G1_mul",
"linear" : {
"base" : 40000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000008" : {
"precompiled" : {
"name" : "alt_bn128_pairing_product"
}
}
}
}
46 changes: 46 additions & 0 deletions Retesteth/default/genesis/EIP158ToByzantiumAt5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"params" : {
"homesteadForkBlock" : "0x00",
"EIP150ForkBlock" : "0x00",
"EIP158ForkBlock" : "0x00",
"byzantiumForkBlock" : "0x05"
},
"accounts" : {
"0x0000000000000000000000000000000000000001" : {
"precompiled" : {
"name" : "ecrecover",
"linear" : {
"base" : 3000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000002" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 60,
"word" : 12
}
}
},
"0x0000000000000000000000000000000000000003" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 600,
"word" : 120
}
}
},
"0x0000000000000000000000000000000000000004" : {
"precompiled" : {
"name" : "identity",
"linear" : {
"base" : 15,
"word" : 3
}
}
}
}
}
43 changes: 43 additions & 0 deletions Retesteth/default/genesis/FrontierToHomesteadAt5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"params" : {
"homesteadForkBlock" : "0x05"
},
"accounts" : {
"0x0000000000000000000000000000000000000001" : {
"precompiled" : {
"name" : "ecrecover",
"linear" : {
"base" : 3000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000002" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 60,
"word" : 12
}
}
},
"0x0000000000000000000000000000000000000003" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 600,
"word" : 120
}
}
},
"0x0000000000000000000000000000000000000004" : {
"precompiled" : {
"name" : "identity",
"linear" : {
"base" : 15,
"word" : 3
}
}
}
}
}
44 changes: 44 additions & 0 deletions Retesteth/default/genesis/HomesteadToDaoAt5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"params" : {
"homesteadForkBlock" : "0x00",
"daoForkBlock" : "0x05"
},
"accounts" : {
"0x0000000000000000000000000000000000000001" : {
"precompiled" : {
"name" : "ecrecover",
"linear" : {
"base" : 3000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000002" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 60,
"word" : 12
}
}
},
"0x0000000000000000000000000000000000000003" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 600,
"word" : 120
}
}
},
"0x0000000000000000000000000000000000000004" : {
"precompiled" : {
"name" : "identity",
"linear" : {
"base" : 15,
"word" : 3
}
}
}
}
}
44 changes: 44 additions & 0 deletions Retesteth/default/genesis/HomesteadToEIP150At5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"params" : {
"homesteadForkBlock" : "0x00",
"EIP150ForkBlock" : "0x05"
},
"accounts" : {
"0x0000000000000000000000000000000000000001" : {
"precompiled" : {
"name" : "ecrecover",
"linear" : {
"base" : 3000,
"word" : 0
}
}
},
"0x0000000000000000000000000000000000000002" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 60,
"word" : 12
}
}
},
"0x0000000000000000000000000000000000000003" : {
"precompiled" : {
"name" : "sha256",
"linear" : {
"base" : 600,
"word" : 120
}
}
},
"0x0000000000000000000000000000000000000004" : {
"precompiled" : {
"name" : "identity",
"linear" : {
"base" : 15,
"word" : 3
}
}
}
}
}

0 comments on commit 0dbd6fe

Please sign in to comment.