cairo-lang icon indicating copy to clipboard operation
cairo-lang copied to clipboard

starknet-cli account deployment fails

Open bajpai244 opened this issue 1 year ago • 2 comments

I was following the starknet documentation.

I get the following error while simulation or deploying my account.

telegram-cloud-document-5-6298558638957005673

Link in the documentation.

Other Info:

starknet version: 0.11.1.1

obtained from starknet --version

bajpai244 avatar May 24 '23 16:05 bajpai244

I digged deep and this from where the error seems to occur from: -> https://github.com/starkware-libs/cairo-lang/blob/00ee90123c0bbaffe13dd05a79d2d57b0cb747be/src/starkware/starknet/wallets/open_zeppelin.py#L191

The contract_address isn't equal to actual_address, which leads into an assertion error.

bajpai244 avatar May 25 '23 09:05 bajpai244

Hi @bajpai244 , can you try "starkli account deploy" command to deploy your own account.json? Firstly, you can install starkli environment.

cymqqqq avatar Jul 31 '23 05:07 cymqqqq