Hello and first thanks again for this great tool
I ugraded from
@openzeppelin/contracts-ethereum-package": "^3.0.0
to :
@openzeppelin/contracts-upgradeable": "^3.3.0
It compiled without issue. But at npx oz upgrade in testnet i had this error due to a change between versions :
Anyway it was deployed in rinkeby successfully with –force option, so i suppose this is a non-blocking error.
Then i tried to use main rep with drafts and work done on EIP712 :
Added to main contract with initialize functions :
contract DarkPay is Initializable, [...] ERC20PermitUpgradeable { ... }
function __DarkPay_init(string memory name, string memory symbol) internal initializer {
[...]
__ERC20Permit_init_unchained(name);
}
Then got this new variables error :
Did i miss something about current EIP712 implementation ? Is it OK to add to an existing upgradable contract ?
Perhaps the issue is just i can’t add EIP712 to an existing, deployed contract.
I should’ve updated also @openzeppelin/contract-loader & @openzeppelin/upgrades ?
Thanks !
Stem