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

fix: use correct model for txpool_content endpoint #1501

Merged
merged 4 commits into from
Jul 24, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jul 23, 2022

Motivation

The previously used type didn't match the type returned by https://geth.ethereum.org/docs/rpc/ns-txpool#txpool_content a 100%

especially the tx hash

Solution

use new type that represents it completely

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@mattsse
Copy link
Collaborator Author

mattsse commented Jul 23, 2022

txpool test fails because changes not in anvil yet

ethers-providers/tests/txpool.rs Outdated Show resolved Hide resolved
@gakonst gakonst merged commit a5c3261 into gakonst:master Jul 24, 2022
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

2 participants