I am trying to upgrade my mainnet contracts: github dot com / syscoin/sysethereum-contracts by adding safeerc20
Environment
solc 0.5.3, Truffle v5.1.5
I run npx oz upgrade and normally it asks which contracts or all to upgrade but it just goes ahead and deploys and then fails with:
“The package name, contract name, or address to upgrade must be provided, or set the all
flag to upgrade all contracts in the application.”
The testnet branch I was able to deploy to rinkeby earlier.
do I have to use npx oz upgrade --all?
I initially tried to use infura in my truffle config with an hdwalletprovider, it had failed on :
Validating and deploying contract SyscoinSuperblocks
âś“ Contract SyscoinERC20Manager deployed
âś“ Contract SyscoinBattleManager deployed
âś“ Contract SyscoinClaimManager deployed
SyscoinSuperblocks deployment failed with error: Failed to check for transaction receipt:
{}
After that I switched to running a local geth node which I normally do to upgrade my contracts, and my account wasn’t sending transactions the nonce was OK but still was stuck locally, so I sent eth to a new account and tried and got the contracts deployed but it gives the “all contracts up-to-date” after or the “No contract instances that match were found” message.
Is it related to my openzeppelin/mainnet.json? is there a way to reproduce this file based on the current deployed proxy?
My original deployer account:
This is the address I used once I had my original account stuck: