Skip to content

feat(contracts): refresh artifacts for soroban-core 0.4.0 (v0.11.0)#38

Merged
AquiGorka merged 2 commits into
mainfrom
feat/core-0.4.0-artifacts
Jun 23, 2026
Merged

feat(contracts): refresh artifacts for soroban-core 0.4.0 (v0.11.0)#38
AquiGorka merged 2 commits into
mainfrom
feat/core-0.4.0-artifacts

Conversation

@AquiGorka

@AquiGorka AquiGorka commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Refreshes the bundled contract artifacts to soroban-core v0.4.0 (the per-UTXO spend-state refactor, soroban-core#34, now merged) and bumps the SDK to 0.11.0.

Changes

  • test/contracts/channel_auth_contract.wasm (sha256 9ead1f4f…), test/contracts/privacy_channel.wasm (sha256 533d964f…) — the official soroban-core v0.4.0 release artifacts (downloaded from the v0.4.0 release; the same WASMs deployed on testnet/mainnet, per the README — not a local build).
  • src/error/contract-errors.ts — drop the now-stale 2009 InvalidDrawerSlot entry.
  • deno.json0.10.00.11.0.

ABI delta (verified)

Regenerated stellar TS bindings from both core main (0.3.0) and v0.4.0 and diffed:

  • privacy_channel bindings: byte-identical.
  • channel_auth_contract bindings: only difference is removal of error variant 2009 InvalidDrawerSlot (its drawer bitmap no longer exists). No method signatures or types changed. No consumer references 2009.

Minor bump rationale: removing an error variant is a spec change (not a patch), and ^0.10.0 consumers won't pick up the new artifacts without an explicit bump.

Validation

  • deno fmt --check, deno lint — pass.
  • deno task test (full suite incl. testnet integration, deploys these WASMs and runs the full UTXO deposit/withdraw/spend-state lifecycle + channel-auth admin two-step + batchLoad): 19 passed, 216 steps, 0 failed.

Note: the first commit on this branch bundled a local stellar contract build, which produces different binaries than the release pipeline and failed two on-chain integration tests; the follow-up commit replaces them with the published v0.4.0 release artifacts (fixed).

Landing

soroban-core#34 is merged and v0.4.0 is released; the bundled WASMs are the published release artifacts. No branch/prerelease ref remains. Merging this publishes SDK 0.11.0 to JSR; the five consumer bump PRs re-pin to ^0.11.0 and need their deno.lock regenerated once 0.11.0 is live.

Refresh bundled channel_auth_contract.wasm and privacy_channel.wasm from
soroban-core's per-UTXO spend-state refactor (#34, v0.4.0). The change is a
storage-internal refactor; contract ABI is unchanged except the removal of the
now-unreachable error variant 2009 InvalidDrawerSlot (the drawer bitmap it
guarded no longer exists). Drop the corresponding stale entry from the contract
error map to keep it in lockstep with core.

Bump 0.10.0 -> 0.11.0 (minor: error-variant removal is a spec change, and
^0.10.0 consumers require an explicit bump to pick it up).
The previous commit bundled WASMs from a local `stellar contract build`, which
produces different binaries than the release pipeline (`cargo install --locked
stellar-cli`). The non-canonical artifacts deployed differently on-chain and
failed the testnet integration tests (admin two-step transfer; batchLoad UTXO
count). Replace them with the published soroban-core v0.4.0 release artifacts —
the same WASMs deployed on testnet/mainnet, as the README requires.

  channel_auth_contract.wasm sha256 9ead1f4f… (release v0.4.0)
  privacy_channel.wasm       sha256 533d964f… (release v0.4.0)

Full suite (deno task test): 19 passed (216 steps), 0 failed.
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AquiGorka AquiGorka merged commit 2b2d8bd into main Jun 23, 2026
2 checks passed
@AquiGorka AquiGorka deleted the feat/core-0.4.0-artifacts branch June 23, 2026 19:00
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