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 #1406

Open
yskwmt opened this issue Dec 8, 2024 · 0 comments
Open

Modify lib.rs when deploying the Increment contract #1406

yskwmt opened this issue Dec 8, 2024 · 0 comments

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 pushed a commit to yskwmt/rs-soroban-sdk that referenced this issue Dec 13, 2024
yskwmt pushed a commit to yskwmt/rs-soroban-sdk that referenced this issue Dec 13, 2024
yskwmt pushed a commit to yskwmt/rs-soroban-sdk that referenced this issue Dec 13, 2024
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

No branches or pull requests

1 participant