-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cast: running txs on optimism result with Transaction(GasPriceLessThanBaseFee)
error
#5122
Comments
i have a hunch this might be fixed by #5126 |
Not fixed by #5126, will investigate—might be an L2 gas calculation kink. |
Transaction(GasPriceLessThanBaseFee)
error
This is probably because of deposit transactions, the first tx in the block is a system tx that updates the L1 context in a special L2 contract. Learn more here. An example tx can be found here. This could be solved with an |
same on Arbitrum, how to solve it? |
To reproduce on Base
|
Same on arbitrum |
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (08a629a 2023-06-03T00:14:26.563741000Z)
What command(s) is the bug in?
cast run
Operating System
macOS (Apple Silicon)
Describe the bug
cast run 0xd0f48fb6256e4744386214343691fd0ef9b7f6fc5037d6221e838ac6fabe9659
Executing previous transactions from the block.
Error:
Failed to execute transaction: 0xd0f48fb6256e4744386214343691fd0ef9b7f6fc5037d6221e838ac6fabe9659
Context:
The text was updated successfully, but these errors were encountered: