-
Notifications
You must be signed in to change notification settings - Fork 24
Client does not respect chainspec deploys.max_deploy_size #116
Description
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.