I’m using “@openzeppelin/truffle-upgrades”: “^1.2.5” and it seems there’s no easy way to verify the contract on the etherscan (it’s done automatically on mainnet, but not on goerli testnet).
I tried to copy the source code manually with many different versions, but none of them worked (always with a different byte code)
Is there any way I can generate a flattened version of AdminUpgradeabilityProxy.sol?
I tried like: truffle-flattener node_modules/@openzeppelin/upgrades-core/contracts/AdminUpgradeabilityProxy.sol but it seems there’s only JSON version in the package (no solidity source file)
I guess I probably used a wrong version of Address.sol file when I made the flattened version.
I could verify the implementation contract using truffle-plugin-verify successfully.