Closed nbaztec closed 2 months ago
Fetching last 256 blocks from rpc causes too much noise, in addition to, several rpc requests.
Make this parameter configurable with the env variable ZK_DEBUG_HISTORICAL_BLOCK_HASHES, in the absence of a generic config setting.
ZK_DEBUG_HISTORICAL_BLOCK_HASHES
ZK_DEBUG_HISTORICAL_BLOCK_HASHES=0 forge test # disables fetching historical block hashes
Motivation
Fetching last 256 blocks from rpc causes too much noise, in addition to, several rpc requests.
Solution
Make this parameter configurable with the env variable
ZK_DEBUG_HISTORICAL_BLOCK_HASHES
, in the absence of a generic config setting.