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

Add the ability to reinitialize erc20 token #102

Merged
merged 15 commits into from
Nov 28, 2023

Conversation

StanislavBreadless
Copy link
Collaborator

What ❔

Add the ability to reinitialize erc20 token

Why ❔

To allow the Governance to fix the deployed token's metadata if necessary

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@StanislavBreadless StanislavBreadless merged commit 518bfff into v1-4-1-integration Nov 28, 2023
12 checks passed
@StanislavBreadless StanislavBreadless deleted the sb-reinitialize-erc20-token branch November 28, 2023 15:11
require(msg.sender == UpgradeableBeacon(beaconAddress).owner(), "tt");

__ERC20_init_unchained(_newName, _newSymbol);
__ERC20Permit_init(_newName);
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should increment Permit version too?

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