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] Cargo test does not work in Soroban examples #1177

Open
lijamie98 opened this issue Jan 13, 2025 · 0 comments
Open

[Soroban] Cargo test does not work in Soroban examples #1177

lijamie98 opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@lijamie98
Copy link
Contributor

What version are you using?

Stellar CLI 22.1.0

What did you do?

In https://developers.stellar.org/docs/build/smart-contracts/example-contracts/custom-types#run-the-contract,

stellar contract invoke –wasm does not working.

What did you expect to see?

stellar contract invoke –wasm should invoke the smart contract.

What did you see instead?

jamie ~/projects/soroban-examples/custom_types (tags/v22.0.1) % stellar contract invoke \
    --wasm target/wasm32-unknown-unknown/release/soroban_custom_types_contract.wasm \
    --id 1 \
    -- \
    increment \
    --incr 5
error: unexpected argument '--wasm' found

  tip: to pass '--wasm' as a value, use '-- --wasm'

Usage: stellar contract invoke [OPTIONS] --id <CONTRACT_ID> --source-account <SOURCE_ACCOUNT> [-- <CONTRACT_FN_AND_ARGS>...]

For more information, try '--help'.

@lijamie98 lijamie98 added the bug Something isn't working label Jan 13, 2025
@github-project-automation github-project-automation bot moved this to Ideas in Dev Docs Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ideas
Development

No branches or pull requests

1 participant