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

Modify lib.rs when deploying the Increment contract #1243

Closed
yskwmt opened this issue Dec 8, 2024 · 1 comment
Closed

Modify lib.rs when deploying the Increment contract #1243

yskwmt opened this issue Dec 8, 2024 · 1 comment
Assignees
Labels

Comments

@yskwmt
Copy link

yskwmt commented Dec 8, 2024

Following this tutorial https://developers.stellar.org/docs/build/smart-contracts/getting-started/deploy-increment-contract, I encountered an error when I run this command ('id' and 'source' were appropriately replaced).

stellar contract invoke \
  --id CACDYF3CYMJEJTIVFESQYZTN67GO2R5D5IUABTCUG3HXQSRXCSOROBAN \
  --source alice \
  --network testnet \
  -- \
  increment

Image

So I modified the lib.rs file created in the contracts/increment/src directory as follows.
Image

yskwmt referenced this issue in yskwmt/rs-soroban-sdk Dec 13, 2024
yskwmt referenced this issue in yskwmt/rs-soroban-sdk Dec 13, 2024
yskwmt referenced this issue in yskwmt/rs-soroban-sdk Dec 13, 2024
@leighmcculloch leighmcculloch transferred this issue from stellar/rs-soroban-sdk Jan 30, 2025
@briwylde08 briwylde08 moved this to To Do in Dev Docs Feb 4, 2025
@carstenjacobsen carstenjacobsen moved this from To Do to Blocked in Dev Docs Feb 18, 2025
carstenjacobsen added a commit to carstenjacobsen/stellar-docs that referenced this issue Feb 19, 2025
@carstenjacobsen carstenjacobsen moved this from Blocked to In Review in Dev Docs Feb 19, 2025
carstenjacobsen added a commit that referenced this issue Feb 20, 2025
* Fixed increment example deploy command  #1243
@carstenjacobsen
Copy link
Contributor

Closed with #1295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Review
Development

No branches or pull requests

3 participants