-
Notifications
You must be signed in to change notification settings - Fork 2
/
ethereum.go
25 lines (22 loc) · 829 Bytes
/
ethereum.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package e2e
type EthereumConfig struct {
ChainID uint `json:"chainId"`
HomesteadBlock uint `json:"homesteadBlock"`
EIP150Block uint `json:"eip150Block"`
EIP155Block uint `json:"eip155Block"`
EIP158Block uint `json:"eip158Block"`
ByzantiumBlock uint `json:"byzantiumBlock"`
ConstantinopleBlock uint `json:"constantinopleBlock"`
PetersburgBlock uint `json:"petersburgBlock"`
IstanbulBlock uint `json:"istanbulBlock"`
BerlinBlock uint `json:"berlinBlock"`
}
type Allocation struct {
Balance string `json:"balance"`
}
type EthereumGenesis struct {
Difficulty string `json:"difficulty"`
GasLimit string `json:"gasLimit"`
Config EthereumConfig `json:"config"`
Alloc map[string]Allocation `json:"alloc"`
}