I’m trying my DApp on Optimism Kovan. The transaction goes through WalletConnect and into my Android MetaMask wallet to sign and send it.
Unfortunately MetaMask has a problem with Optimism gas limits. It has multiple values encoded in it and its numeric value tends to be high, in my case it’s 14,949,268. MetaMask doesn’t let me sign a transaction with that gas limit, the UI truncates it to 9,900,000 and I get a message saying that it should be lower than 7,920,027. Manual lowering it to 7,920,026 or below doesn’t convince MetaMask to let the transaction out.
What can I do to make MetaMask sign that transaction?