Solana log trigger bindings support#284
Merged
ernest-nowacki merged 18 commits intoJul 16, 2026
Merged
Conversation
* Solana progress * Run formatting * Prepare sdk for binding generator * restore files * Fix lint issue * Lock the newer versions * Rework structure of cre-examples so it support modern format (matching what cre cli delivers on init) and deploying solana workflow for testing * Fix imports * Fix test * Update the baseline * Update from local simulation to staging settings
… into feat/solana-log-trigger
ernest-nowacki
marked this pull request as ready for review
July 15, 2026 10:42
product-security-plaid-production
Bot
requested review from
WielebaMariusz and
mchain0
July 15, 2026 10:42
ernest-nowacki
commented
Jul 15, 2026
Comment on lines
+16
to
21
| if ! cre workflow simulate ./src/workflows/hello-world > "$OUTPUT_FILE" 2>&1; then | ||
| echo "❌ ERROR: cre workflow simulate failed. Output:" | ||
| cat "$OUTPUT_FILE" | ||
| exit 1 | ||
| fi | ||
| cat "$OUTPUT_FILE" |
Collaborator
Author
There was a problem hiding this comment.
We were seeing empty messages on failed simulations - this is not related to the Solana binding generation but unlocked debugging CI for me. Basically just showing up what went wrong if simulation fails.
silaslenihan
left a comment
Contributor
There was a problem hiding this comment.
mainly LGTM just left one nit
…t/cre-sdk-typescript into feat/solana-log-trigger
silaslenihan
approved these changes
Jul 16, 2026
ernest-nowacki
enabled auto-merge (squash)
July 16, 2026 14:44
patrickhuie19
approved these changes
Jul 16, 2026
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.
Solana log trigger support
Adds
LogTriggersupport to the Solana capability client,.Changes
Generated Solana client regenerated from updated
chainlink-protossubmodule. This added newlogTrigger()method withFilterLogTriggerRequestconfig (CPI filters, subkey configs, value comparators).adaptTriggerhelper: wraps a trigger and overrides onlyadapt()— TS analog of Go bindings embeddingcre.Trigger. Used by generated contract bindings to decode raw log outputs into typed events.Solana helpers: log-trigger utilities —
anchorCPILogTriggerConfig, subkey value encoding (prepareSubkeyValue,prepareSubkeyFloatValue) + unit test coverage.Public exports (important for workflow authors):
SolanaLog,SolanaFilterLogTriggerRequestJson,SolanaCPIFilterConfigJson,SolanaSubkeyConfigJson,SolanaValueComparatorJson,SolanaComparisonOperatorNetworks: regenerated chain selectors (new testnets), bumped
chain-selectorspin.Testing
solana-helpers.test.ts)Notes
Not related directly but was blocking me on CI so it's also handled with this PR:
@noble/curves;.env.examplegains dummyCRE_SOLANA_PRIVATE_KEY(both were missing and causing errors)