-
Discord user IDctb0k33 Describe your question in detail.I try to upgrade a module that already deploy in a resource account but it's failed. Here is my function_id in upgrade.json file: What error, if any, are you getting?"Simulation failed with status: FUNCTION_RESOLUTION_FAILURE\nExecution failed with message: Cannot find ModuleId { address: a69b6d7d0651aa73562d629d204e90bb3f51c6d49ec4038b07832fc888ece0d1, name: Identifier("hello") }::IdentStr("upgrade") in cache" What have you tried or looked at? Or how can we reproduce the error?I currently follow this tutorial: https://aptos.dev/tutorials/programmatic-upgradeable-module/#how-to-publish-modules-to-a-resource-account Which operating system are you using?Windows Which SDK or tool are you using? (if any)N/A Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi we no longer recommend developers to deploy module under resource acocunt, instead we suggest deploying under object as it's easier. Checkout this example on deploying and upgrading module in object. https://github.com/aptos-labs/move-by-examples/tree/main/simple-todo-list/aptos/move |
Beta Was this translation helpful? Give feedback.
Hi we no longer recommend developers to deploy module under resource acocunt, instead we suggest deploying under object as it's easier. Checkout this example on deploying and upgrading module in object.
https://github.com/aptos-labs/move-by-examples/tree/main/simple-todo-list/aptos/move