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

Error "Contract code size exceeds 24576 bytes" while compiling MyGovernance.sol #2

Open
capt4ce opened this issue Jan 23, 2022 · 0 comments
Assignees

Comments

@capt4ce
Copy link

capt4ce commented Jan 23, 2022

Issue

When trying to compile https://github.com/withtally/my-nft-dao-project/blob/main/contracts/MyGovernor.sol, the compiler throws "Contract code size exceeds 24576 bytes".

How to reproduce

  1. Go to https://remix.ethereum.org, use hardhat
  2. try compiling the MyGovernance.sol
  3. Observe that error/warning "Contract code size exceeds 24576 bytes" is thrown

Screen Shot 2022-01-22 at 22 27 35
Screen Shot 2022-01-23 at 11 22 28

@dnoishi dnoishi self-assigned this Jan 25, 2022
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

No branches or pull requests

2 participants