explain_failure
Re-run a single failing test at high verbosity to return its failure reason, decoded trace, backtrace, logs, and fuzz or invariant counterexample.
Instructions
Re-run one test at high verbosity and return only that test: its reason, decoded call trace (trimmed to the path to the revert when long), backtrace, logs and, for fuzz or invariant tests, the counterexample. Pass the test name as run_tests reports it, e.g. "BankTest.test_transfer()".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | Yes | Test function, optionally with its contract: "Contract.test_name()". | |
| contract | No | Test contract, if not given in `test`. | |
| max_bytes | No | Response size budget in bytes (default 8192). |