-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathengine.load.toml
More file actions
46 lines (39 loc) · 1.65 KB
/
Copy pathengine.load.toml
File metadata and controls
46 lines (39 loc) · 1.65 KB
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
# Engine configuration for the load test.
#
# Pairs with:
# - scripts/load-bootstrap.sh - starts Anvil + tools/orderbook-mock
# - tools/load-gen - submits N TWAP + M EthFlow per block
# - docs/operations/load-testnet-runbook.md
#
# Differences vs engine.e2e.toml:
# - chain points at the local Anvil fork on ws://localhost:8545
# - [extensions.cow.orderbook_urls] points at tools/orderbook-mock
# (no live cow.fi)
# - state_dir is per-run (./data/load) so successive runs do not
# inherit local-store rows from each other
# - log level is debug for the supervisor-dispatch surface so the
# report can be reconstructed from the engine log alone
[engine]
state_dir = "./data/load"
log_level = "info,nexum_runtime::supervisor=debug,nexum_runtime::runtime=debug"
[engine.limits]
fuel_per_event = 1_000_000_000 # 1B / event (same as default)
memory_bytes = 67_108_864 # 64 MiB / module (same as default)
[engine.metrics]
enabled = true
bind_addr = "127.0.0.1:9100"
# Sepolia, served by the Anvil fork. Chain id stays 11155111 because
# Anvil preserves the fork's chain id, which keeps all the pinned
# Sepolia contract addresses (ComposableCoW, CoWSwapEthFlow, TWAP
# handler, WETH9, COW token) resolvable as-is.
[chains.11155111]
rpc_url = "ws://localhost:8545"
# Point the cow-api extension at tools/orderbook-mock.
[extensions.cow.orderbook_urls]
11155111 = "http://localhost:9999"
[[modules]]
path = "./target/wasm32-wasip2/release/twap_monitor.wasm"
manifest = "./modules/twap-monitor/module.toml"
[[modules]]
path = "./target/wasm32-wasip2/release/ethflow_watcher.wasm"
manifest = "./modules/ethflow-watcher/module.toml"