Skip to content
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

GrantsRound contract with tests #17

Merged
merged 9 commits into from
Jul 20, 2021
Merged

GrantsRound contract with tests #17

merged 9 commits into from
Jul 20, 2021

Conversation

corydickson
Copy link
Contributor

@corydickson corydickson commented Jul 15, 2021

Addresses #12

Copy link
Contributor

@mds1 mds1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great overall!

Left a lot of comments, but mostly best practices type of things. There's also been a lot of discussion in #12 so we should review that and make sure any changes/new requirements are accounted for here

The biggest change I mentioned is that I think we should switch from a Waffle mock to an actual mock token contract that behaves like an ERC20, since it seems there's a few issues/bugs that arise/aren't caught with the Waffle mock approach.

contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/test/GrantRound.test.ts Outdated Show resolved Hide resolved
contracts/test/utils.ts Outdated Show resolved Hide resolved
contracts/test/GrantRound.test.ts Outdated Show resolved Hide resolved
contracts/contracts/GrantRegistry.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
@apbendi apbendi mentioned this pull request Jul 16, 2021
3 tasks
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start! Left some additional feedback and responses to others comments. LMK if you have any follow up. Thanks @corydickson.

contracts/contracts/GrantRound.sol Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Show resolved Hide resolved
contracts/contracts/GrantRound.sol Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
contracts/contracts/GrantRound.sol Show resolved Hide resolved
contracts/contracts/GrantRound.sol Outdated Show resolved Hide resolved
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the feedback @corydickson. Added a couple commits to address very minor issues, including minor formatting changes, and making the failing test skipped instead so it doesn't result in failing CI once #25 is merged.

Copy link
Contributor

@phutchins phutchins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge.

@apbendi apbendi merged commit 1763f3d into main Jul 20, 2021
dGrants automation moved this from Ready for Review to Done Jul 20, 2021
@apbendi apbendi mentioned this pull request Jul 20, 2021
16 tasks
@corydickson corydickson deleted the cd/grant-round-contract branch August 4, 2021 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

6 participants