Skip to content

Update example contracts to use soroban-sdk v25#400

Merged
mootz12 merged 4 commits intomainfrom
update-p25
Feb 6, 2026
Merged

Update example contracts to use soroban-sdk v25#400
mootz12 merged 4 commits intomainfrom
update-p25

Conversation

@mootz12
Copy link
Contributor

@mootz12 mootz12 commented Feb 4, 2026

What

Update examples to use soroban-sdk v25.

Also includes test updates for the events example to showcase new event testing options.

Copilot AI review requested due to automatic review settings February 4, 2026 18:55
@socket-security
Copy link

socket-security bot commented Feb 4, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedsoroban-sdk@​23.0.2 ⏵ 25.1.082100 +293100100
Updatedsoroban-poseidon@​25.0.0-rc.1 ⏵ 25.0.010010093100100
Updatedsoroban-ledger-snapshot@​23.0.2 ⏵ 25.1.0100100100 +8100100
Updatedsoroban-token-sdk@​23.4.0 ⏵ 25.1.0100100100100100

View full report

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates all example contracts to use soroban-sdk version 25.0.2, upgrading from versions 23.0.1 and 23.4.0. The update brings new dependencies and enhanced event testing capabilities as demonstrated in the events example.

Changes:

  • Updated soroban-sdk from v23.x to v25.0.2 across all example contracts
  • Updated related dependencies (soroban-token-sdk, soroban-poseidon, soroban-ledger-snapshot) to v25.x
  • Enhanced event testing in the events example to demonstrate new SDK v25 features
  • Updated test snapshots to reflect protocol version 25 and new ledger entry format
  • Modified Makefile to exclude circuits directories from build process

Reviewed changes

Copilot reviewed 44 out of 84 changed files in this pull request and generated no comments.

Show a summary per file
File Description
workspace/Cargo.toml Updated workspace soroban-sdk dependency to 25.0.2
workspace/Cargo.lock Updated all soroban-* and stellar-* dependencies with new transitive dependencies
Various example Cargo.toml files Consistently updated soroban-sdk to 25.0.2 in dependencies and dev-dependencies
Various example Cargo.lock files Lockfile updates reflecting new dependency versions and additions (ark-bn254, hash32, heapless, etc.)
events/src/test.rs Showcased new event testing patterns with #[contractevent] macro and filter_by_contract
mint-lock/test_snapshots/* Updated protocol version to 25 and ledger entry format
eth_abi/test_snapshots/* Updated protocol version to 25 and ledger entry format
Makefile Added circuits directory exclusion and build logging

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mootz12
Copy link
Contributor Author

mootz12 commented Feb 6, 2026

@leighmcculloch removed your review as I also updated to v25.1.0

@mootz12 mootz12 merged commit 52c2bcd into main Feb 6, 2026
130 checks passed
@mootz12 mootz12 deleted the update-p25 branch February 6, 2026 14:37
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.

3 participants