-
Notifications
You must be signed in to change notification settings - Fork 15
/
.env
100 lines (90 loc) · 5.42 KB
/
.env
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Environment for local demo network.
# This file is meant to work with docker-compose.yaml
RUST_LOG=info,libp2p=off
RUST_LOG_FORMAT=full
# Internal port inside container
ESPRESSO_WEB_SERVER_PORT=40000
ESPRESSO_ORCHESTRATOR_PORT=40001
# Set a short time for proposing empty blocks if the mempool is empty. Since the local demo will
# usually be run with very low volume, we require empty blocks to push previous blocks through the
# consensus pipeline, so this is needed to feel the effects of HotShot's fast finality.
ESPRESSO_ORCHESTRATOR_MAX_PROPOSE_TIME=1s
ESPRESSO_ORCHESTRATOR_MIN_PROPOSE_TIME=500ms
ESPRESSO_ORCHESTRATOR_NEXT_VIEW_TIMEOUT=30s
ESPRESSO_CONSENSUS_SERVER_PORT=40002
ESPRESSO_DA_SERVER_PORT=40003
ESPRESSO_SEQUENCER_DA_SERVER_URL=http://da-server:$ESPRESSO_WEB_SERVER_PORT
ESPRESSO_SEQUENCER_CONSENSUS_SERVER_URL=http://consensus-server:$ESPRESSO_WEB_SERVER_PORT
ESPRESSO_SEQUENCER_ORCHESTRATOR_URL=http://orchestrator:$ESPRESSO_ORCHESTRATOR_PORT
ESPRESSO_SEQUENCER_API_PORT=50000
ESPRESSO_SEQUENCER1_API_PORT=50001
ESPRESSO_SEQUENCER2_API_PORT=50002
ESPRESSO_SEQUENCER3_API_PORT=50003
ESPRESSO_SEQUENCER4_API_PORT=50004
ESPRESSO_SEQUENCER_URL=http://sequencer0:$ESPRESSO_SEQUENCER_API_PORT
ESPRESSO_SEQUENCER_STORAGE_PATH=/store/sequencer
ESPRESSO_SEQUENCER_ETH_MNEMONIC="test test test test test test test test test test test junk"
ESPRESSO_SEQUENCER_ETH_ACCOUNT_INDEX=8
ESPRESSO_SEQUENCER_PREFUNDED_BUILDER_ACCOUNTS=0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f
ESPRESSO_ZKEVM_L1_PORT=8545
ESPRESSO_ZKEVM_L1_PROVIDER=http://demo-l1-network:$ESPRESSO_ZKEVM_L1_PORT
ESPRESSO_ZKEVM_L1_BLOCK_PERIOD=1
# Hotshot commitment task
ESPRESSO_SEQUENCER_HOTSHOT_ADDRESS=0x5fbdb2315678afecb367f032d93f642f64180aa3
ESPRESSO_SEQUENCER_ETH_MNEMONIC="test test test test test test test test test test test junk"
# Use a different account than the L2 aggregators use, to avoid nonce collisions.
ESPRESSO_SEQUENCER_HOTSHOT_ACCOUNT_INDEX=1
ESPRESSO_SEQUENCER_L1_PROVIDER=$ESPRESSO_ZKEVM_L1_PROVIDER
ESPRESSO_SEQUENCER_L1_WS_PROVIDER=ws://demo-l1-network:$ESPRESSO_ZKEVM_L1_PORT
ESPRESSO_SEQUENCER_QUERY_SERVICE_URL=http://sequencer0:$ESPRESSO_SEQUENCER_API_PORT
# Config shared between both zkevm-nodes
ESPRESSO_DISCORD_FAUCET_DISCORD_TOKEN=""
ESPRESSO_DISCORD_FAUCET_GRANT_AMOUNT_ETHERS=1000
ESPRESSO_DISCORD_FAUCET_MNEMONIC="test test test test test test test test test test test junk"
ESPRESSO_DISCORD_FAUCET_NUM_CLIENTS=1
ESPRESSO_DISCORD_FAUCET_TRANSACTION_TIMEOUT_SECS=300
ESPRESSO_ZKEVM_IGNORE_GEN_BLOCK_NUMBER_CHECK=1
ESPRESSO_ZKEVM_ETH_TX_MANAGER_POLLING_INTERVAL="1s"
# Keystore information for the zkevm node
ESPRESSO_ZKEVM_KEYSTORE_PASSWORD=testonly
ESPRESSO_ZKEVM_KEYSTORE_DIR=./zkevm-node/test
ESPRESSO_ZKEVM_KEYSTORE_NAME=aggregator.keystore
# zkevm-node 1
ESPRESSO_ZKEVM_1_L2_PORT=18126
ESPRESSO_ZKEVM_1_L2_PORT_WS=18133
ESPRESSO_ZKEVM_1_VERIFIER_ADDRESS=0xe7f1725e7734ce288f8367e1bb143e90bb3f0512
ESPRESSO_ZKEVM_1_MATIC_ADDRESS=0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0
ESPRESSO_ZKEVM_1_GER_ADDRESS=0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9
ESPRESSO_ZKEVM_1_BRIDGE_ADDRESS=0xdc64a140aa3e981100a9beca4e685f962f0cf6c9
ESPRESSO_ZKEVM_1_ROLLUP_ADDRESS=0x5fc8d32690cc91d4c39d9d3abcbd16989f875707
ESPRESSO_ZKEVM_1_MTCLIENT_URI=zkevm-1-prover:50061
ESPRESSO_ZKEVM_1_EXECUTOR_URI=zkevm-1-prover:50071
ESPRESSO_ZKEVM_1_SEQUENCER_MNEMONIC="test test test test test test test test test test test junk"
ESPRESSO_ZKEVM_1_ADAPTOR_RPC_PORT=18130
ESPRESSO_ZKEVM_1_ADAPTOR_RPC_URL=http://polygon-zkevm-1-adaptor:$ESPRESSO_ZKEVM_1_ADAPTOR_RPC_PORT
ESPRESSO_ZKEVM_1_ADAPTOR_QUERY_PORT=50100
ESPRESSO_ZKEVM_1_ADAPTOR_QUERY_URL=http://polygon-zkevm-1-adaptor:$ESPRESSO_ZKEVM_1_ADAPTOR_QUERY_PORT
ESPRESSO_ZKEVM_1_GENESIS_BLOCK_NUMBER=8
ESPRESSO_ZKEVM_1_FAUCET_PORT=18111
ESPRESSO_ZKEVM_1_FAUCET_WEB3_PROVIDER_URL_WS=ws://zkevm-1-permissionless-node:$ESPRESSO_ZKEVM_1_L2_PORT_WS
ESPRESSO_ZKEVM_1_FAUCET_WEB3_PROVIDER_URL_HTTP=http://zkevm-1-permissionless-node:$ESPRESSO_ZKEVM_1_L2_PORT
ESPRESSO_ZKEVM_1_GENESIS_HOTSHOT_BLOCK_NUMBER=0
ESPRESSO_ZKEVM_1_BLOCKSCOUT_PORT=4000
# zkevm-preconfirmations-node 1
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_L2_PORT=18127
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_L2_PORT_WS=18134
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_SYNC_INTERVAL=1s
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_MTCLIENT_URI=zkevm-1-preconfirmations-prover:50061
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_EXECUTOR_URI=zkevm-1-preconfirmations-prover:50071
ESPRESSO_ZKEVM_1_PRECONFIRMATIONS_BLOCKSCOUT_PORT=4001
# Example sequencer demo private keys
ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_0=BLS_SIGNING_KEY~lNDh4Pn-pTAyzyprOAFdXHwhrKhEwqwtMtkD3CZF4x3o
ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_1=BLS_SIGNING_KEY~-DO72m_SFl6NQMYknm05FYpPEklkeqz-B3g2mFdbuS83
ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_2=BLS_SIGNING_KEY~LY0x6w5BheYvEI3ro3g39NU-qwoYQRKc4ObCqc1yoC4S
ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_3=BLS_SIGNING_KEY~w4jERAaQfBdCdmlStEgj8PfIJJOWmCvbsL2wckpTfCbo
ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_4=BLS_SIGNING_KEY~FTAq-zib6oUVGSOdIlgntYB1IelS0vK6icYW8Z8OUySv
ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_0=STATEKEY~YC2YwzvFypi98JLHHEydp6EGMkcSsEZBEnByNBnajgE-
ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_1=STATEKEY~5JJJJ9OhX320me8TUKZ15iRTVHslYyULwlDm3FG5vAOk
ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_2=STATEKEY~IYHeI3VJfDXiTRskUfhXSp5sW7-MTiOyTwrB3cu5kwDS
ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_3=STATEKEY~drnertCZzwwZ_KYYWTkY13jDzNS32d0YLY9t0kBQqgX2
ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_4=STATEKEY~J_0yej2Wdg2EILyBORqyrGZPnQGXg1yIlifkgomlNAMx