Replies: 3 comments 5 replies
-
Was your custom error actually included in the ABI of the main contract in question? I wonder if including these custom errors will help. If not, this would make me sad as I am using a lot of external libraries currently which have custom errors. |
Beta Was this translation helpful? Give feedback.
-
Great. I have also created a short thread providing full detail. Maybe if I deploy contracts which have a large number of users and they all complain about this we can get it through. |
Beta Was this translation helpful? Give feedback.
-
Is this still an issue ? |
Beta Was this translation helpful? Give feedback.
-
@cleanunicorn asked me this question privately, and it's a very good question. PRBProxy itself does bubble up the custom error thrown by a target contract, as per the code on lines 101-106:
https://github.com/paulrberg/prb-proxy/blob/69321207fdcee2ad810e0c30dfd120e4221edf0a/contracts/PRBProxy.sol#L101-L106
The issue is that Etherscan does not decode the error - even if it could very well do it, provided the target contract has its source code verified.
I have contacted Etherscan multiple times about this, kindly asking them to add support for bubbled up custom errors. They said that can't find the time to add this to their roadmap.
Beta Was this translation helpful? Give feedback.
All reactions