Skip to content

Conversation

@s3bc40
Copy link
Contributor

@s3bc40 s3bc40 commented Jun 19, 2025

This pull request updates the docs/source/common_errors.rst file to include detailed explanations and solutions for several common errors encountered in discussion tab of mox full course. These additions aim to improve user troubleshooting by providing clear guidance for resolving issues related to missing directories, version mismatches, and deployment errors.

New error documentation:

  • FileNotFoundError:

    • Added explanation for the error caused by a missing lib directory and its subdirectories (github and pypi).
    • Provided instructions to manually create the directories or use the mox install command to generate them automatically.
  • VersionException:

    • Documented the issue with incompatible Vyper versions when using the VSCode Vyper extension.
    • Suggested updating the vyper.command setting in .vscode/settings.json to use the project's virtual environment.
  • AssertionError (ZKsync):

    • Explained the error related to bytecode length during contract deployment on ZKsync.
    • Recommended adding moccasin and the appropriate vyper version to the project's virtual environment using uv add.

s3bc40 added 2 commits June 19, 2025 18:33
- Update the common errors documentation to include issues from the GitHub discussion.
- Updated the title display in the common errors
- Make the right sidebar clear and more readable
- Added a new section for error display
@s3bc40
Copy link
Contributor Author

s3bc40 commented Jun 20, 2025

New commit:

Updates to Common Errors Documentation:

  • Improved formatting and clarity for existing errors:

    • Updated section for better readability.
  • Added new error scenarios with solutions:

    • AssertionError: create_copy_of Not Supported: Added an alternative method (create_from_blueprint) for unsupported create_copy_of in ZKsync's Vyper version.

@PatrickAlphaC
Copy link
Member

beautiful

@PatrickAlphaC PatrickAlphaC merged commit 558ebf2 into Cyfrin:main Jul 1, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants