[NET-528] [Alert iPNiow] ethereum-sepolia_Ingest_Behind_Head#479
Open
elina-chertova wants to merge 1 commit into
Open
[NET-528] [Alert iPNiow] ethereum-sepolia_Ingest_Behind_Head#479elina-chertova wants to merge 1 commit into
elina-chertova wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated fix proposal for alert
iPNiow.open-beta/root/alert/incident-agent/agent-system/data/investigations/iPNiow/root/alert/incident-agent/agent-system/data/investigations/iPNiow/report.htmlReviewer quick view
Scope: 1 file(s) in evm
Root cause (agent): not explicitly captured
Summary: Verdict: accept_with_changes
Root cause confirmed [evidence]: A code bug in squid-sdk:open-beta
evm/evm-normalization/src/mapping.ts line 114 groups the EVM INVALID opcode
with real CALL variants under assertNotNull(frame.to). Alchemy returns to:
null for INVALID frames. The assertion throws. Ingest loops forever every
~8s on block 0xa5d8bc. No crash, no OOM, no 429.
Two tracks:
Track A (now): Deploy debug_api_for_statediffs: false in infra/master YAML →
bypasses mapDebugFrame, ingest resumes within minutes. Proposed patch
already on disk at fixes/proposed/.../ethereum-sepolia.yaml.
Track B (days): SDK PR on open-beta — extract INVALID into its own case
(proposed patch at fixes/proposed/evm/evm-normalization/src/mapping.ts). One
issue before merging: (frame.to ?? '') as Bytes20 emits an empty string
which is not a valid Bytes20 — the team needs to decide whether
TraceCallAction.to should be optional for callType: 'invalid'.
All original hypotheses (429, OOM, shared rate-limit) ruled out by evidence.
Fix metadata
(Generated by the terminal-debate agent — values reflect the agent's self-assessment, not a verified verdict. Use them as a starting point for review.)
Summary
Verdict: accept_with_changes
Root cause confirmed [evidence]: A code bug in squid-sdk:open-beta
evm/evm-normalization/src/mapping.ts line 114 groups the EVM INVALID opcode
with real CALL variants under assertNotNull(frame.to). Alchemy returns to:
null for INVALID frames. The assertion throws. Ingest loops forever every
~8s on block 0xa5d8bc. No crash, no OOM, no 429.
Two tracks:
Track A (now): Deploy debug_api_for_statediffs: false in infra/master YAML →
bypasses mapDebugFrame, ingest resumes within minutes. Proposed patch
already on disk at fixes/proposed/.../ethereum-sepolia.yaml.
Track B (days): SDK PR on open-beta — extract INVALID into its own case
(proposed patch at fixes/proposed/evm/evm-normalization/src/mapping.ts). One
issue before merging: (frame.to ?? '') as Bytes20 emits an empty string
which is not a valid Bytes20 — the team needs to decide whether
TraceCallAction.to should be optional for callType: 'invalid'.
All original hypotheses (429, OOM, shared rate-limit) ruled out by evidence.
Risk & rollout
Reproduction status
Incident behavior was reproduced or corroborated strongly enough for a non-hypothesis fix proposal.
Validation checklist
Changed files
evm/evm-normalization/src/mapping.tsNotify
cc @tmcgroul (automation opened this PR.)