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

add missing calls for AccessEvents #415

Open
wants to merge 1 commit into
base: optimism
Choose a base branch
from

Conversation

zhiqiangxu
Copy link
Contributor

@zhiqiangxu zhiqiangxu commented Oct 27, 2024

There's already such code for Coinbase here:

// add the coinbase to the witness iff the fee is greater than 0
if rules.IsEIP4762 && fee.Sign() != 0 {
	st.evm.AccessEvents.AddAccount(st.evm.Context.Coinbase, true)
}

This PR adds the missing calls to AccessEvents for OptimismBaseFeeRecipient and OptimismL1FeeRecipient.

@zhiqiangxu zhiqiangxu requested a review from a team as a code owner October 27, 2024 03:50
@zhiqiangxu zhiqiangxu requested a review from tynes October 27, 2024 03:50
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.

1 participant