Hi! What is the proper way to change the admin of the proxy from the Truffle console?
I’ve deployed an upgradeable contract using a temporary address, and would like to set the ownership on a secure account.
Using the following code on the console
const { admin } = require('@openzeppelin/truffle-upgrades') await admin.transferProxyAdminOwnership(new_owner)
returns the following error:
Thrown: Error: Global Truffle config not found: Truffle >=5.1.35 is required. Truffle exec not yet supported
Thank you!