0

enter image description hereHi, I have deployed a smart contract in testnet, how to update or delete them? i tried both https://flow-view-source.com/ and CLI but both get this error

1 Answers1

0

Adding new fields to an existing contract is not supported. The full list of changes allowed are here https://docs.onflow.org/cadence/language/contract-updatability

I would recommend just creating a new Testnet account and deploy the new contracts to that new address.

bjartek
  • 929
  • 1
  • 5
  • 11