status of module objects #56
-
i noticed what is the status of module objects (can i use in testnet, mainnet)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Module object will be shipped as part of Aptos v1.10. It's already live on devnet, and we plan to release it on 03/28 on mainnet. |
Beta Was this translation helpful? Give feedback.
-
Objects use a different approach from resource accounts. Resource accounts can only retrieve the signer from the signer capability, where the module objects use a reference based on ownership of the code object. @JohnChangUK someone's interested in your work and you can give more details :) |
Beta Was this translation helpful? Give feedback.
-
As @0xaptosj said, in devnet already and plans to release to mainnet along with the governance proposal execution, as this feature is gated. Aptos CLI v2.5 will also need to be released as this contains the commands to execute this deployment successfully. You cannot retrieve the Upgrades and freezing (making the code immutable) is done via object ownership, i.e. you must be the owner of the code. The retrieving signers and auth mechanism is abstracted away from the user, you simply just call |
Beta Was this translation helpful? Give feedback.
As @0xaptosj said, in devnet already and plans to release to mainnet along with the governance proposal execution, as this feature is gated. Aptos CLI v2.5 will also need to be released as this contains the commands to execute this deployment successfully.
You cannot retrieve the
signer_cap
as objects don't use this. In theobject_code_deployment
module, theManagingRefs
keeps reference od theExtendRef
, which is used to generate the object signer.Upgrades and freezing (making the code immutable) is done via object ownership, i.e. you must be the owner of the code. The retrieving signers and auth mechanism is abstracted away from the user, you simply just call
upgrade
if you own the code :)