aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

How can we fix Move abort in 0x1::resource_account: 0x60001 error?

Open thedevdwarf opened this issue 3 years ago • 1 comments

I am playing with move-examples/mint_nft I can compile properly but I cant publish it. I am getting this error :

{
  "Error": "Simulation failed with status: Move abort in 0x1::resource_account: 0x60001"
}

I read instructions and says use create_resource_account_and_publish_package function but I cant use it. Pls explain how can we properly use aptos-cli.

move run --function-id 0x1::resource_account::create_resource_account_and_publish_package --args XXX

thedevdwarf avatar Oct 22 '22 16:10 thedevdwarf

same issue I have, someone can help?

alice010101 avatar Oct 22 '22 16:10 alice010101

Looks like you're hitting this issue: https://github.com/aptos-labs/aptos-core/blob/30b385bf38d3dc8c4e8ee0ff045bc5d0d2f67a85/aptos-move/framework/aptos-framework/sources/resource_account.move#L167

I'd suspect there's something wrong with your init_module, it probably isn't retrieving from the right source account.

davidiw avatar Oct 22 '22 21:10 davidiw

Same not working

ozgur3512 avatar Oct 24 '22 01:10 ozgur3512