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

feat: e2e privacy integration #42

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

feat: e2e privacy integration #42

wants to merge 28 commits into from

Conversation

aloknerurkar
Copy link
Contributor

No description provided.

@aloknerurkar aloknerurkar marked this pull request as ready for review April 11, 2024 19:47

logChan := make(chan types.Log)

sub, err := l.evmClient.SubscribeFilterLogs(ctx, q, logChan)
Copy link
Member

Choose a reason for hiding this comment

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

The EvmClient needs to be initialized with a WebSocket endpoint; otherwise, it will return a 'subscription is not supported' error. I faced this issue before

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have changed it to not use the subscription function. I have nothing against the subscription implementation, but I think it is better to have this package work with the default rpc client. Also I dont want to add setup in infra for this as its not critical.

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.

2 participants