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

BT-235: ERC2612 - Add ERC-20 Permit function compatibility #236

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

pgonday
Copy link

@pgonday pgonday commented Dec 16, 2024

@pgonday pgonday marked this pull request as ready for review December 17, 2024 11:05
contracts/token/TokenPermit.sol Outdated Show resolved Hide resolved
contracts/utils/EIP712Upgradeable.sol Outdated Show resolved Hide resolved
}

// solhint-disable-next-line func-name-mixedcase
function __TokenPermit_init(string memory name) internal {
Copy link
Collaborator

Choose a reason for hiding this comment

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

need to find a solution without this init, because it has to work on updated contracts that didn't get initialized from the constructor. Or you can probably have something that checks if it is initialized already and calls __TokenPermit_init() in case it was not initialized at deployment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants