We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
I am facing the same problem
Sorry, something went wrong.
me too
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: