Skip to content

Accept deployed Aptos write reply wire layout#126

Draft
cawthorne wants to merge 1 commit into
feature/aptos-local-cre-minimal-writefrom
feature/aptos-write-reply-compat
Draft

Accept deployed Aptos write reply wire layout#126
cawthorne wants to merge 1 commit into
feature/aptos-local-cre-minimal-writefrom
feature/aptos-write-reply-compat

Conversation

@cawthorne

Copy link
Copy Markdown

Summary

Makes the Aptos SDK decoder accept both the currently deployed WriteReportReply wire layout and the newer SDK layout.

Why

The Aptos capability/plugin still emits the deployed layout, while the newer SDK expected reordered fields for receiver_contract_execution_status. That broke downstream workflow decoding when we started asserting richer write reply semantics.

What Changed

  • update the manual WASM-safe Aptos WriteReportReply decoder to accept both layouts during rollout
  • add tests that cover both the newer SDK layout and the currently deployed layout

Validation

  • cd capabilities/blockchain/aptos && go test ./... -count=1

Notes

  • This is intended as a compatibility bridge for downstream consumers.
  • Follow-on consumer: smartcontractkit/chainlink will pin this commit while it consumes the richer Aptos write reply contract.

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.

1 participant