DETECT_VAULT_FEATURES_CHUNK_SIZE
Documentation for eth_defi.erc_4626.classification.DETECT_VAULT_FEATURES_CHUNK_SIZE data.
- DETECT_VAULT_FEATURES_CHUNK_SIZE = 10
How many probe calls
detect_vault_features()packs into one Multicall3 request.Autodetect issues ~50 probe signatures per vault. Sent one JSON-RPC call at a time (the behaviour before batching) that is ~50 sequential round-trips, and on an Anvil mainnet fork whose state is not yet cached each of those also triggers lazy upstream archive fetches — slow enough that the whole detection could exceed the caller’s read timeout and never finish.
Ten keeps each batch small enough to stay well inside node gas/response limits (a batch is one
eth_callexecuting every packed probe) while cutting the round-trips by an order of magnitude.