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

nil ptr in gen bor logs #14091

Merged
merged 1 commit into from
Mar 6, 2025
Merged

nil ptr in gen bor logs #14091

merged 1 commit into from
Mar 6, 2025

Conversation

AskAlexSharov
Copy link
Collaborator

can reproduce on amoy/bor, release/3.0 and main, by:

curl 'http://localhost:8545' -H 'Content-Type: application/json' --data '{"id": 1, "jsonrpc": "2.0", "method": "eth_getLogs", "params": [ {"fromBlock": "14300401","toBlock": "14300501"} ]}'
`EROR[03-06|03:25:55.613] RPC method eth_getLogs crashed: runtime error: index out of range [0] with length 0
[service.go:223 panic.go:785 panic.go:115 bor_receipts_generator.go:86 eth_receipts.go:306 eth_receipts.go:143 value.go:581 value.go:365 service.go:228 handler.go:534 handler.go:484 handler.go:425 handler.go:245 handler.go:338 asm_amd64.s:1700]` 

@AskAlexSharov AskAlexSharov requested a review from shohamc1 March 6, 2025 03:39
@AskAlexSharov AskAlexSharov changed the title nil nil ptr in gen bor receipts Mar 6, 2025
@AskAlexSharov AskAlexSharov changed the title nil ptr in gen bor receipts nil ptr in gen bor logs Mar 6, 2025
@shohamc1 shohamc1 merged commit 2d28f59 into main Mar 6, 2025
12 of 13 checks passed
@shohamc1 shohamc1 deleted the nil_ptr_bor_logs branch March 6, 2025 04:24
shohamc1 pushed a commit that referenced this pull request Mar 6, 2025
@yperbasis yperbasis added this to the 3.0.0-rc3 milestone Mar 6, 2025
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.

3 participants