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

Client does not respect chainspec deploys.max_deploy_size #116

Open
koxu1996 opened this issue Nov 10, 2023 · 0 comments
Open

Client does not respect chainspec deploys.max_deploy_size #116

koxu1996 opened this issue Nov 10, 2023 · 0 comments

Comments

@koxu1996
Copy link

Background

I am using NCTL as my development environment and have customized the deploys.max_deploy_size in the chainspec, because the current deployment size limit is too small for running code such as the Risc0 verifier.

Despite increasing this limit, I am still encountering the following error:

deploy size of 1438228 bytes exceeds limit of 1048576

Issue

The casper-client contains a hardcoded deployment size limit which is manually kept in sync with the production environment. This hardcoded limit is not compatible with customized networks.

Suggestion

The ideal solution would be to enable the client to fetch limits directly from the chain specification. However, until such a feature is implemented, it might be more practical to disable client-side validation of the deployment size.

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

1 participant