Open ltyu opened 2 years ago
Is your feature request related to a problem? Please describe. I am unable to usemyMock.setVariable with enums. See example below:
myMock.setVariable
enum ProposalState { VOTING, QUEUED, EXECUTED, FAILED } struct Proposal { uint256 id; ProposalState state; } mapping(uint => Proposal) public proposals;
When i try to run
await collectorDAO.setVariable("proposals", { 456 : { state: 1 }});
I get Error: unknown unsupported type inplace enum CollectorDAO.ProposalState
Error: unknown unsupported type inplace enum CollectorDAO.ProposalState
Describe the solution you'd like Support for enum setting
I am facing the same problem
me too
Is your feature request related to a problem? Please describe. I am unable to use
myMock.setVariable
with enums. See example below:When i try to run
I get
Error: unknown unsupported type inplace enum CollectorDAO.ProposalState
Describe the solution you'd like Support for enum setting