I'm getting the following error when verifying on the RINKEBY etherscan site:
Error! Unable to verify source code Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the maximum timeout/memory limit that we can safely process. Automated source code verification is unavailable for this source code.
My contract is small enough to deploy successfully, but apparently the compile takes too long for Etherscan to verify. What are my options? Is the Rinkeby Etherscan verifier more limited, or will I have this problem on mainnet too? (that would be much more problematic)
EDIT: I have tried the new etherscan beta 2.0 compiler, and it has the exact same problem.