[DX-5057] add solana key read - #2763
Conversation
|
👋 Tofel, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
✅ API Diff Results -
|
There was a problem hiding this comment.
Pull request overview
This PR adds Solana key read support to the framework/clclient package, enabling consumers of the testing framework to fetch Solana keys (and derive Solana account/public key strings) from a Chainlink node via the /v2/keys/solana endpoint.
Changes:
- Added REST response models for Solana keys in
clclient(SolanaKey*structs). - Added
ReadSolanaKeys,MustReadSolanaKeys, andMustReadSolanaAccountsmethods toChainlinkClient. - Added a framework changeset entry noting the new capability.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| framework/clclient/models.go | Adds Solana key response models used by the REST client methods. |
| framework/clclient/client.go | Implements Solana key read methods and a helper to return Solana public keys as account addresses. |
| framework/.changeset/v0.16.7.md | Documents the addition of Solana key reading support. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| PublicKey string `json:"publicKey"` | ||
| } | ||
|
|
||
| // SolanaKeyData is the model that represents the created Solana keys when read |
No description provided.