Skip to content

Add Stellar DF cache write e2e scenario#23208

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

Add Stellar DF cache write e2e scenario#23208
Fletch153 wants to merge 30 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.

ilija42 and others added 29 commits July 22, 2026 10:29
- StellarDFCacheWrite: deploy + permission the data feeds cache as
  the write receiver, drive the stock write workflow with an XDR
  Vec<ReportEntry> payload, assert the decoded price via latest_round
- deployment/cre/stellar: cache deploy/configure/read ForChain helpers
- features/stellar: cache helpers, DF payload builder, forwarder
  address accessor
Base automatically changed from PLEX-2742-local-cre-stellar-write to develop July 22, 2026 18:45
- Bump chainlink-stellar + /bindings to a5c7938 in all four
  module pins; the pre-rework deployment/cre/cache package no
  longer exists upstream
- ForChain helpers now use the generated DataFeedsCacheClient
  and DeployContractBytesWithArgs directly
- FeedConfigEntry moved to the generated nested shape
  (Config.Description / Config.WorkflowPermissions)
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