Summary
π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt installs the wrong Rust target for the project. It adds , but the target is the only one Soroban SDK 26.x accepts on stable Rust.
Location
, lines 55β57:
Why it is wrong
The CI workflow explicitly calls this out (see job , lines 100β103):
The Makefile's own target uses correctly, but adds the incompatible target. So a new contributor who follows the README in order β
- π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt β adds
- β sees both targets listed
- π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release β uses and works
β¦ends up with a stale, unused target on their system that the README actively misinstructs them to use as the primary build target (, see README Β§ "Building (Manual)"). The same wrong target also leaks into (), suggesting that script is stale and would attempt a build with the incompatible target if anybody ran it directly.
Impact
- Light documentation/install drift. New contributors end up installing a wasm target that the project does not actually use, and the README still shows example commands using it.
- β WASM not found at target/wasm32-unknown-unknown/release/orbitchain_core.wasm β run 'make build-wasm' first references , which is not produced by π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release. If somebody runs β WASM not found at target/wasm32-unknown-unknown/release/orbitchain_core.wasm β run 'make build-wasm' first after only π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt + π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release, the script would error out trying to find a wasm under the wrong path.
Fix
- Change line 57 of the to so π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt installs the target that π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release actually uses.
- Update the README's "Building (Manual)" / "Install Soroban CLI" sections to reference instead of , matching .
- Update β WASM not found at target/wasm32-unknown-unknown/release/orbitchain_core.wasm β run 'make build-wasm' first (and the legacy π¨ Building contract for network: testnet) to look for the wasm under so its matches what produces.
Severity
[LOW] β non-functional in CI (CI uses the right target directly), but tangible contributor-experience pain and a documentation/install drift that should be cleaned up in one pass.
Summary
π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt installs the wrong Rust target for the project. It adds , but the target is the only one Soroban SDK 26.x accepts on stable Rust.
Location
, lines 55β57:
Why it is wrong
The CI workflow explicitly calls this out (see job , lines 100β103):
The Makefile's own target uses correctly, but adds the incompatible target. So a new contributor who follows the README in order β
cargo install --locked stellar-cli --features opt β adds
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release β uses and works
β¦ends up with a stale, unused target on their system that the README actively misinstructs them to use as the primary build target (, see README Β§ "Building (Manual)"). The same wrong target also leaks into (), suggesting that script is stale and would attempt a build with the incompatible target if anybody ran it directly.
Impact
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release. If somebody runs β WASM not found at target/wasm32-unknown-unknown/release/orbitchain_core.wasm β run 'make build-wasm' first after only π§ Installing soroban-cli...
cargo install --locked stellar-cli --features opt + π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release, the script would error out trying to find a wasm under the wrong path.
Fix
cargo install --locked stellar-cli --features opt installs the target that π¨ Building Soroban contract...
cargo build -p orbitchain-core -p orbitchain-campaign -p orbitchain-token-bridge -p orbitchain-common --target wasm32v1-none --release actually uses.
Severity
[LOW] β non-functional in CI (CI uses the right target directly), but tangible contributor-experience pain and a documentation/install drift that should be cleaned up in one pass.