Skip to content

feat: upgrade soroban-sdk version to v21.7.6 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 30, 2024
Merged

Conversation

hydrobeam
Copy link
Contributor

@hydrobeam hydrobeam commented Oct 30, 2024

closes AXE-6310

Motivation

We are currently on soroban-sdk = { version = "21.0.1-preview.3" }, which is outdated and has some issues with future rust versions (tests would always abort, fixed by stellar/rs-soroban-sdk#1333). Was told that sdk versions under the same major version guarantee no breaking changes and that the software-versions page is incorrectly claiming that mainnet is running the preview version.

We don't need to always be on the latest version, but staying on a preview version doesn't seem ideal.

Summary

  • upgraded soroban_sdk version to 21.7.6, the latest one at the time of writing
  • replace uses of deprecated function (register_stellar_asset_contract -> register_stellar_asset_contract_v2)

@hydrobeam hydrobeam requested a review from a team as a code owner October 30, 2024 19:06
@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.08%. Comparing base (52951e1) to head (64b88d7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
- Coverage   99.11%   99.08%   -0.04%     
==========================================
  Files          28       28              
  Lines        2953     2935      -18     
==========================================
- Hits         2927     2908      -19     
- Misses         26       27       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hydrobeam hydrobeam changed the title chore: upgrade sdk version feat: upgrade soroban-sdk version to v21.7.6 Oct 30, 2024
@hydrobeam hydrobeam merged commit f4efa15 into main Oct 30, 2024
5 checks passed
@hydrobeam hydrobeam deleted the upgrade-sdk-ver branch October 30, 2024 20:52
@ahramy ahramy mentioned this pull request Jan 21, 2025
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.

4 participants