-
Notifications
You must be signed in to change notification settings - Fork 13
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
[CHORE] Smart Contract Improvements #14
Comments
It would be great to be able to run tests against any environment. Currently they will only pass you have your rpc set to point at Sepolia. This can be changed by deploying a mock version of EAS instead of referencing the version that is deployed on Sepolia https://github.com/gitcoinco/eas-proxy/blob/7f6700b981b8ae77a84a77f51d1a80dc8b5d051e/test/GitcoinAttester.ts#L89 |
Change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Testing
Both Contracts
GitcoinAttester
remove setEASAddress and set address in constructorGitcoinVerifier
_hashArray
bytes32 private constant EIP712DOMAIN_TYPEHASH
,bytes32 private constant STAMP_TYPEHASH
,bytes32 private constant PASSPORT_TYPEHASH
can be prehashed and the values can be assigned to the bytes32 value - will minimize gas in deploymentGeneral
The text was updated successfully, but these errors were encountered: