Repository navigation
fix: rebase SDK and CLI on the deployed Soroban vault ABI - #24
Merged
Merged
Conversation
The 0.1.x packages targeted an earlier draft of splitstream-core: cycle ids were u32, get_cycle_root had been removed in favour of get_cycle_info, and the error table was stale, so reads and claims failed against the live Testnet vault. This aligns both packages with the deployed contract, makes the claim flow verify the on-chain root and 24-hour challenge window before signing, records root mismatches in the transparency report, and adds an opt-in live Testnet smoke test plus 0.2.0 release notes. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
u64, and cycle state is read withget_cycle_info(...) -> Option<CycleInfo>(the removedget_cycle_rootremains only as an SDK alias).get_total_credited,get_vesting_reserved,get_available_funds) are exposed.claimverifies the recomputed root, the on-chain root, and the 24-hour challenge window before signing.statusreports post/challenge/open/final cycle states and surfaces malformed manifests.reportchecks the manifest root against the on-chain root and writes a warning when they differ.change.md, and newCHANGELOG.mdfor the 0.2.0 release.SPLITSTREAM_TESTNET_E2E=1 npm test -w @splitstream/sdk(read simulations only).Verification
npm run typecheckclean.npm test→ 98 passing.CB456KGXH4233BHW5BUEJMN6OJ4ZMWMPP3OXJU5HVQ2T2F7A7XHWLTAT.