-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Open
Ability to tell hardhat about external artifacts so it can reverse lookup abi for errors, etc...#7433
Feature
Copy link
Labels
status:needs-priorityPrioritisation is not completePrioritisation is not complete
Description
Describe the feature
Right now, with external artifact hardhat produce errors like this :
eth_estimateGas
Contract call: <UnrecognizedContract>
From: 0x9f16c535a9cfdd6aebdb77271f45321b9793de42
To: 0xa513e6e4b8f2a923d98304ec87f64353c4d5c853
Value: 0 ETH
Error: VM Exception while processing transaction: reverted with an unrecognized custom error (return data: 0x954de334976ea74026e726554db657fa54763abd0c3a0aa997357df516350c68f9519135)
This is because hardhat have no way to know about the abi, as it only see the bytecode
if we could have a way of telling hardhat about external artifacts, that would be useful
Search terms
No response
Metadata
Metadata
Assignees
Labels
status:needs-priorityPrioritisation is not completePrioritisation is not complete
Type
Projects
Status
Backlog