Using flow-cli, if I run flow accounts remove-contract HelloWorld --network testnet --signer testnet-account I get the above error. I created the contract using the same account but unable to remove it from testnet.
I read something about using auth accounts to remove contracts but couldn’t find any relevant examples showing its usecase. Any suggestions?
Do let me know if I can share any more information.
Currently, testnet does not allow to the removal of contracts, we have made contract removal temporarily permissioned on Testnet – just like it already is on Mainnet.
you can find more details in this post.