-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.local.toml
42 lines (35 loc) · 1.06 KB
/
config.local.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
# Sample configuration for a local setup
# Instructions on how to use it:
# Start the mainnet and rollup anvil instances
# > cd tests/fixtures/integration_contracts
# > ./runRollup.sh --host 127.0.0.1 --port 8545
# In a different terminal
# > ./runMainnet.sh --host 127.0.0.1 --port 8545
# Start the world-tree service
# (in root dir)
# > cargo run -- --config config.local.toml
tree_depth = 30
socket_address = "127.0.0.1:8080"
[db]
connection_string = "postgresql://postgres:postgres@localhost:5432/world_tree"
[canonical_tree]
address = "0x5FbDB2315678afecb367f032d93F642f64180aa3"
window_size = 10
creation_block = 0
[canonical_tree.provider]
rpc_endpoint = "http://localhost:8545/"
max_rate_limit_retries = 1
compute_units_per_second = 10000
initial_backoff = 100
[cache]
cache_file = "cache.local"
purge_cache = true
[bridged_trees.0]
address = "0x5FbDB2315678afecb367f032d93F642f64180aa3"
window_size = 10
creation_block = 0
[bridged_trees.0.provider]
rpc_endpoint = "http://localhost:8546/"
max_rate_limit_retries = 1
compute_units_per_second = 10000
initial_backoff = 100