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

Make eth_getTransactionCount respect the pending block number #861

Merged
merged 2 commits into from May 7, 2024

Conversation

JamesHinshelwood
Copy link
Contributor

When the block number is pending, we also count the transactions in the mempool.

rrw-zilliqa
rrw-zilliqa previously approved these changes Apr 23, 2024
Copy link
Contributor

@rrw-zilliqa rrw-zilliqa left a comment

Choose a reason for hiding this comment

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

Approving, because it's better than the previous implementation, but ..

zilliqa/src/node.rs Show resolved Hide resolved
theo-zil
theo-zil previously approved these changes Apr 24, 2024
Copy link
Contributor

@theo-zil theo-zil left a comment

Choose a reason for hiding this comment

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

Approved, except pending the fix for pending blocks as discussed

zilliqa/src/node.rs Show resolved Hide resolved
zilliqa/src/pool.rs Show resolved Hide resolved
@JamesHinshelwood JamesHinshelwood dismissed stale reviews from theo-zil and rrw-zilliqa via 35229c6 May 3, 2024 15:44
Copy link
Contributor

@rrw-zilliqa rrw-zilliqa left a comment

Choose a reason for hiding this comment

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

Looks good to me :-)

@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue May 7, 2024
Merged via the queue into main with commit e12f2b2 May 7, 2024
4 checks passed
@JamesHinshelwood JamesHinshelwood deleted the count-pending branch May 7, 2024 10:01
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.

None yet

3 participants