Skip to content
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

Adjusts benchbin's args to have the same names as prover's args #2724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diegoximenes
Copy link
Contributor

Adjusts benchbin's args to have the same names as prover's args.

Before:

./arbitrator/target/debug/benchbin --preimages-path ~/.arbitrum/validation-inputs/TestProgramStorage/20241003_112425/block_inputs_5.json --machine-path ./target/machines/latest/machine.wavm.br

After:

./arbitrator/target/debug/benchbin --json-inputs ~/.arbitrum/validation-inputs/TestProgramStorage/20241003_112425/block_inputs_5.json --binary ./target/machines/latest/machine.wavm.br

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Oct 7, 2024

/// Path to a machine.wavm.br
#[arg(short, long)]
machine_path: PathBuf,
binary: PathBuf,
Copy link
Member

Choose a reason for hiding this comment

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

OPTIONAL

This might be an unpopular opinion, but I actually prefer the name machine_bin to binary as it is more specific. Would you consider changing the name in the prover's command-line flags instead? I suppose that might also involve changing some other places that have hard-coded the flag name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants