hi @abcoathup
It throws Cannot read property 'evm' of undefined
when using deployProxy
. Here is initialize
func in my contract.
function initialize() public initializer {
.....
}
And here is my test code
this.contract = await deployProxy(MyContract);
Do I need to pass args and opts in deployProxy
? Thanks in advance.
[EDIT] Moved from: OpenZeppelin Truffle Upgrades: Step by Step Tutorial