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

Remove ERC20 from core contracts #8212

Merged
merged 2 commits into from
Jul 6, 2021
Merged

Remove ERC20 from core contracts #8212

merged 2 commits into from
Jul 6, 2021

Conversation

yorhodes
Copy link
Contributor

@yorhodes yorhodes commented Jul 2, 2021

Description

RegisteredContracts list used in ContractKit for comprehensive registry lookup and governance proposal decoding (among others) errantly includes CeloContract.ERC20 introduced in #7753 despite this not being a registered contract. This PR adds CeloContract.ERC20 to AuxiliaryContracts to be filtered out.

Tested

Before change, Error: ERC20 not yet deployed for this chain is emitted on many CLI changes. After change, error is no longer observed.

@yorhodes yorhodes requested review from a team July 2, 2021 20:29
@m-chrzan
Copy link
Contributor

m-chrzan commented Jul 5, 2021

Is there any reason for any contract that never gets directly instantiated to even be listed in CeloContracts?

@yorhodes
Copy link
Contributor Author

yorhodes commented Jul 6, 2021

Is there any reason for any contract that never gets directly instantiated to even be listed in CeloContracts?

good question @m-chrzan
#7753 (comment)

@yorhodes yorhodes added the automerge Have PR merge automatically when checks pass label Jul 6, 2021
@mergify mergify bot merged commit 569554f into master Jul 6, 2021
@mergify mergify bot deleted the core-erc20-patch branch July 6, 2021 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants