Skip to content

fix(anchor-counter): replace deprecated _rpcEndpoint with rpcEndpoint to fix test failures #22

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

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

Conversation

kirtiraj22
Copy link

Summary

While running the test suite, the test cases were failing due to usage of a deprecated/private property: _rpcEndpoint on the connection object.

Fix

Replaced:

provider.connection._rpcEndpoint

with

provider.connection.rpcEndpoint

It's a minor fix, but this resolves the test failure and all tests are now passing.

Checkout :

Screenshot 2025-06-03 100325

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

Successfully merging this pull request may close these issues.

1 participant