After upgrading to the newest versions of hardhat which auto check for unsafe upgrades, i get the following error after launching a contract upgrade.
Note: The contract was successfully launched to the network, but now i’m concerned upgrading it since i get this error
Error: no codec found to encode value in union type ((({| address: string |} & Partial<{ txHash: string }>) & {| layout: any |}) | undefined)
Edit: I attempted to upgrade the same contract on ropsten and did not receive this error
Edit: #2 When i downgrade the packages and attempt to upgrade the contract i get the error TypeError: Cannot read property ‘length’ of undefined
at /Users/_/Desktop/Axion/axion-contracts/node_modules/@openzeppelin/upgrades-core/src/validate.ts:180:102. Only this time it’s before the contract gets sent to mainnet