-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathengine.load.toml
More file actions
50 lines (43 loc) · 1.9 KB
/
Copy pathengine.load.toml
File metadata and controls
50 lines (43 loc) · 1.9 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
47
48
49
50
# 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
# - the cow adapter's load-variant manifest points the orderbook 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"
[[modules]]
path = "./target/wasm32-wasip2/release/twap_monitor.wasm"
manifest = "./shepherd/modules/twap-monitor/module.toml"
# The cow venue adapter twap-monitor submits through (`just
# build-cow-venue`). Load-variant manifest: Sepolia chain id with the
# orderbook re-pointed at tools/orderbook-mock.
[[adapters]]
path = "./target/wasm32-wasip2/release/cow_venue.wasm"
manifest = "./shepherd/crates/cow-venue/module.load.toml"
http_allow = ["localhost"]
[[modules]]
path = "./target/wasm32-wasip2/release/ethflow_watcher.wasm"
manifest = "./shepherd/modules/ethflow-watcher/module.toml"