starknet-edu / deploy-cairo1-demo

47 stars 23 forks source link

Error when deploying #3

Closed xinyang12 closed 1 year ago

xinyang12 commented 1 year ago

When I used starknet deploy --class_hash --account version_11 there's an error: Got BadRequest while trying to access https://alpha4.starknet.io/feeder_gateway/simulate_transaction?blockNumber=pending&skipValidate=false. Status code: 500; text: {"code": "StarknetErrorCode.TRANSACTION_FAILED"

Don't know how to fix, thanks

xinyang12 commented 1 year ago

Look like the constructor params are supposed to be specified but I forgot

khadni commented 1 year ago

@xinyang12 Did you wait for your account to be deployed first? (i.e. transaction status should be at least "passed")

l-henri commented 1 year ago

Looks like the issue is solved :)