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

soroban-cli: Only Give RC SDK Contract Compilation Warning/Errors if Using Pubnet #1108

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

stellarsaur
Copy link
Contributor

What

Allow users to deploy contracts to Testnet or Futurenet without a warning/error if they compiled their contract with a RC version of the Rust SDK.

Why

Release Candidate SDK versions are only not intended to be used with Pubnet, so we shouldn't prevent users from deploying contracts compiled with RC SDK versions to Testnet or Futurenet

Closes #1077

Copy link
Member

@willemneal willemneal left a comment

Choose a reason for hiding this comment

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

Makes more sense! Thanks!

@willemneal
Copy link
Member

As for the unit test, it seems that the debug option isn't working. I suggest ignoring the test for now with a high priority issue for it's resolution.

@stellarsaur stellarsaur merged commit 397cc90 into main Dec 11, 2023
21 of 23 checks passed
@stellarsaur stellarsaur deleted the cli-contract-deploy-rc-sdk branch December 11, 2023 19:21
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.

soroban-cli: prevents deployment of contracts built with an rc sdk to any network and not just public network
2 participants