Repository navigation
Conversation
…ency stellar-sdk <=15.1.0 depended on the unmaintained `toml` npm package (GHSA-82x6-q7mm-w9cf, GHSA-v5mp-jgw5-2x6j — uncontrolled recursion and prototype pollution, no upstream fix available). The SDK dropped that dependency entirely at v16.0.0. Jumping 14.2.0 -> 17.1.0 crosses several xdr API changes: the generated xdr wrapper classes (ContractDataDurability, ScSpecFunctionV0.name, Price, Signature, Hash, LedgerEntryData, ScVal, ContractExecutable) switched from getter *methods* to readonly *properties*, and several now return Uint8Array where they used to return Buffer. Updated each call site accordingly, and added explicit type-guard checks where a union type replaced what used to be a single class with an arm-getter method (contractData/instance/executable in loadContractMetada.ts). Verified: typecheck, build, lint, and the full test suite (69 tests) all pass. `npm audit` confirms `toml` and `@stellar/stellar-sdk` are gone from the vulnerability list. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- ScSpecFunctionV0.name is now a readonly property, not a method - getContractWasmByContractId now rejects with "Could not obtain contract instance from server" instead of "...contract hash..." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
1 task done
1 task done
Co-Authored-By: Claude <noreply@anthropic.com>
The current quickstart testing image fails to simulate the fixture upload on a node held at protocol 27. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xwv7rC3jZoaqcJhPRCzN4a
Member
Author
|
Updated to 17.4.0 |
willemneal
approved these changes
Nov 5, 2026
stellar/quickstart:latest moved to v690-b1601.1 on 2026-11-03, and that image fails to simulate the fixture WASM upload with HostError: Error(Context, InternalError). The last green run used v678-b1525.1-latest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xwv7rC3jZoaqcJhPRCzN4a
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.
Supersedes #7, which failed E2E tests. Fixes #8
Bumps
@stellar/stellar-sdkto 17.4.0, the current latest, which drops the vulnerabletomldependency.🤖 Recommends looking at
loadContractMetada.tsnarrowing logic and thesorobanUtils.tsScVal type-hint casts in particular.E2E now runs the local node on protocol 28 with stellar CLI v28.1.0. This is unrelated to the SDK bump: the current
stellar/quickstart:testingimage fails to simulate the fixture upload on a node held at protocol 27.