defi-wonderland / smock

The Solidity mocking library
MIT License
319 stars 40 forks source link

feat: add setVariables function #112

Closed tonykogias closed 2 years ago

tonykogias commented 2 years ago

Adding a new function for mock contracts. With setVariables mocks will be able to edit multiple internal variables at once.

sambacha commented 2 years ago

any chance of this being accepted?

tonykogias commented 2 years ago

I will resolve the comments later today

tonykogias commented 2 years ago

@wei3erHase I pushed the fixes please let me know if the changes work for you.

wei3erHase commented 2 years ago

please add yourself as contributor here: https://app.dework.xyz/i/0FDGv5pCT7TJXZVki1wJ0Z

tonykogias commented 2 years ago

please add yourself as contributor here: https://app.dework.xyz/i/0FDGv5pCT7TJXZVki1wJ0Z

removed the test and assigned myself on the link.

wei3erHase commented 2 years ago

cannary release at @defi-wonderland/smock@0.0.0-72aec142 <3