deployment script inheritance and missing method / error names in traces #6714
Unanswered
radeksvarz
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having a base script and the child script.
Within the base script I am importing the interface towards existing deployed contract:
import {ICreateX} from "./ICreateX.sol";
...
CreateX = ICreateX(CREATEX_ADDRESS);
vm.label(CREATEX_ADDRESS, "CreateX");
If I call CreateX from within the base script contract, trace shows the function name correctly.
If I call it from the child script contract, it does not show the function name in the trace.
It also does not show error names in the trace.
How to fix it?
Beta Was this translation helpful? Give feedback.
All reactions