-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Fix doc MyGovernor example doesn't compile #4282
Fix doc MyGovernor example doesn't compile #4282
Conversation
|
Thank you @qiweiii! Would you mind doing the same for the other Solidity contracts in |
Yea, happy to do it |
@frangio Just added other solidity contract example, but I have a few concerns:
function _mint(address to, uint256 amount)
internal
override(ERC20, ERC20Votes)
{
super._mint(to, amount);
} is changed to function _mint(address to, uint256 amount) internal override(ERC20, ERC20Votes) {
super._mint(to, amount);
} making the line a bit longer, user will need to scroll in order to read, is this acceptable? |
|
I realized |
Good idea! |
test-upgradable failed:
do we need to increase the # .github/workflows/checks.yml
- NODE_OPTIONS: --max_old_space_size=4096
+ NODE_OPTIONS: --max_old_space_size=5120 |
4649f51
to
d7afec0
Compare
I've retargeted the branch to Thank you so much! |
This PR includes some changes to ERC721Consecutive (the offset part). I'm not sure its intentional. I also don't think it should be the case. |
My bad, happened when I rebased... Will fix later. |
d7afec0
to
6009e8a
Compare
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2023 OpenZeppelin Contracts Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Co-authored-by: Francisco Giordano <fg@frang.io> (cherry picked from commit 8198205)
Fixes #4278
cancel
function that is missingPR Checklist
npx changeset add
)