Open
Conversation
efe2fab to
5eccb67
Compare
9d23f31 to
56b68f7
Compare
bf8b971 to
4e1b6d0
Compare
56b68f7 to
8520dd9
Compare
4e1b6d0 to
7681ff4
Compare
0050f62 to
faefd71
Compare
7681ff4 to
033b4bb
Compare
fe95106 to
50d4ff9
Compare
Add e2e test infrastructure for the multicast publisher sentinel worker, including validator-metadata-service-mock container, sentinel container, and gRPC client for verifying publisher creation.
50d4ff9 to
6d7ffc5
Compare
The Solana RPC client requires the epochCredits field when deserializing vote account responses, causing the sentinel to fail on every poll cycle in e2e tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
TestE2E_Multicast_Publishertest that validates the full flow: sentinel discovers validators via the mock, creates multicast publisher subscriptions onchain, and the sentinel gRPC API reflects the correct stateDiff Breakdown
Mostly new test infrastructure (~93% additions), no changes to production code.
Key files (click to expand)
e2e/sentinel_multicast_publisher_test.go— e2e test for multicast publisher sentinel: sets up devnet with sentinel + mock, verifies publisher creatione2e/docker/validator-metadata-service-mock/main.go— mock service serving validator metadata API and Solana JSON-RPC (getVoteAccounts, getClusterNodes)e2e/internal/devnet/validator_metadata_service_mock.go— testcontainers wrapper for the validator metadata service mocke2e/internal/devnet/sentinel.go— testcontainers wrapper for the sentinel container with multicast publisher worker confige2e/internal/dzrpc/client.go— gRPC client for querying sentinel multicast publisher state in testse2e/internal/devnet/devnet.go— add sentinel + validator mock to devnet spec/lifecycle, add DumpContainerLogs helpere2e/internal/devnet/builder.go— add sentinel and validator-metadata-service-mock image buildsTesting Verification
TestE2E_Multicast_Publishervalidates the full sentinel multicast publisher flow end-to-end: devnet setup with sentinel container, validator discovery via mock metadata service, onchain publisher creation, and gRPC state verification