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

slot uses --rpc in params, this means it does not fetch from the local Scarb.toml #15

Open
ponderingdemocritus opened this issue Dec 7, 2023 · 1 comment

Comments

@ponderingdemocritus
Copy link
Contributor

World options:
      --world <WORLD_ADDRESS>  The address of the World contract.

Starknet options:
      --rpc-url <URL>  The Starknet RPC endpoint. [env: STARKNET_RPC_URL=] [default: http://localhost:5050]

Account options:
      --account-address <ACCOUNT_ADDRESS>  

Signer options - RAW:
      --private-key <PRIVATE_KEY>  The raw private key associated with the account contract.

Signer options - KEYSTORE:
      --keystore <PATH>      Use the keystore in the given folder or file.
      --password <PASSWORD>  The keystore password. Used with --keystore.

Transaction options:
      --fee-estimate-multiplier <MULTIPLIER>  The multiplier to use for the fee estimate.
os@oss-MacBook-Pro contracts % slot deployments create emoji-man-demo torii
error: the following required arguments were not provided:
  --rpc <rpc>
  --world <world>
  --start-block <START_BLOCK>

Usage: slot deployments create <PROJECT> torii --rpc <rpc> --world <world> --start-block <START_BLOCK>

This needs updating so the param is --rpc-url

@tarrencev
Copy link
Contributor

We can update the param to --rpc-url but it still wont fetch from the local Scarb.toml. To be honest, I'm not sure that would make sense in this context

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

2 participants