Not able to upgrade contracts #597
Unanswered
harispericorn
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discord user ID
harikrishna2744
Describe your question in detail.
I have a usecase in which once I deployed a contract and upgrade it by adding a new type and a new function
public entry fun add_app_signers( admin: &signer, app_signers: vector<address> ) acquires AppSignerConfig, TokenAppConfig {
What error, if any, are you getting?
Generic Error
What have you tried or looked at? Or how can we reproduce the error?
i try to remove the vector for input addresses and passed it as one address still errored
struct AppSignerConfig has key { app_signers: SimpleMap<address, bool> }
when I removed this struct in acquire it worked but what should I do to upgrade my contract I need this struck
Which operating system are you using?
Linux (Ubuntu, Fedora, Windows WSL, etc.)
Which SDK or tool are you using? (if any)
N/A
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions