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

fix: avoid channel get changed when concurrent subscribe happens #1773

Closed
wants to merge 4 commits into from

Conversation

mmsqe
Copy link
Contributor

@mmsqe mmsqe commented May 17, 2023

Closes: #1745

Description


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)

@mmsqe mmsqe marked this pull request as ready for review May 17, 2023 13:48
@mmsqe mmsqe requested a review from a team as a code owner May 17, 2023 13:48
@mmsqe mmsqe requested review from Vvaradinov and MalteHerrmann and removed request for a team May 17, 2023 13:48
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #1773 (b85eb5e) into main (10d9579) will decrease coverage by 4.85%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1773      +/-   ##
==========================================
- Coverage   68.89%   64.05%   -4.85%     
==========================================
  Files         117      122       +5     
  Lines       10681    11511     +830     
==========================================
+ Hits         7359     7373      +14     
- Misses       2900     3716     +816     
  Partials      422      422              
Impacted Files Coverage Δ
...c/namespaces/ethereum/eth/filters/filter_system.go 7.90% <100.00%> (ø)

... and 4 files with indirect coverage changes

mmsqe added a commit to crypto-org-chain/ethermint that referenced this pull request May 18, 2023
…kport: evmos#1773)  (#247)

* fix leveldb

for more info, syndtr/goleveldb@afa5311

* avoid channel get changed when concurrent subscribe happens

* add test

* add change doc

* update tm-db

* fix err msg due to empty version check fix

for more info, see https://github.com/cosmos/cosmos-sdk/pull/13355/files
@CRossel87a
Copy link

Nice to see!

mmsqe added a commit to crypto-org-chain/ethermint that referenced this pull request Jun 14, 2023
…kport: evmos#1773)  (#247)

* fix leveldb

for more info, syndtr/goleveldb@afa5311

* avoid channel get changed when concurrent subscribe happens

* add test

* add change doc

* update tm-db

* fix err msg due to empty version check fix

for more info, see https://github.com/cosmos/cosmos-sdk/pull/13355/files
mmsqe added a commit to crypto-org-chain/ethermint that referenced this pull request Jun 14, 2023
…kport: evmos#1773) (#274)

* fix: avoid channel get changed when concurrent subscribe happens (backport: evmos#1773)  (#247)

* fix leveldb

for more info, syndtr/goleveldb@afa5311

* avoid channel get changed when concurrent subscribe happens

* add test

* add change doc

* update tm-db

* fix err msg due to empty version check fix

for more info, see https://github.com/cosmos/cosmos-sdk/pull/13355/files

* fix test
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

@CRossel87a
Copy link

This is going stale

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unstable eth websocket event subscriptions
3 participants