-
Notifications
You must be signed in to change notification settings - Fork 123
feat: SNP integration #2291
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: SNP integration #2291
Conversation
Vercel deployment URL: https://stacks-blockchain-em58c98xo-hirosystems.vercel.app 🚀 |
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
console.log(`Using REDIS_STREAM_KEY_PREFIX: ${process.env.SNP_REDIS_STREAM_KEY_PREFIX}`); | ||
const snpContainer = await startContainer({ | ||
docker, | ||
image: 'hirosystems/salt-n-pepper:1.1.1', |
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.
This image is private on docker hub so CI isn't working. Need to make it public
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.
This looks great! Thanks @zone117x !
Closes #2270
Implements SNP event streaming support in the API. An integration test harness is also implemented which spins up a local SNP server, populates it with events from a tsv (simulating a stacks-node), then ensures the API is able to sync all events from SNP.
This PR uses a new approach to orchestrating service dependencies. Rather than using docker-compose, the docker containers are configured programmatically in test initialization code.