-
Notifications
You must be signed in to change notification settings - Fork 817
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
Incorrect logIndex in eth_getReceipt responses #6204
Comments
Wetitpig
added a commit
to Wetitpig-cross-chain/besu
that referenced
this issue
Nov 23, 2023
Signed-off-by: Wetitpig <[email protected]>
I have drafted a PR for this bug. |
Wetitpig
added a commit
to Wetitpig-cross-chain/besu
that referenced
this issue
Nov 28, 2023
Signed-off-by: Wetitpig <[email protected]>
fab-10
pushed a commit
that referenced
this issue
Nov 29, 2023
* [#6204] Fix log index in transaction receipt Signed-off-by: Wetitpig <[email protected]> * Update CHANGELOG.md Add to bug fixes. Signed-off-by: Wetitpig <[email protected]> * Update tests Signed-off-by: Wetitpig <[email protected]> * Directly sum log size with known index Signed-off-by: Wetitpig <[email protected]> * Minor change to gasUsed Signed-off-by: Wetitpig <[email protected]> * Place hash and index first Signed-off-by: Wetitpig <[email protected]> * Test without parallel() Signed-off-by: Wetitpig <[email protected]> * Rewrite header hash as map chain Signed-off-by: Wetitpig <[email protected]> --------- Signed-off-by: Wetitpig <[email protected]>
jflo
pushed a commit
to jflo/besu
that referenced
this issue
Dec 4, 2023
* [hyperledger#6204] Fix log index in transaction receipt Signed-off-by: Wetitpig <[email protected]> * Update CHANGELOG.md Add to bug fixes. Signed-off-by: Wetitpig <[email protected]> * Update tests Signed-off-by: Wetitpig <[email protected]> * Directly sum log size with known index Signed-off-by: Wetitpig <[email protected]> * Minor change to gasUsed Signed-off-by: Wetitpig <[email protected]> * Place hash and index first Signed-off-by: Wetitpig <[email protected]> * Test without parallel() Signed-off-by: Wetitpig <[email protected]> * Rewrite header hash as map chain Signed-off-by: Wetitpig <[email protected]> --------- Signed-off-by: Wetitpig <[email protected]> Signed-off-by: Justin Florentine <[email protected]>
jflo
pushed a commit
to jflo/besu
that referenced
this issue
Dec 4, 2023
* [hyperledger#6204] Fix log index in transaction receipt Signed-off-by: Wetitpig <[email protected]> * Update CHANGELOG.md Add to bug fixes. Signed-off-by: Wetitpig <[email protected]> * Update tests Signed-off-by: Wetitpig <[email protected]> * Directly sum log size with known index Signed-off-by: Wetitpig <[email protected]> * Minor change to gasUsed Signed-off-by: Wetitpig <[email protected]> * Place hash and index first Signed-off-by: Wetitpig <[email protected]> * Test without parallel() Signed-off-by: Wetitpig <[email protected]> * Rewrite header hash as map chain Signed-off-by: Wetitpig <[email protected]> --------- Signed-off-by: Wetitpig <[email protected]>
jflo
pushed a commit
to jflo/besu
that referenced
this issue
Dec 4, 2023
* [hyperledger#6204] Fix log index in transaction receipt Signed-off-by: Wetitpig <[email protected]> * Update CHANGELOG.md Add to bug fixes. Signed-off-by: Wetitpig <[email protected]> * Update tests Signed-off-by: Wetitpig <[email protected]> * Directly sum log size with known index Signed-off-by: Wetitpig <[email protected]> * Minor change to gasUsed Signed-off-by: Wetitpig <[email protected]> * Place hash and index first Signed-off-by: Wetitpig <[email protected]> * Test without parallel() Signed-off-by: Wetitpig <[email protected]> * Rewrite header hash as map chain Signed-off-by: Wetitpig <[email protected]> --------- Signed-off-by: Wetitpig <[email protected]> Signed-off-by: Justin Florentine <[email protected]>
gfukushima
pushed a commit
to gfukushima/besu
that referenced
this issue
Dec 15, 2023
* [hyperledger#6204] Fix log index in transaction receipt Signed-off-by: Wetitpig <[email protected]> * Update CHANGELOG.md Add to bug fixes. Signed-off-by: Wetitpig <[email protected]> * Update tests Signed-off-by: Wetitpig <[email protected]> * Directly sum log size with known index Signed-off-by: Wetitpig <[email protected]> * Minor change to gasUsed Signed-off-by: Wetitpig <[email protected]> * Place hash and index first Signed-off-by: Wetitpig <[email protected]> * Test without parallel() Signed-off-by: Wetitpig <[email protected]> * Rewrite header hash as map chain Signed-off-by: Wetitpig <[email protected]> --------- Signed-off-by: Wetitpig <[email protected]> Signed-off-by: Gabriel Fukushima <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This is a variant on #4114 that was fixed a while back but using
eth_getReceipt
instead ofeth_getLogs
.On Mainnet when you query besu with:
which is getting the receipt for https://etherscan.io/tx/0x44b738650c4686cbda63061f4b5304ebc0efc56eb23b53f4a27424df454e76ed
It gives:
The key thing being that the first log has
"logIndex": "0x0",
whereas this is the second transaction in the block andlogIndex
should be relative to the block, not the transaction. Geth reports the first log entry as index0x3
:The text was updated successfully, but these errors were encountered: