Skip to content

Instantly share code, notes, and snippets.

View eggplantzzz's full-sized avatar
👯‍♀️

tyler eggplantzzz

👯‍♀️
View GitHub Profile
@eggplantzzz
eggplantzzz / gist:4cf8ee78ce3dfa3609b7ee416bde9fc7
Created September 18, 2018 17:17
lcov.info after running `nyc lerna run test`
TN:
SF:/Users/tyler/projects/truffle/packages/truffle-artifactor/index.js
FN:9,Artifactor
FN:13,(anonymous_1)
FN:16,(anonymous_2)
FN:32,(anonymous_3)
FN:62,(anonymous_4)
FN:70,(anonymous_5)
FN:77,(anonymous_6)
FN:82,(anonymous_7)
Set up for testing Truffle visual debugger
Truffle visual debugger needs compilations and source material for the contracts that it will displaying information
for. For example, if you want to debug a transaction involving 3 contracts, it will need the source material and
compilations for them; otherwise it won't be able to display this information. It obtains compilations/source material
from 3 sources: etherscan (for verified contracts), Truffle projects, and HardHat projects.
When the visual debugger determines that it is missing source material, it will automatically try and fetch it from
Etherscan and the user does not need any extra configuration. However, if you have your source material locally in
a Truffle or HardHat project, you will need to send those compilations to the visual debugger using the following steps.