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

Contract created through another contract #35

Closed
ffarhanaamin opened this issue Sep 19, 2020 · 1 comment
Closed

Contract created through another contract #35

ffarhanaamin opened this issue Sep 19, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ffarhanaamin
Copy link

I am trying to verify a contract which is created through an internal transaction. hence, this call fails

https://api-ropsten.etherscan.io/api?apiKey={apiKey}&module=account&action=txlist&address={dynamicallyCreatedContract}&page=1&sort=asc&offset=1

hence it can't see the trasnaction and it fails

@rkalis
Copy link
Owner

rkalis commented Sep 20, 2020

Hey @ffarhanaamin, thanks for opening this issue. This is already covered in issue #8, so I'll close this isse.

To respond to the issue: there's not a very easy solution yet. I'm considering to add a flag to the CLI to manually provide constructor parameters so it doesn't need to retrieve them from Etherscan. An alternative solution is to potentially use the Truffle Debugger to see if we can trace back the constructor parameters that were used. But for now unfortunately there's no good workaround.

@rkalis rkalis closed this as completed Sep 20, 2020
@rkalis rkalis added the duplicate This issue or pull request already exists label May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants