Skip to content
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

block BaseFee in callMany #6569

Merged
merged 1 commit into from
Jan 12, 2023
Merged

block BaseFee in callMany #6569

merged 1 commit into from
Jan 12, 2023

Conversation

ArielTM
Copy link
Contributor

@ArielTM ArielTM commented Jan 12, 2023

Continuing the work of #6381 . We encountered a problem in blocks with type 2 transactions, specifically blocks with two transactions with the same tx.from. When the first tx is replayed, a high gasPrice is being calculate in txn.AsMessage causing the second replayed tx to fail with the following error:

insufficient funds for gas * price + value: address ...

This happens in both eth_callMany and debug_traceCallMany.
This pull request follows the debug_traceTransaction usage of tx.AsMessage in ComputeTxEnv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants