Skip to content

Move to arch_sdk/APL 0.12.0 for v0.12.0 nodes - #3

Closed
jackrieck wants to merge 1 commit into
mainfrom
arch-sdk-0.12
Closed

jackrieck wants to merge 1 commit into
mainfrom
arch-sdk-0.12

Conversation

@jackrieck

@jackrieck jackrieck commented Oct 7, 2026 •

Copy link
Copy Markdown

Problem

arch-kit 0.1.7 pins arch_sdk =0.10.0, whose ProcessedTransaction requires rollback_status. arch-node v0.12.0 (chain reset, arch-network f2eb5017f) no longer returns it, so every command that waits for a transaction fails against a v0.12.0 node:

error: Arch RPC operation failed: Failed to parse response: Failed to deserialize response: missing field `rollback_status`

This currently blocks arch-lend's and arch-vaults' testnet deploys (testnet is on v0.12.0).

Change

  • arch_sdk, apl-token, apl-associated-token-account =0.10.0 → =0.12.0; arch-satellite-lang-idl =0.31.5 → =0.34.0.
  • Transaction success is status == Processed (the rollback concept was removed from the chain).
  • Drops utxo from test-built AccountInfos (removed in 0.12); removes the "processed but rolled back" test cases and rollback_status from mocked replies so fixtures match the v0.12.0 shape.

Compatibility: this build targets v0.12.0+ nodes. Against a pre-0.12 node, replies still carry rollback_status, which is ignored, so reads and status checks keep working; a rolled-back transaction would no longer be distinguished. Worth a minor bump (0.2.0) when publishing.

Test plan

  • cargo clippy --all-targets -D warnings, cargo test (109 passed)
  • Live against testnet (v0.12.0): health, faucet (the failing path), arch-balance with a throwaway key
  • Publish to crates.io (owner: 0xfinetuned) so cargo install arch-kit --version … picks it up

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

arch-node v0.12.0 (the chain reset) dropped `rollback_status` from processed transactions and `utxo` from account info. arch_sdk 0.10.0 still requires the former, so every confirmed transaction against a v0.12.0 node failed with "missing field `rollback_status`". Success is now `status == Processed` alone; the rolled-back test cases are gone because that state no longer exists, and the mocked replies match the v0.12.0 shape.

Co-authored-by: Cursor <cursoragent@cursor.com>
@0xfinetuned 0xfinetuned mentioned this pull request Oct 7, 2026
7 of 9 tasks
@jackrieck

Copy link
Copy Markdown
Author

Superseded by #4, released as arch-kit 0.1.8 on arch_sdk 0.12.0.

@jackrieck jackrieck closed this Oct 8, 2026
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