Skip to content
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

Add support for Soroban constructors (CAP-58) #4442

Merged
merged 2 commits into from
Aug 31, 2024

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Aug 26, 2024

Description

Resolves #4437, stellar/rs-soroban-env#1438

This doesn't have much logic beyond env/XDR bumps and basic test coverage. However, the check for not supporting the new XDR in the old protocol is done in generic fashion via Soroban env XDR roundtrip.

This also includes a few test fixes to unblock CI.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@dmkozh dmkozh force-pushed the soroban_constructor branch 2 times, most recently from d4766d4 to 5d477d1 Compare August 29, 2024 21:56
@dmkozh dmkozh changed the title Soroban constructor WIP for CI Add support for Soroban constructors (CAP-58) Aug 29, 2024
@dmkozh dmkozh marked this pull request as ready for review August 29, 2024 22:01
src/rust/src/contract.rs Outdated Show resolved Hide resolved
This doesn't have much logic beyond env/XDR bumps and basic test coverage. However, the check for not supporting the new XDR in the old protocol is done in generic fashion via Soroban env XDR roundtrip.
@dmkozh dmkozh enabled auto-merge August 30, 2024 21:33
@dmkozh dmkozh added this pull request to the merge queue Aug 30, 2024
Merged via the queue into stellar:master with commit c8d2bb2 Aug 31, 2024
14 checks passed
@dmkozh dmkozh deleted the soroban_constructor branch August 31, 2024 00:01
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.

Use Soroban env to verify the transaction XDR
2 participants