Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Fix blob transaction panic in txpool#1065

Merged
yperbasis merged 1 commit intomainfrom
blob_txpool_panic
Aug 1, 2023
Merged

Fix blob transaction panic in txpool#1065
yperbasis merged 1 commit intomainfrom
blob_txpool_panic

Conversation

@yperbasis
Copy link
Copy Markdown
Contributor

Fixes the following panic triggered by blob Hive tests:

[2c098836] panic: runtime error: index out of range [0] with length 0
[2c098836] 
[2c098836] goroutine 902 [running]:
[2c098836] github.com/ledgerwatch/erigon-lib/txpool.MainLoop.func1()
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1565 +0x100f
[2c098836] created by github.com/ledgerwatch/erigon-lib/txpool.MainLoop
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1492 +0x8c5

@yperbasis yperbasis requested a review from racytech August 1, 2023 15:34
@yperbasis yperbasis added this pull request to the merge queue Aug 1, 2023
Merged via the queue into main with commit f33b0bc Aug 1, 2023
@yperbasis yperbasis deleted the blob_txpool_panic branch August 1, 2023 16:17
pratikspatil024 pushed a commit to pratikspatil024/erigon-lib that referenced this pull request Aug 18, 2023
Fixes the following panic triggered by blob Hive tests:
```
[2c098836] panic: runtime error: index out of range [0] with length 0
[2c098836] 
[2c098836] goroutine 902 [running]:
[2c098836] github.com/ledgerwatch/erigon-lib/txpool.MainLoop.func1()
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1565 +0x100f
[2c098836] created by github.com/ledgerwatch/erigon-lib/txpool.MainLoop
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1492 +0x8c5
```
pratikspatil024 added a commit to pratikspatil024/erigon-lib that referenced this pull request Aug 18, 2023
AskAlexSharov pushed a commit that referenced this pull request Sep 6, 2023
Fixes the following panic triggered by blob Hive tests:
```
[2c098836] panic: runtime error: index out of range [0] with length 0
[2c098836] 
[2c098836] goroutine 902 [running]:
[2c098836] github.com/ledgerwatch/erigon-lib/txpool.MainLoop.func1()
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1565 +0x100f
[2c098836] created by github.com/ledgerwatch/erigon-lib/txpool.MainLoop
[2c098836] 	github.com/ledgerwatch/erigon-lib@v0.0.0-20230801100033-1b342f37741d/txpool/pool.go:1492 +0x8c5
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant