sol-trace

0.1.3 • Public • Published

sol-trace

Trace runtime failures for solidity

Inspired by 0x-monorepo https://github.com/0xProject/0x-monorepo/pull/705

Installation

$ npm install --save sol-trace # or yarn add sol-trace

Usage

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

Demo

Readme

Keywords

Package Sidebar

Install

npm i sol-trace

Weekly Downloads

1

Version

0.1.3

License

GPLv3

Unpacked Size

2.42 MB

Total Files

40

Last publish

Collaborators

  • jdkanani