Skip to content

Stack trace of failure to encode a tuple doesn't help locate caller #3671

Discussion options

You must be logged in to vote

Hey @aspiers. The reason this happens in one task and not in the other is that the first one is handled by ethers. The top frames in that trace gives you a hint of what's going on: ethers captures an error and creates its own thing, which sometimes hides information that comes from Hardhat.

We are aware of the issue but haven't been able to do much about it. I'm not sure if ethers v6 handles this better, hopefully it does.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aspiers
Comment options

Answer selected by aspiers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants