Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Conversation

acuarica
Copy link
Contributor

@acuarica acuarica commented Oct 31, 2022

PR description

This PR closes #149. It uses the Truffle fetch-and-compile module to fetch external sources when debugging a forked network.

Currently it serializes the external sources in a temporary folder.
Whenever the path of a contract being serialized is a nested path, .e.g., /@openzeppelin/contracts/access/Ownable.sol,
the contract is serialized using its full path.

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if documentation updates are required.

@acuarica acuarica added the doc-change-required Issue indicates a change to documentation is required label Oct 31, 2022
@kevinbluer
Copy link
Contributor

Reminder (as discussed) that we'll need to add handling for txns that don't have verified contracts, e.g. https://etherscan.io/tx/0xf7bed1b0e65950e1346fcc5611e2a6eb3c58773b2c443992e1d4d5fde77bec88 (at least not on Etherscan, haven't checked on Sourcify).

Copy link
Contributor

@xhulz xhulz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement fetch external sources feature to the debugger

5 participants