Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

maticnetwork/sol-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sol-trace

Trace runtime failures for solidity

Inspired by 0x-monorepo 0xProject/0x-monorepo#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