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

Misleading contract code size over limit warning. #22

Open
kianenigma opened this issue Dec 11, 2024 · 1 comment
Open

Misleading contract code size over limit warning. #22

kianenigma opened this issue Dec 11, 2024 · 1 comment

Comments

@kianenigma
Copy link

Remix_error

Remix shows the following error message for my contract

Contract creation initialization returns data with length of more than 24576 bytes. The deployment will likely fail if the current network has activated the eip 170. More info: [eip-170](https://eips.ethereum.org/EIPS/eip-170)

However, the contract can be succesfully deployed with force send. We should add in our documentation what is the expected behavior for large smart contracts and eip 170 (ignore such errors and eip 170? different limit?)

ref: https://github.com/paritytech/bcn-retreat-dx-feedback/issues/2

@xermicus
Copy link
Member

We have a different limit. It currently lies somewhere around 100kb and depends mainly on the maximum call stack depth the pallet allows.

Related: paritytech/revive#96

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