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

cargo stylus cache bid + private key #97

Open
anegg0 opened this issue Sep 17, 2024 · 0 comments
Open

cargo stylus cache bid + private key #97

anegg0 opened this issue Sep 17, 2024 · 0 comments

Comments

@anegg0
Copy link

anegg0 commented Sep 17, 2024

Hi there!
Running cargo stylus cache bid requires a private key (since it's a transaction), but the CLI --help documents --private-key as an option.
Not sure if this is a bug or a feature, but I thought I'd let you know.

cargo stylus cache bid --help

Places a bid on a Stylus contract to cache it in the Arbitrum chain's wasm cache manager

Usage: cargo stylus cache bid [OPTIONS] <--private-key-path <PRIVATE_KEY_PATH>|--private-key <PRIVATE_KEY>|--keystore-path <KEYSTORE_PATH>> <ADDRESS> <BID>

Arguments:
  <ADDRESS>  Deployed and activated contract address to cache
  <BID>      Bid, in wei, to place on the desired contract to cache. A value of 0 is a valid bid

Options:
  -e, --endpoint <ENDPOINT>
          Arbitrum RPC endpoint [default: https://sepolia-rollup.arbitrum.io/rpc]
      --verbose
          Whether to print debug info
      --private-key-path <PRIVATE_KEY_PATH>
          File path to a text file containing a hex-encoded private key
      --private-key <PRIVATE_KEY>
          Private key as a hex string. Warning: this exposes your key to shell history
      --keystore-path <KEYSTORE_PATH>
          Path to an Ethereum wallet keystore file (e.g. clef)
      --keystore-password-path <KEYSTORE_PASSWORD_PATH>
          Keystore password file
      --max-fee-per-gas-gwei <MAX_FEE_PER_GAS_GWEI>
          Optional max fee per gas in gwei units
  -h, --help
          Print help
  -V, --version
          Print version
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

No branches or pull requests

1 participant