sails-local-smoke
Installation
SKILL.md
Sails Local Smoke
Goal
Validate the generated client path against a local node after gtest is already green.
Deploy Artifact And Tooling
- The deploy artifact is the
.opt.wasmfile (optimized WASM), not the plain.wasm. The.opt.wasmis produced bywasm-optduring the Sails build and is significantly smaller. Uploading the unoptimized.wasmto a node will often fail withCodeTooLarge. - Prefer
vara-walletfor deploying to a local node. It handles account management and program upload without requiring a Gear source checkout or Rust-specific tooling. - For Rust-native test harnesses that already use
gclient, theGearApi+GclientEnvpath remains valid as a secondary option.
Identity Rules
- Use local dev accounts or user-provided account addresses in
SS58form for standard Vara account flows; do not default to Ethereum0xaddresses for normal local-node work. - Record the real deployed
program idfrom the deploy step and pass that into the typed client. If the flow uses vouchers, issue one first and use the returned voucher ID. Do not invent either identifier. - Keep seed phrases and private keys out of committed scripts, docs, and examples. Use local keyrings, environment input, or interactive setup instead.