8000 fix(mempool): wrong request type when rechecking by hvanz · Pull Request #3264 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(mempool): wrong request type when rechecking #3264

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

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

hvanz
Copy link
Member
@hvanz hvanz commented Jun 13, 2024

Fixes #3261

This bug only affects v0.38.x.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

@hvanz hvanz added bug Something isn't working mempool labels Jun 13, 2024
@hvanz hvanz changed the title fix(mempool): wrong request type on recheck and globalCb fix(mempool): wrong request type when rechecking Jun 13, 2024
@hvanz hvanz self-assigned this Jun 20, 2024
@hvanz hvanz marked this pull request as ready for review June 20, 2024 16:06
@hvanz hvanz requested a review from a team as a code owner June 20, 2024 16:06
Copy link
Contributor
@melekes melekes left a comment

Choose a reason for hiding this comment

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

👍

@hvanz hvanz merged commit 6fe9711 into v0.38.x Jun 21, 2024
21 checks passed
@hvanz hvanz deleted the hvanz/fix-recheck-globalCb-3261 branch June 21, 2024 08:27
@hvanz hvanz linked an issue Jun 21, 2024 that may be closed by this pull request
zsystm added a commit to b-harvest/minievm that referenced this pull request Jul 9, 2024
current version of cometbft which minievm uses have a bug(cometbft/cometbft#3264 (comment)) which makes transaction broadcasting unavailable.
beer-1 pushed a commit to initia-labs/minievm that referenced this pull 8000 request Jul 10, 2024
* feat: new eth apis, refactor: code structures

new eth apis
- GetStorageAt
- GetCode

refactor
- Restricted the scope of access for each namespace API (instead of accessing the backend directly, now access is through a scoped wrapper)
- Also renamed files and repositioned some methods within the backend directory to better reflect their purpose

* fix: not implemented txpool api

temp disable txpool api because we don't have any implementation

* fix: change event type for extract logs

* add cap for filters

* add filter system and apis

* fix comment

Co-authored-by: zsystm <124245155+zsystm@users.noreply.github.com>

* delete unused interfaces and comments

* fix varible and function naming

* add TODO comments

* delete unused functions

* add error handling

* Set websocket params to prevent timeout

* fix: change GetLogsByHeight interface

* chore: change variable names from tm to comet

* docs: add comments about websocket client params

* fix: go.mod and go.work.sum

ran the followings for this commit:
- go mod tidy
- go work sync

* update: cometbft dep

current version of cometbft which minievm uses have a bug(cometbft/cometbft#3264 (comment)) which makes transaction broadcasting unavailable.

---------

Co-authored-by: jason song <jason.song@bharvest.io>
Co-authored-by: jasonsong0 <96075298+jasonsong0@users.noreply.github.com>
beer-1 added a commit to initia-labs/minievm that referenced this pull request Jul 12, 2024
* wip

* wip2

* feat: json-rpc signing

* direction

* add indexer

* enable jsonrpc

* add precision checking logic

* fix test

* reterive value from the msg

* fix: handle unit conversion in cosmos to ethereum tx (#24)

whenever ethereum tx is converted into cosmos tx by ConvertEthereumTxToCosmosTx, the value is converted to cosmos fee unit from wei.
so when convert the cosmos tx to back the original ethereum tx, we should convert the value back to wei to get original ethereum tx.

* fix pubkey recover

* fix test

* feat: implement new apis and refactoring (#28)

* feat: new eth apis, refactor: code structures

new eth apis
- GetStorageAt
- GetCode

refactor
- Restricted the scope of access for each namespace API (instead of accessing the backend directly, now access is through a scoped wrapper)
- Also renamed files and repositioned some methods within the backend directory to better reflect their purpose

* fix: not implemented txpool api

temp disable txpool api because we don't have any implementation

* fix: change event type for extract logs

* add cap for filters

* add filter system and apis

* fix comment

Co-authored-by: zsystm <124245155+zsystm@users.noreply.github.com>

* delete unused interfaces and comments

* fix varible and function naming

* add TODO comments

* delete unused functions

* add error handling

* Set websocket params to prevent timeout

* fix: change GetLogsByHeight interface

* chore: change variable names from tm to comet

* docs: add comments about websocket client params

* fix: go.mod and go.work.sum

ran the followings for this commit:
- go mod tidy
- go work sync

* update: cometbft dep

current version of cometbft which minievm uses have a bug(cometbft/cometbft#3264 (comment)) which makes transaction broadcasting unavailable.

---------

Co-authored-by: jason song <jason.song@bharvest.io>
Co-authored-by: jasonsong0 <96075298+jasonsong0@users.noreply.github.com>

* feat: directly subscribe logs from indexer  (#34)

* change filter system to directly subscribe from indexer

* use mutex and pass logs in bulk

* fix dependency problems

* add readme

* update readme

---------

Co-authored-by: suha jin <89185836+djm07073@users.noreply.github.com>
Co-authored-by: zsystm <124245155+zsystm@users.noreply.github.com>
Co-authored-by: jason song <jason.song@bharvest.io>
Co-authored-by: jasonsong0 <96075298+jasonsong0@users.noreply.github.com>
beer-1 added a commit to initia-labs/evm-contracts that referenced this pull request Jul 18, 2024
* wip

* wip2

* feat: json-rpc signing

* direction

* add indexer

* enable jsonrpc

* add precision checking logic

* fix test

* reterive value from the msg

* fix: handle unit conversion in cosmos to ethereum tx (#24)

whenever ethereum tx is converted into cosmos tx by ConvertEthereumTxToCosmosTx, the value is converted to cosmos fee unit from wei.
so when convert the cosmos tx to back the original ethereum tx, we should convert the value back to wei to get original ethereum tx.

* fix pubkey recover

* fix test

* feat: implement new apis and refactoring (#28)

* feat: new eth apis, refactor: code structures

new eth apis
- GetStorageAt
- GetCode

refactor
- Restricted the scope of access for each namespace API (instead of accessing the backend directly, now access is through a scoped wrapper)
- Also renamed files and repositioned some methods within the backend directory to better reflect their purpose

* fix: not implemented txpool api

temp disable txpool api because we don't have any implementation

* fix: change event type for extract logs

* add cap for filters

* add filter system and apis

* fix comment

Co-authored-by: zsystm <124245155+zsystm@users.noreply.github.com>

* delete unused interfaces and comments

* fix varible and function naming

* add TODO comments

* delete unused functions

* add error handling

* Set websocket params to prevent timeout

* fix: change GetLogsByHeight interface

* chore: change variable names from tm to comet

* docs: add comments about websocket client params

* fix: go.mod and go.work.sum

ran the followings for this commit:
- go mod tidy
- go work sync

* update: cometbft dep

current version of cometbft which minievm uses have a bug(cometbft/cometbft#3264 (comment)) which makes transaction broadcasting unavailable.

---------

Co-authored-by: jason song <jason.song@bharvest.io>
Co-authored-by: jasonsong0 <96075298+jasonsong0@users.noreply.github.com>

* feat: directly subscribe logs from indexer  (#34)

* change filter system to directly subscribe from indexer

* use mutex and pass logs in bulk

* fix dependency problems

* add readme

* update readme

---------

Co-authored-by: suha jin <89185836+djm07073@users.noreply.github.com>
Co-authored-by: zsystm <124245155+zsystm@users.noreply.github.com>
Co-authored-by: jason song <jason.song@bharvest.io>
Co-authored-by: jasonsong0 <96075298+jasonsong0@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mempool
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

v0.38.x: spammy "discard late recheck response" for initial check
2 participants
0