I was stuck on this for a while, then it hit me. I had solidity set to "Use configuration file" when I deployed. Check your compiler_config.json file.
Mine had the following:
{
"language": "Solidity",
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"": {
"": ["ast"],
"": ["abi", "metadata", "devdoc", "userdoc", "storageLayout", "evm.legacyAssembly", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers", "evm.gasEstimates", "evm.assembly"]
}
},
"evmVersion": "byzantium"
}
}
Changed optimization to Yes, 200 Runs, and evmVersion to "byzantium" on the verification page.
Worked...
Sometimes I feel so lost xD