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

[anvil] correct log index for getTransactionReceipt #7483

Merged

Conversation

longbowlu
Copy link
Contributor

Motivation

Before this PR, eth_getTransactionReceipt returns wrong logIndex in the logs. logIndex is supposed to be the position of the log in the entire block.

Solution

The fix is very straightforward so please refer to it directly. Also updated a test case to cover this piece.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@mattsse mattsse merged commit e5acbcf into foundry-rs:master Mar 25, 2024
18 of 19 checks passed
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.

2 participants