Documentation
¶
Index ¶
Constants ¶
const AnvilDefaultPrivateKey = "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
AnvilDefaultPrivateKey is the default private key for tests that need a funded account.
Variables ¶
This section is empty.
Functions ¶
func NewForgeClient ¶ added in v1.19.5
NewForgeClient returns a forge client hardened for devnet tests: each invocation is bounded so a stuck forge fails the test instead of hanging until the CI job timeout, and broadcasts run with --slow.
The timeout only needs to be an order of magnitude below the 90-minute job watchdog, not tight: the worst healthy forge-using test on develop finishes in under 10 seconds, but the bound also has to absorb episodic CI host contention (documented multi-second-to-minute stalls), --slow broadcasts waiting on a receipt per tx, and a cold forge binary download, all of which a too-tight value would convert into new flakes.
Types ¶
This section is empty.