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

Remove unreachable error for test_tx_pool_accept #4447

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

eval-exec
Copy link
Collaborator

What problem does this PR solve?

Related changes

  • Remove unreachable errors for test_tx_pool_accept

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Side effects

  • Performance regression
  • Breaking backward compatibility

Release note

None: Exclude this PR from the release note.

@eval-exec eval-exec requested a review from a team as a code owner May 6, 2024 01:06
@eval-exec eval-exec requested review from zhangsoledad and removed request for a team May 6, 2024 01:06
doitian added a commit that referenced this pull request May 6, 2024
Backport #4447, Remove unreachable error for test_tx_pool_accept
@eval-exec eval-exec force-pushed the exec/test_tx_pool_accept_docs branch from a004c02 to 375ba1a Compare May 6, 2024 04:36
zhangsoledad added a commit that referenced this pull request May 10, 2024
Backport #4447 's 2nd commit,Remove unreachable error for test_tx_pool_accept
@@ -4442,7 +4442,6 @@ The parameters and errors of this method are the same as `send_transaction`.
* [`PoolRejectedTransactionByOutputsValidator (-1102)`](../enum.RPCError.html#variant.PoolRejectedTransactionByOutputsValidator) - The transaction is rejected by the validator specified by `outputs_validator`. If you really want to send transactions with advanced scripts, please set `outputs_validator` to "passthrough".
* [`PoolRejectedTransactionByMinFeeRate (-1104)`](../enum.RPCError.html#variant.PoolRejectedTransactionByMinFeeRate) - The transaction fee rate must be greater than or equal to the config option `tx_pool.min_fee_rate`.
* [`PoolRejectedTransactionByMaxAncestorsCountLimit (-1105)`](../enum.RPCError.html#variant.PoolRejectedTransactionByMaxAncestorsCountLimit) - The ancestors count must be greater than or equal to the config option `tx_pool.max_ancestors_count`.
* [`PoolIsFull (-1106)`](../enum.RPCError.html#variant.PoolIsFull) - Pool is full.
* [`PoolRejectedDuplicatedTransaction (-1107)`](../enum.RPCError.html#variant.PoolRejectedDuplicatedTransaction) - The transaction is already in the pool.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is used in from_submit_transaction_reject?
Reject::Full will be reported when there is no extra room for new a new tx entry.

Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the stale To be closed due to a lack of activity label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale To be closed due to a lack of activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants