Skip to content

Rebase Aptos relayer write path for local CRE parity#386

Draft
cawthorne wants to merge 29 commits intodevelopfrom
feature/aptos-local-cre-minimal-write
Draft

Rebase Aptos relayer write path for local CRE parity#386
cawthorne wants to merge 29 commits intodevelopfrom
feature/aptos-local-cre-minimal-write

Conversation

@cawthorne
Copy link
Collaborator

@cawthorne cawthorne commented Mar 13, 2026

Summary

  • rebase the Aptos relayer changes on top of the latest default branch
  • preserve the working read-capability baseline
  • port the missing write-path pieces needed for local CRE Aptos write parity
  • keep the write failure path close to EVM by classifying Aptos forwarder / receiver failures and returning canonical tx hashes for expected failures

What changed

  • aligned the Aptos relayer with the current rebased service interfaces
  • preserved the read-capability path from the earlier Aptos local CRE work
  • ported the write-path relayer and TXM behavior needed by the local CRE write flow
  • carried the sequence / submit-path handling needed by Aptos write execution on the rebased stack
  • classified Aptos VM status for forwarder vs receiver failures in the relayer path
  • ensured expected terminal write failures are still submitted once so workflows receive a real failed on-chain tx hash
  • regenerated the write-target mock to match the rebased interfaces

Why

The older Aptos write branch had the required behavior, but it was based on an older upstream state. This PR reapplies only the missing Aptos write-path deltas on top of the current upstream interfaces so the local CRE write flow can run against the rebased stack.

CI refs

  • core ref: feature/aptos-local-cre-minimal-write

Testing

  • ran:
    • go test ./relayer/... -count=1 -timeout 300s

@cawthorne cawthorne marked this pull request as ready for review March 14, 2026 10:04
@cawthorne cawthorne requested a review from a team as a code owner March 14, 2026 10:04
@cawthorne cawthorne marked this pull request as draft March 14, 2026 10:04
@cawthorne cawthorne closed this Mar 14, 2026
@cawthorne cawthorne reopened this Mar 14, 2026
@cawthorne cawthorne marked this pull request as ready for review March 14, 2026 10:12
@cawthorne cawthorne marked this pull request as draft March 14, 2026 10:13
@cawthorne cawthorne closed this Mar 14, 2026
@cawthorne cawthorne reopened this Mar 14, 2026
@cawthorne cawthorne force-pushed the feature/aptos-local-cre-minimal-write branch from 7cbdde1 to 7c4a9e6 Compare March 14, 2026 10:43
@cawthorne cawthorne force-pushed the feature/aptos-local-cre-minimal-write branch from ff36f46 to 5b6013e Compare March 16, 2026 11:33
@cawthorne cawthorne deployed to integration March 16, 2026 13:34 — with GitHub Actions Active
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