Compiler setting is 0.8.4 too. But I keep getting " Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])”
Compiler settings are meaningless when it comes to contract deployment (so this description probably needs to be fixed in that OpenZeppelin webpage).
Compiler settings are meaningful when it comes to:
Contract compilation
Contract verification
You should find out exactly what compiler settings you have used for your contract compilation, and then use the exact same compiler settings for your contract verification.
The issue is that I didn’t manually deploy the contract. It was done automatically by OpenZeppelin Defender UI. So no compilation whatsoever done from me using Hardhat or Remix or anything.
Another problem is that, TimelockController code seems to have newer version after 4.8.1 too
Are you suggesting that I do trial and error approach for this?
Sorry for the issues with verification - can you please confirm your settings are consistent with this post (Defender Timelock - Contract Verification) including License for instance? We've been able to successfully verify with those settings.