Bump snforge_std version to 0.27.0
After the bump, I fixed all errors caused by the upgrade of the version. This involves tests for the Fund and Donator contracts.
Create new tests for the DonatorManager contract
New tests to cover all the methods in the contract
I have added two new methods to the contract to read the owner and the donator class hash from the storage.
Current output
Tests:
Time spent breakdown
4 days
The effort involves a lot of research about how to implement the tests in the best way using snforge_std, after the research I found that the best was to update the version of this package to take advantage of the cheat codes available to set the caller address before the deployment of the contract.
Comments
Bump snforge_std version to 0.27.0.
Fix and update current tests and code to match the new version.
Pull Request
Changes Description
snforge_std
version to0.27.0
After the bump, I fixed all errors caused by the upgrade of the version. This involves tests for theFund
andDonator
contracts.DonatorManager
contractCurrent output
Time spent breakdown
snforge_std
, after the research I found that the best was to update the version of this package to take advantage of the cheat codes available to set the caller address before the deployment of the contract.Comments
snforge_std
version to0.27.0
.