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

bug: forge create's <CONTRACT> position error #1244

Open
lordshashank opened this issue Jul 19, 2024 · 0 comments
Open

bug: forge create's <CONTRACT> position error #1244

lordshashank opened this issue Jul 19, 2024 · 0 comments
Labels
good first issue Good for newcomers T-to-fix Type: issue in docs
Milestone

Comments

@lordshashank
Copy link

Follwing the docs if I do

forge create --rpc-url $RPC_URL --private-key $EVM_PRIVATE_KEY --constructor-args "0x999117D44220F33e0441fbAb2A5aDB8FF485c54D" "0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6" \
> src/Prover-Axelar.sol 

or

forge create --rpc-url $RPC_URL --private-key $EVM_PRIVATE_KEY --constructor-args "0x999117D44220F33e0441fbAb2A5aDB8FF485c54D" "0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6" src/Prover-Axelar.sol:DealClient DealClient

it throws error

error: the following required arguments were not provided:
  <CONTRACT>

But it works when I do

forge create src/Prover-Axelar.sol:DealClient --rpc-url $RPC_URL --private-key $EVM_PRIVATE_KEY --constructor-args "0x999117D44220F33e0441fbAb2A5aDB8FF485c54D" "0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6" 

Is this something with my system? Or maybe we should update command here https://book.getfoundry.sh/forge/deploying#deploying

@zerosnacks zerosnacks added the T-to-fix Type: issue in docs label Sep 13, 2024
@zerosnacks zerosnacks changed the title forge create's <CONTRACT> position Error bug: forge create's <CONTRACT> position error Sep 13, 2024
@zerosnacks zerosnacks self-assigned this Sep 13, 2024
@zerosnacks zerosnacks added the good first issue Good for newcomers label Sep 13, 2024
@zerosnacks zerosnacks removed their assignment Sep 13, 2024
@zerosnacks zerosnacks added this to the v1.0.0 milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers T-to-fix Type: issue in docs
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants