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

Validate bytecode at a given contract address #811

Open
4 tasks
ethanfrey opened this issue Mar 6, 2019 · 1 comment
Open
4 tasks

Validate bytecode at a given contract address #811

ethanfrey opened this issue Mar 6, 2019 · 1 comment

Comments

@ethanfrey
Copy link
Contributor

ethanfrey commented Mar 6, 2019

Builds on #810

Given an address on the ethereum chain, we should be able to get the bytecode loaded there (or no bytecode).

Method like getContractAtAddress()

  • Expose reading the bytecode at an address as a method on EthereumConnection
  • Validate the contents of a previously uploaded contract (as a test)
  • Verify if this is deterministic (solidity -> bytecode), always? for one version of solc? never?
  • Bonus: check if it is possible to reverse compile the bytecode
@ethanfrey
Copy link
Contributor Author

I think this does not belong in iov-core itself, but rather tooling (like we have for deployment), so we can make use of tons of libraries without adding all those dependencies.

Still, a useful tool to validate if a local solidity contract matches some deployed bytecode

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

No branches or pull requests

1 participant