-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.toml
58 lines (52 loc) · 3.61 KB
/
config-example.toml
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
p2p_port = 0
[[nodes]]
json_rpc_port = 4201
eth_chain_id = 0x8001
consensus.consensus_timeout = { secs = 5, nanos = 0 }
# These public keys correspond to the private keys of all four nodes in `docker-compose.yaml`.
consensus.genesis_deposits = [
["b27aebb3b54effd7af87c4a064a711554ee0f3f5abf56ca910b46422f2b21603bc383d42eb3b927c4c3b0b8381ca30a3", "12D3KooWESMZ2ttSxDwjfnNe23sHCqsJf6sNEKwgHkdgtCHDsbWU", "10000000000000000000000000", "7E5F4552091A69125d5DfCb7b8C2659029395Bdf"],
["b37fd66aef29ca78a82d519a284789d59c2bb3880698b461c6c732d094534707d50e345128db372a1e0a4c5d5c42f49c", "12D3KooWJc2nBgNiSi14GcYaGmU8FoQsRkmhfMnaB1mHmPiBPZHd", "10000000000000000000000000", "2B5AD5c4795c026514f8317c7a215E218DcCD6cF"],
["ab035d6cd3321c3b57d14ea09a4f3860899542d2187b5ec87649b1f40980418a096717a671cf62b73880afac252fc5dc", "12D3KooWLA4xVjiGszqmYJmt8E1NTurVeCujDi17FoSzSDDDKUjT", "10000000000000000000000000", "6813Eb9362372EEF6200f3b1dbC3f819671cBA69"],
["985e3a4d367cbfc966d48710806612cc00f6bfd06aa759340cfe13c3990d26a7ddde63f64468cdba5b2ff132a4639a7f", "12D3KooWPXw2dXBRH1bT4vcNos9f6W2KoFTiarqptBuTzxaXg7zu", "10000000000000000000000000", "1efF47bc3a10a45D4B230B5d10E37751FE6AA718"],
]
consensus.genesis_accounts = [
# Accounts with private key 0x1, 0x2, 0x3, 0x4.
["7E5F4552091A69125d5DfCb7b8C2659029395Bdf", "5000000000000000000000"],
["2B5AD5c4795c026514f8317c7a215E218DcCD6cF", "5000000000000000000000"],
["6813Eb9362372EEF6200f3b1dbC3f819671cBA69", "5000000000000000000000"],
["1efF47bc3a10a45D4B230B5d10E37751FE6AA718", "5000000000000000000000"],
]
# Reward parameters
consensus.rewards_per_hour = "51_000_000_000_000_000_000_000"
consensus.blocks_per_hour = 3600
consensus.minimum_stake = "10_000_000_000_000_000_000_000_000"
# Gas parameters
consensus.eth_block_gas_limit = 84000000
consensus.gas_price = "4_761_904_800_000"
[[nodes]]
json_rpc_port = 4202
eth_chain_id = 0x8002
[nodes.consensus]
consensus_timeout = { secs = 5, nanos = 0 }
# These public keys correspond to the private keys of all four nodes in `docker-compose.yaml`.
genesis_deposits = [
["b27aebb3b54effd7af87c4a064a711554ee0f3f5abf56ca910b46422f2b21603bc383d42eb3b927c4c3b0b8381ca30a3", "12D3KooWESMZ2ttSxDwjfnNe23sHCqsJf6sNEKwgHkdgtCHDsbWU", "10000000000000000000000000", "7E5F4552091A69125d5DfCb7b8C2659029395Bdf"],
["b37fd66aef29ca78a82d519a284789d59c2bb3880698b461c6c732d094534707d50e345128db372a1e0a4c5d5c42f49c", "12D3KooWJc2nBgNiSi14GcYaGmU8FoQsRkmhfMnaB1mHmPiBPZHd", "10000000000000000000000000", "2B5AD5c4795c026514f8317c7a215E218DcCD6cF"],
["ab035d6cd3321c3b57d14ea09a4f3860899542d2187b5ec87649b1f40980418a096717a671cf62b73880afac252fc5dc", "12D3KooWLA4xVjiGszqmYJmt8E1NTurVeCujDi17FoSzSDDDKUjT", "10000000000000000000000000", "6813Eb9362372EEF6200f3b1dbC3f819671cBA69"],
["985e3a4d367cbfc966d48710806612cc00f6bfd06aa759340cfe13c3990d26a7ddde63f64468cdba5b2ff132a4639a7f", "12D3KooWPXw2dXBRH1bT4vcNos9f6W2KoFTiarqptBuTzxaXg7zu", "10000000000000000000000000", "1efF47bc3a10a45D4B230B5d10E37751FE6AA718"],
]
genesis_accounts = [
# Accounts with private key 0x1, 0x2, 0x3, 0x4.
["7E5F4552091A69125d5DfCb7b8C2659029395Bdf", "5000000000000000000000"],
["2B5AD5c4795c026514f8317c7a215E218DcCD6cF", "5000000000000000000000"],
["6813Eb9362372EEF6200f3b1dbC3f819671cBA69", "5000000000000000000000"],
["1efF47bc3a10a45D4B230B5d10E37751FE6AA718", "5000000000000000000000"],
]
# Reward parameters
consensus.rewards_per_hour = "51_000_000_000_000_000_000_000"
consensus.blocks_per_hour = 3600
consensus.minimum_stake = "10_000_000_000_000_000_000_000_000"
# Gas parameters
consensus.eth_block_gas_limit = 84000000
consensus.gas_price = "4_761_904_800_000"