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: check mempool when call eth_getTransactionByHash #1526

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

chaoticlonghair
Copy link
Contributor

@chaoticlonghair chaoticlonghair commented Nov 6, 2023

What this PR does / why we need it?

This PR resolves #1523 partially.

This PR requires #1530.

p.s. I say "partially" because no tests are updated or added.

What is the impact of this PR?

No Breaking Change

CI Settings

CI Usage

Tip: Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Web3 Compatible Tests
  • OCT 1-5 And 12-15
  • OCT 6-10
  • OCT 11
  • OCT 16-19
  • v3 Core Tests

CI Description

CI Name Description
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OCT 1-5 | 6-10 | 11 | 12-15 | 16-19 Run the compatibility tests provided by OpenZeppelin

@chaoticlonghair chaoticlonghair requested a review from a team as a code owner November 6, 2023 08:11
@github-actions github-actions bot added the bugfix label Nov 6, 2023
@chaoticlonghair

This comment was marked as off-topic.

This comment was marked as outdated.

@chaoticlonghair chaoticlonghair requested review from Flouse, driftluo and KaoImin and removed request for wenyuanhust and Simon-Tl November 6, 2023 08:17
@Flouse Flouse requested a review from sunchengzhu November 6, 2023 08:17
driftluo
driftluo previously approved these changes Nov 6, 2023
Flouse
Flouse previously approved these changes Nov 6, 2023
Copy link
Contributor

@Flouse Flouse left a comment

Choose a reason for hiding this comment

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

p.s. I say "partially" because no tests are updated or added.

You said that you used hardhat and Foundry to test #1523.
So, this PR is manually tested, right?

@chaoticlonghair
Copy link
Contributor Author

So, this PR is manually tested, right?

Yep!

KaoImin
KaoImin previously approved these changes Nov 6, 2023
@chaoticlonghair

This comment was marked as resolved.

sunchengzhu
sunchengzhu previously approved these changes Nov 6, 2023
@sunchengzhu

This comment was marked as off-topic.

This comment was marked as outdated.

@chaoticlonghair chaoticlonghair force-pushed the protocol/yangby/bugfix/tx-in-mempool branch from b1f085d to fb1ad92 Compare November 8, 2023 06:24
@chaoticlonghair

This comment was marked as off-topic.

This comment was marked as outdated.

chaoticlonghair added a commit to chaoticlonghair/axon-test that referenced this pull request Nov 8, 2023
Flouse pushed a commit to axonweb3/axon-test that referenced this pull request Nov 8, 2023
@Flouse

This comment was marked as off-topic.

This comment was marked as outdated.

@Flouse

This comment was marked as outdated.

@Flouse Flouse enabled auto-merge November 10, 2023 10:20

This comment was marked as outdated.

@chaoticlonghair chaoticlonghair changed the title fix: check mempool when call eth_getTransactionByHash ✋ [Hold] fix: check mempool when call eth_getTransactionByHash Nov 10, 2023
@chaoticlonghair

This comment was marked as outdated.

@Flouse Flouse added this pull request to the merge queue Nov 10, 2023
@Flouse Flouse removed this pull request from the merge queue due to a manual request Nov 10, 2023
@Flouse

This comment was marked as outdated.

@chaoticlonghair
Copy link
Contributor Author

Could NOT be passed since #1544.

Without the bugfix of #1544, all tests should be patched: waiting for all previous transactions mined before sending a new transaction.

@chaoticlonghair chaoticlonghair force-pushed the protocol/yangby/bugfix/tx-in-mempool branch from bc7336a to b180b27 Compare November 13, 2023 06:37
@chaoticlonghair

This comment was marked as off-topic.

@chaoticlonghair chaoticlonghair changed the title ✋ [Hold] fix: check mempool when call eth_getTransactionByHash fix: check mempool when call eth_getTransactionByHash Nov 13, 2023
Copy link

github-actions bot commented Nov 13, 2023

CI tests run on commit:

CI test list:

Please check ci test results later.

@chaoticlonghair
Copy link
Contributor Author

@Flouse Do not do squash merging.
Keep the two commits to be separated.
The 2nd commit is a temporary solution and it could be reverted after the #1544 fixed.

@Flouse Flouse merged commit 4c3be3d into main Nov 13, 2023
@chaoticlonghair chaoticlonghair deleted the protocol/yangby/bugfix/tx-in-mempool branch November 13, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send raw transaction successfully but failed to get it by its hash through web JSON-RPC apis.
5 participants