[confidential transactions] I'm getting an error USER_DEFINED_NATIVE_NOT_ALLOWED on publishing attempts on a package containing the confidential assets #704
-
Discord user IDnui.song Describe your question in detail.I have been building on confidential transactions. Since the package is experimental, I have been doing some attempts to include the necessary contracts of confidential_assets.move, confidential_balance.move etc in a stand alone package just like in https://confidential.aptoslabs.com/. Compilation was success, but nn publishing the contract, im getting an error as given below. Thank you. What error, if any, are you getting?Simulation failed with status: USER_DEFINED_NATIVE_NOT_ALLOWED\nExecution failed with message: Cannot publish native function to non-special address What have you tried or looked at? Or how can we reproduce the error?Command to publish is Aptos CLI version 7.4.0 Which operating system are you using?macOS Which SDK or tool are you using? (if any)Aptos CLI Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hmm i don't think you can publish your own version of |
Beta Was this translation helpful? Give feedback.
Natives can only be published by the framework. So, you cannot deploy this on your own.
At the moment, this is published under devnet https://explorer.aptoslabs.com/account/0x0000000000000000000000000000000000000000000000000000000000000007/modules/packages/AptosExperimental?network=devnet