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 early return in ComputeTxEnv for state sync transactions #12316

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

shohamc1
Copy link
Member

Port #12315 for Erigon 3

@shohamc1 shohamc1 changed the title Add early return in ComputeTxEnv for state sync transactions Add early return in ComputeTxEnv for state sync transactions Oct 15, 2024
@taratorio taratorio merged commit ae68dc0 into main Oct 15, 2024
11 checks passed
@taratorio taratorio deleted the shohamc1/fix-debug-crash-e3 branch October 15, 2024 08:59
shohamc1 added a commit that referenced this pull request Oct 18, 2024
A follow up to #12316, instead of relaxing conditions on `ComputeTxEnv`
which may cause unintended edge cases, we split the function into two
smaller, well-defined functions. When tracing state sync events, we do
not care about generating TxContext so we can skip validation
surrounding it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants