Trace runtime failures for solidity
Inspired by 0x-monorepo 0xProject/0x-monorepo#705
$ npm install --save sol-trace # or yarn add sol-trace
Add following code in your truffle test cases:
import { injectInTruffle } from "sol-trace";
injectInTruffle(web3, artifacts);
if your node_modules path need correct you do bellow:
export MODULE_RELATIVE_PATH=../ && truffle test