You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After you declare deploy this, use this JS code to declare and deploy
asyncfunctioncustomDeclareDeploy(){constaccount=newstarknet.Account(provider,'<address>','<pk>','1');constcontract=newstarknet.Contract(require('./<path_to_sierra>').abi,'<contract_address_for_deploy_testing_contract>',account);letdeclare_result=awaitaccount.declare({contract: require('./<random_sierra_contract>'),casm: require('./<casm>'),});console.log(declare_result);// waiting for sometime to avoid nonce issueawaitnewPromise((resolve)=>setTimeout(resolve,3000));letdeploy_result=awaitcontract.deploy_stuff(0,declare_result.class_hash);console.log(deploy_result);}
Now run SNOS on the block that included the above 2 txs.
The text was updated successfully, but these errors were encountered:
SNOS version:
cb2a6d2
Current behavior:
If you
Then, SNOS fails with
No CASM
error.Expected behavior:
It should work :)
Steps to reproduce:
Create a contract which can deploy using Cairo 1 syscall
After you declare deploy this, use this JS code to declare and deploy
Now run SNOS on the block that included the above 2 txs.
The text was updated successfully, but these errors were encountered: