Skip to content

Optimize the error message of state prove. #38

Description

@LiRiu

When the state proves that the block is too old, the execution will fail. The error message when it fails can be optimized to be more user-friendly.

Enc

  • zkgraph-lib: v1.0.1
  • zkgraph-cli: v1.0.0
  • zkgraph-api: v1.0.3

reproduce

  1. npm init zkgraph@latest
  2. Follow the guide to create a project of storage type.
  3. run command npm run compile && npm run exec -- 11882969
    error message which be throw as follow:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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