|
|
@ -25,26 +25,26 @@ import ( |
|
|
|
|
|
|
|
|
|
|
|
// This table defines supported forks and their chain config.
|
|
|
|
// This table defines supported forks and their chain config.
|
|
|
|
var Forks = map[string]*params.ChainConfig{ |
|
|
|
var Forks = map[string]*params.ChainConfig{ |
|
|
|
"Frontier": ¶ms.ChainConfig{ |
|
|
|
"Frontier": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"Homestead": ¶ms.ChainConfig{ |
|
|
|
"Homestead": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"EIP150": ¶ms.ChainConfig{ |
|
|
|
"EIP150": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"EIP158": ¶ms.ChainConfig{ |
|
|
|
"EIP158": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
EIP155Block: big.NewInt(0), |
|
|
|
EIP155Block: big.NewInt(0), |
|
|
|
EIP158Block: big.NewInt(0), |
|
|
|
EIP158Block: big.NewInt(0), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"Byzantium": ¶ms.ChainConfig{ |
|
|
|
"Byzantium": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
@ -53,22 +53,22 @@ var Forks = map[string]*params.ChainConfig{ |
|
|
|
DAOForkBlock: big.NewInt(0), |
|
|
|
DAOForkBlock: big.NewInt(0), |
|
|
|
ByzantiumBlock: big.NewInt(0), |
|
|
|
ByzantiumBlock: big.NewInt(0), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"FrontierToHomesteadAt5": ¶ms.ChainConfig{ |
|
|
|
"FrontierToHomesteadAt5": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(5), |
|
|
|
HomesteadBlock: big.NewInt(5), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"HomesteadToEIP150At5": ¶ms.ChainConfig{ |
|
|
|
"HomesteadToEIP150At5": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(5), |
|
|
|
EIP150Block: big.NewInt(5), |
|
|
|
}, |
|
|
|
}, |
|
|
|
"HomesteadToDaoAt5": ¶ms.ChainConfig{ |
|
|
|
"HomesteadToDaoAt5": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
DAOForkBlock: big.NewInt(5), |
|
|
|
DAOForkBlock: big.NewInt(5), |
|
|
|
DAOForkSupport: true, |
|
|
|
DAOForkSupport: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
"EIP158ToByzantiumAt5": ¶ms.ChainConfig{ |
|
|
|
"EIP158ToByzantiumAt5": { |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
ChainId: big.NewInt(1), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
HomesteadBlock: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|
EIP150Block: big.NewInt(0), |
|
|
|