Skip to content

Add Stellar DF cache write e2e scenario - #23208

Draft
Fletch153 wants to merge 28 commits into
developfrom
feature/DF-25510-stellar-df-cache-e2e
Draft

Add Stellar DF cache write e2e scenario#23208
Fletch153 wants to merge 28 commits into
developfrom
feature/DF-25510-stellar-df-cache-e2e

Conversation

@Fletch153

Copy link
Copy Markdown
Collaborator

Summary

  • New StellarDFCacheWrite suite scenario: the real Data Feeds cache contract is the write receiver, and the assertion reads the decoded price back on-chain via latest_round — Aptos-parity for Stellar.

Context

The existing Stellar write test asserts only a test receiver's report count. This drives the full production write shape: DF-shaped XDR payload → consensus → forwarder → cache permission check → recorded round.

Changes

  • system-tests/tests/smoke/cre: executeStellarDFCacheWriteTest + suite registration.
  • system-tests/lib/cre/features/stellar: cache deploy/configure helpers (single funded chain handle for owner-auth), deterministic XDR Vec<ReportEntry> payload builder, forwarder address accessor.
  • deployment/cre/stellar: cache deploy/configure/read ForChain helpers mirroring receiver.go.

Testing

  • Full local run green: Test_CRE_V2_Stellar_Suite/StellarDFCacheWrite passed in 66.69s (report tx f419…1704, decoded answer + timestamp byte-verified via latest_round).
  • go vet clean on all touched modules.

Notes

  • Stacked on Plex 2742 local cre stellar write #23066. Blocked on chainlink-stellar counterparts (data feeds contracts, deployment package, forwarder sender param) merging; the chainlink-stellar pin must then be bumped — module resolution fails until then.
  • Cache feed permission derives the workflow name as the ASCII bytes of HashTruncateName's hex string, matching what consensus stamps into report metadata.

Base automatically changed from PLEX-2742-local-cre-stellar-write to develop July 22, 2026 18:45
StellarDFCacheWrite: deploy and permission the DF cache via the
generated bindings, inject a deterministic report payload into
the stock stellarwrite workflow, and byte-verify the decoded
round through latest_round after consensus write.
@Fletch153
Fletch153 force-pushed the feature/DF-25510-stellar-df-cache-e2e branch from f16aca0 to eae5312 Compare August 4, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants