-
Notifications
You must be signed in to change notification settings - Fork 578
basefee OPCODE support in london fork and Awaiting transaction in the mempool error #1667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bumping this, this is an extremely necessary change |
@penandlim can you please tell, have you found a workaround for this? |
@Shchepetov Unforuntately no :( Using ganache v7 + brownie 1.19.2 with impartial support for forking seems at best right now. (workaround for waiting in mempool but the new opcodes still doesnt work) Unfortunately we aren't able to fork and test all contracts using brownie so we have moved to using foundry and hardhat more when we can with tenderly as another supportive tool. |
Apeworkx/ape package might be able to be used as an alternative. I havent tried it yet but looks like a successor of the brownie project. |
i even see this happening using the most basic transaction as soon as i fork london or above:
|
solved! the awaiting tx in mempool can be prevented by setting
|
unsolved still for me though is that that actually requires gas on the accounts that are sending the transactions. would be nice to not have to send (test) gas from |
Environment information
brownie
Version: 1.19.2ganache-cli
Version: 7.7.3solc
Version: 0.8.18What was wrong?
Contracts that use
block.basefee
cannot be fetched from explorer due toVirtualMachineError: invalid opcode
When instantiated with ABI, still fails in istanbul hardfork network at the time of simulation.
Trying to use london as fork setting will accept the opcode but then get stuck with
Awaiting transaction in the mempool
This can be replicated via this repo
https://github.com/penandlim/brownie-base-fee-test
How can it be fixed?
Allow compiling with london evm_version when contracts are fetched from explorer.
Allow using 0 gwei for gas to prevent tx from getting stuck .
The text was updated successfully, but these errors were encountered: