-
Notifications
You must be signed in to change notification settings - Fork 75
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
Durability bump issue # ODHACK #1639
base: main
Are you sure you want to change the base?
Conversation
…sistent and removed durability in the argument
…sistent and removed durability in the argument
Hi @janewang i saw you reviewed my pr. I also saw one check failed. Am i missing an installation process?. Also, is there any issue with my pr? |
@KoxyG I just kicked off the tests. Some integration tests are failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @KoxyG, thanks for contributing.
The durability option needs to be retained. The issue is that it's default value is not functioning.
I would change this from stellar-cli/cmd/soroban-cli/src/commands/contract/mod.rs Lines 162 to 168 in aad9be9
|
@willemneal If the enum is derive |
So, should i change it back to the initial state?. The default value is persistent |
So, should i change it back to the initial state?. The default storage value is persistent. The initial issue is that, when the command |
@leighmcculloch @KoxyG, can either of you reproduce the original issue? I updated the tests to rely on a default durability and it is passing: #1644 |
You updated the default durability as "persistent" only ?. |
No just updated the tests to test if the default was working: https://github.com/stellar/stellar-cli/pull/1644/files So I'm questioning if this PR is needed. If you deploy a contract to testnet and then use extend are you required to use the |
Hi @janewang I noticed you reviewed my pull request. Do i need to work on anything froom my end? |
This pull request is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed. |
What
The issue was related to the required durability when bumping/extending a contract. I removed the durability field from the argument struct in the "soroban-cli/command/key" file. As a result, the durability flag will no longer be required when running the command.
Why
This change was made to resolve the issue of requiring the durability flag during contract extension. Additionally, I implemented default persistent storage, so the durability flag is no longer necessary.
Known limitations
There are currently no known limitations.