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: Adds usage of internal cache for getFilterChanges #2668

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

konstantinabl
Copy link
Collaborator

Description:

Currently, in getFilterChanges we get the filter id from the sharedCache. However, this won't work if the sharedCache option is disabled.

The PR modifies the filterService, so we check if the sharedCache is actually enabled.

Related issue(s):

Fixes #2646

…om internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
@konstantinabl konstantinabl linked an issue Jul 3, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Jul 3, 2024

@konstantinabl konstantinabl added the bug Something isn't working label Jul 3, 2024
@konstantinabl konstantinabl added this to the 0.51.0 milestone Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Tests

    2 files  158 suites   14s ⏱️
856 tests 855 ✔️ 1 💤 0
868 runs  867 ✔️ 1 💤 0

Results for commit 59cf203.

Copy link
Collaborator

@ebadiere ebadiere left a comment

Choose a reason for hiding this comment

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

LG

@ebadiere ebadiere merged commit 7acb142 into main Jul 3, 2024
32 of 34 checks passed
@ebadiere ebadiere deleted the 2646-eth_newfilter-eth_getfilterchanges-not-working branch July 3, 2024 15:12
ebadiere pushed a commit that referenced this pull request Jul 3, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
ebadiere pushed a commit that referenced this pull request Jul 3, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere added a commit that referenced this pull request Jul 3, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
ebadiere pushed a commit that referenced this pull request Jul 8, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere pushed a commit that referenced this pull request Jul 8, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere added a commit that referenced this pull request Jul 8, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
ebadiere pushed a commit that referenced this pull request Jul 9, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere added a commit that referenced this pull request Jul 9, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere pushed a commit that referenced this pull request Jul 9, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere added a commit that referenced this pull request Jul 9, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
quiet-node pushed a commit that referenced this pull request Jul 15, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
quiet-node pushed a commit that referenced this pull request Jul 15, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
quiet-node pushed a commit that referenced this pull request Jul 15, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
quiet-node pushed a commit that referenced this pull request Jul 15, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
ebadiere pushed a commit that referenced this pull request Aug 1, 2024
Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>
ebadiere added a commit that referenced this pull request Aug 1, 2024
* fix: upgrade @hashgraph/sdk from 2.44.0 to 2.46.0

Snyk has created this PR to upgrade @hashgraph/sdk from 2.44.0 to 2.46.0.

See this package in npm:
@hashgraph/sdk

See this project in Snyk:
https://app.snyk.io/org/json-rpc-relay/project/935f0190-a061-4f84-9ff5-5e5a6754ca16?utm_source=github&utm_medium=referral&page=upgrade-pr

Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: issue when trying to perform transaction (#2663)

Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Adds usage of internal cache for getFilterChanges (#2668)

Changes current logic of getFilterChanges, so it considers changes from internal cache as well

Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix: Added metrics around the HBar rate limiter to better track the (#2657)

* fix: Added metrics around the HBar rate limiter to better track the
HBar rate limiting.

Signed-off-by: ebadiere <ebadiere@gmail.com>

* Update packages/relay/src/lib/hbarlimiter/index.ts

Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>

* fix: Removed the shouldLimit called counter.

Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

* fix:  eth_getBlockTransactionCountByNumber is not supported in wss (#2650)

fix: eth_getBlockTransactionCountByNumber is not supported in wss, should be treated as such

Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.com>

---------

Signed-off-by: ebadiere <ebadiere@gmail.com>
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
Signed-off-by: Eric Badiere <ebadiere@gmail.com>
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Georgi Lazarov <glazarov95@gmail.com>
Co-authored-by: konstantinabl <konstantina.blajukova@gmail.com>
Co-authored-by: Eric Badiere <ebadiere@gmail.com>
Co-authored-by: Nana Essilfie-Conduah <56320167+Nana-EC@users.noreply.github.com>
Co-authored-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
Signed-off-by: ebadiere <ebadiere@gmail.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
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

eth_newFilter / eth_getFilterChanges not working
2 participants