Skip to content

Docs/cast estimate create flag #1599

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

Merged

Conversation

nitininhouse
Copy link
Contributor

This pull request improves the documentation for the cast estimate command by adding details and a usage example for the --create flag.

  • Documents what the --create flag does and specifies the expected init_code (deployment bytecode) input.
  • Adds a practical example to the EXAMPLES section, showing how to use --create to estimate gas for contract deployment.
  • Aims to make it easier for users to understand and utilize the cast estimate --create workflow.

Closes #1570.

@nitininhouse
Copy link
Contributor Author

hey @mattsse please review this.

@mattsse mattsse merged commit 29d3fef into foundry-rs:master Jul 19, 2025
1 check passed
Copy link

@Rahul-cyber26 Rahul-cyber26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

document --creat flag for cast estimate
3 participants