-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
StorageReadable unit tests #154
Conversation
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
The test migration has been done well. I just have some nit comments before merging.
hey @fedgiac! I have implemented all of your suggestions. Thanks! |
Thank you! We'll get back to you once we're settled on the license, but otherwise it's ready to merge. |
First, thanks for the contribution! 🚀 In preparation for the merge of #155 can you also please update the pragma (the intention is all tests / CI/CD will run against |
done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The license has been settled to LGPL. Once the license is modified and changes from main
are merged into here we can merge this PR.
This branch is out of date with |
## Description This PR bumps the pragma to support up-to-and-including solidity (`0.8.26`). This allows the foundry migration taking place to have tests written in solc `0.8.x`, reducing redundancy / effort with writing the associated test contracts. It is important that the `bytecode` generated for production still be compliant with `0.7.6` (save for potential issues associated with the `metadata` hash appended by `solc`). To facilitate this, the `test` pipeline uses a multi-version matrix strategy to ensure that the contracts remain able to be built with `0.7.6`. A minor miscellaneous patch is also included for VS Code's solidity configuration, reducing configuration size. ## Test Plan 1. Verify `test` CI/CD runs `0.7.6` and `0.8.26` matrices. 2. Verify that the `ci` CI/CD runs (`hardhat`) and completes successfully. ## Related Issues Related: cowprotocol#106 --------- Co-authored-by: Federico Giacon <58218759+fedgiac@users.noreply.github.com>
aah, i guess i got those commits in my PR. shall I make a new PR? |
I merged the |
Closes #146
Foundry unit tests for StorageReadable contract.