Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Conversation

@yihuang
Copy link

@yihuang yihuang commented Mar 22, 2022

Description

Closes: #1011
Solution:

  • use eth tx hash rather than tendermint one

tested with this integration test: https://github.com/crypto-org-chain/cronos/pull/404/files#diff-126ee319c6fd3229b0d12d6e6110955bd64ea6a419086f618a06dedd1234fc68R15


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Closes: evmos#1011
Solution:
- use eth tx hash rather than tendermint one
@fedekunze
Copy link
Collaborator

@yihuang can you also create a test to prevent this from failing again?

@yihuang
Copy link
Author

yihuang commented Mar 24, 2022

@yihuang can you also create a test to prevent this from failing again?

done, added an e2e test.

@yihuang yihuang requested a review from fedekunze March 24, 2022 03:00
@fedekunze fedekunze enabled auto-merge (squash) March 24, 2022 07:44
auto-merge was automatically disabled March 24, 2022 07:50

Head branch was pushed to by a user without write access

auto-merge was automatically disabled March 24, 2022 07:50

Head branch was pushed to by a user without write access

@fedekunze fedekunze enabled auto-merge (squash) March 24, 2022 07:53
@fedekunze fedekunze merged commit 70d5294 into evmos:main Mar 24, 2022
yihuang pushed a commit to yihuang/ethermint that referenced this pull request Mar 24, 2022
evmos#1012)

* Problem: eth_newPendingTransactionFilter don't return correct tx hash

Closes: evmos#1011
Solution:
- use eth tx hash rather than tendermint one

* changelog

* remove copied TODO comment and ignore err result of Notify

* add e2e test

* fix ws client in e2e test

* fix test

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <[email protected]>
yihuang pushed a commit to yihuang/ethermint that referenced this pull request Mar 24, 2022
evmos#1012)

* Problem: eth_newPendingTransactionFilter don't return correct tx hash

Closes: evmos#1011
Solution:
- use eth tx hash rather than tendermint one

* changelog

* remove copied TODO comment and ignore err result of Notify

* add e2e test

* fix ws client in e2e test

* fix test

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <[email protected]>
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.

Problem: eth_newPendingTransactionFilter don't return correct tx hash

2 participants