Skip to content

Client does not respect chainspec deploys.max_deploy_size #116

@koxu1996

Description

@koxu1996

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions