-
Notifications
You must be signed in to change notification settings - Fork 38
/
genesis-template.json
78 lines (78 loc) · 2.67 KB
/
genesis-template.json
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"config": {
"chainId": {{chainId}},
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"shanghaiBlock": 0,
"bor": {
"jaipurBlock": 0,
"delhiBlock": 0,
"indoreBlock": 0,
"stateSyncConfirmationDelay": {
"0": 128
},
"period": {
{% for block in blocks %}{% if block === blocks[blocks.length -1] %}"{{block.number}}": {{block.time}}
{% else %}"{{block.number}}": {{block.time}},{% endif %}
{% endfor %}
},
"producerDelay": {
{% for block in blocks %}{% if block === blocks[blocks.length -1] %}"{{block.number}}": {{block.time}}
{% else %}"{{block.number}}": {{block.time}},{% endif %}
{% endfor %}
},
"sprint": {
{% for sprintSize in sprintSizes %}{% if sprintSize === sprintSizes[sprintSizes.length -1] %}"{{sprintSize.number}}": {{sprintSize.sprintSize}}
{% else %}"{{sprintSize.number}}": {{sprintSize.sprintSize}},{% endif %}
{% endfor %}
},
"backupMultiplier": {
{% for block in blocks %}{% if block === blocks[blocks.length -1] %}"{{block.number}}": {{block.time}}
{% else %}"{{block.number}}": {{block.time}},{% endif %}
{% endfor %}
},
"validatorContract": "0x0000000000000000000000000000000000001000",
"stateReceiverContract": "0x0000000000000000000000000000000000001001",
"burntContract": {
"0": "0x000000000000000000000000000000000000dead"
}
}
},
"nonce": "0x0",
"timestamp": "0x5ce28211",
"extraData": "",
"gasLimit": "0x989680",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"0000000000000000000000000000000000001000": {
"balance": "0x0",
"code": "0x{{borValidatorSetContract}}"
},
"0000000000000000000000000000000000001001": {
"balance": "0x0",
"code": "0x{{borStateReceiverContract}}"
},
"0000000000000000000000000000000000001010": {
"balance": "{{ maticChildERC20ContractBalance }}",
"code": "0x{{maticChildERC20Contract}}"
}{% for v in validators %},
"{{ v.address.replace('0x', '') }}": {
"balance": "{{ v.balance }}"
}{% endfor %}
},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}