-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathengine.load.toml
More file actions
55 lines (48 loc) · 2.09 KB
/
Copy pathengine.load.toml
File metadata and controls
55 lines (48 loc) · 2.09 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
51
52
53
54
55
# 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 venue's `orderbook-url` 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"
# Dev config: the components are rebuilt for every run.
require_component_digest = false
[engine.metrics]
enabled = true
bind_addr = "127.0.0.1:9100"
# Operator ceilings, formerly the `[engine.limits]` scalars.
[policy]
max_fuel_per_dispatch = 1_000_000_000 # 1B / dispatch (same as default)
max_memory_bytes = 67_108_864 # 64 MiB / component (same as default)
# 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.1]
rpc_url = "http://127.0.0.1:8545"
[[modules]]
id = "ccow-monitor"
path = "./target/wasm32-wasip2/release/ccow_monitor.wasm"
manifest = "./modules/ccow-monitor/component.toml"
[[modules]]
id = "ethflow-watcher"
path = "./target/wasm32-wasip2/release/ethflow_watcher.wasm"
manifest = "./modules/ethflow-watcher/component.toml"
# The cow venue ccow-monitor submits through, native Rust in the engine
# binary. Load variant: Sepolia chain id with the orderbook re-pointed at
# tools/orderbook-mock. This replaces crates/cow-venue/module.load.toml,
# which the deleted `[[adapters]]` path resolved.
[extensions.videre.venues.cow]
chain = 1
orderbook_url = "http://localhost:9999"