Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(etherscan): source tree support #990

Merged
merged 1 commit into from Mar 6, 2022

Conversation

jubos
Copy link
Contributor

@jubos jubos commented Mar 5, 2022

  • Create a source tree of paths and their respective contents from the
    ContractMetadata.

This is useful for file level analysis or writing the resulting files to disk.

  • Test writing to disk via cargo test
  • Test etherscan by uncommenting the ignore on
    can_fetch_contract_source_tree_for_multi_entry_contract
    and can_fetch_contract_source_tree_for_singleton_contract

* Create a source tree of paths and their respective contents from the
ContractMetadata.

This is useful for file level analysis or writing the resulting files to disk.

* Test writing to disk via cargo test
* Test etherscan by uncommenting the ignore on
can_fetch_contract_source_tree_for_multi_entry_contract
and can_fetch_contract_source_tree_for_singleton_contract
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm!

@gakonst gakonst merged commit 96dd342 into gakonst:master Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants