Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 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.

2 participants