-
Notifications
You must be signed in to change notification settings - Fork 45
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
event loader with event watch and backfill #911
base: develop
Are you sure you want to change the base?
Conversation
9d952d8
to
748c6d2
Compare
Looks like the CI failed to install |
pkg/solana/logpoller/loader.go
Outdated
return err | ||
} | ||
|
||
sigs, err := c.client.GetSignaturesForAddressWithOpts(ctx, pubKey, &rpc.GetSignaturesForAddressOpts{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this method only return 1,000 results at max? What if we need to backfill more transactions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made an update to this PR to address this concern
Quality Gate failedFailed conditions |
Description
This PR introduces a component that monitors solana slot production and loads program log messages looking for emitted events. This component also provides a backfill feature to look for events in past blocks by program address.
Included is an integration test to a local solana validator as a smoke test and a benchmark test for watching slot production.
NONEVM-742