You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stellar contract invoke --wasm is invalid — affects ~6 example contract tutorials #2212
The contract function executing and returning a result.
What did you see instead?
error: unexpected argument '--wasm' found
The --wasm flag was removed from stellar contract invoke in PR # 997 (in the stellar-cli repo, October 2023). The sandbox mode that allowed invoking directly from a WASM file no longer exists. Contracts must be deployed first, then invoked by contract ID.
Fix: Replace all invoke-with-wasm patterns with a two-step deploy-then-invoke workflow:
Activity
fix: replace deprecated invoke --wasm with deploy-then-invoke workflow
fix: replace deprecated invoke --wasm with deploy-then-invoke workflow
fix: replace deprecated invoke --wasm with deploy-then-invoke workflow (
fix: replace deprecated invoke --wasm with deploy-then-invoke workflow (