I am unable to execute most transactions using a GnosisSafe created on Goerli Optimism through Defender. (The one exception I have found is that removeOwner seems to be working.)
Environment
Defender web app
Details
Using the Defender web app
On Goerli Optimism
Creation of Gnosis Safe is working
Executing most Admin Actions not working (other than removeOwner)
Attempting to create the New Admin Action anyways results in Transaction validation failed message. If I ignore this and still create the admin action, I still cannot eventually execute the transaction. I can successfully reject the transaction, though.
Code to reproduce
Using the OpenZeppelin Defender web product, create a GnosisSafe on Goerli Optimism.
Attempt to create a New Admin Action for addOwnerWithThreshold. When trying to "Create admin action," run into the error: Error: Estimated gas of 4022320467 exceeds maximum block size
If I ignore the transaction validation and still create the proposal, I can attempt to execute the transaction. I then get the error Transaction gas would exceed the block gas limit.
Hi @cminxi, welcome to the community, and thank you for the detailed report!
Could you provide us with the URL of the proposal you are trying to execute?
Can you also confirm which browser wallet you are using (Frame, Metamask, ..)?
We've seen similar issues happen in the past for users using the Frame wallet. Usually switching to MetaMask resolved the issue. Some of these front-end validations we perform rely on the wallet you are connected with, and thus unstable / unreliable RPC endpoints that result in wrong gas estimations would trigger these warnings.
You mentioned you tried different RPC providers already, however, just for sanity checking, could you try executing it from MetaMask and see if that helps while we investigate further?
Can you also confirm which browser wallet you are using (Frame, Metamask, ..)?
I'm using Metamask.
...thus unstable / unreliable RPC endpoints that result in wrong gas estimations would trigger these warnings.
I've tried using three different RPC endpoints, including paid-for Alchemy RPC endpoint. Still no luck
Is there any way to bypass the validation when running execute? Or is there a way to use Defender Admin for approvals and then run execute via a different mechanism (ex: using hardhat, Etherscan's "Write Contract" feature, etc).