Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
rustup toolchain install stable --profile minimal
rustup default stable
rustup target add wasm32-unknown-unknown
rustup target add wasm32v1-none

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

rg -n 'wasm32(-unknown-unknown|v1-none)|wasm32v1-none' \
  --glob '*.yml' --glob '*.yaml' --glob '*.sh' --glob 'README*' --glob 'Cargo.toml'

Repository: Kolo-Org/Kolo-smartcontract

Length of output: 165


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Files:\n'
git ls-files | rg '(^|/)(rust\.yml|ci\.yml|deploy\.sh|README\.md|Cargo\.toml)$|github_actions/workflows'
printf '\nTarget references:\n'
rg -n 'wasm32(-unknown-unknown|v1-none)|wasm32v1-none' \
  .github github_actions contracts README.md Cargo.toml \
  --glob '*.yml' --glob '*.yaml' --glob '*.sh' --glob 'README*' --glob 'Cargo.toml' || true

Repository: Kolo-Org/Kolo-smartcontract

Length of output: 2549


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Workflow files:\n'
git ls-files '.github/workflows/*' 'github_actions/workflows/*' | sort

printf '\nPotential deployment files:\n'
git ls-files | rg 'deploy\.sh|README\.md|Cargo\.toml|ci\.yml$' | sort

printf '\nRust workflow excerpt:\n'
nl -ba .github/workflows/rust.yml | sed -n '1,120p'

Repository: Kolo-Org/Kolo-smartcontract

Length of output: 724


Keep the WASM target consistent across the repo. This workflow now uses wasm32v1-none, but contracts/deploy.sh, README.md, and github_actions/workflows/ci.yml still reference wasm32-unknown-unknown, so CI/docs/deploy will point at different artifact paths. Update the other target references together with this change.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/rust.yml at line 23, Update all WASM target references to
remain consistent with the target used by the workflow’s rustup target
installation: change the references in contracts/deploy.sh, README.md, and
github_actions/workflows/ci.yml from wasm32-unknown-unknown to wasm32v1-none,
including any related artifact paths.


- name: Install system dependencies for Soroban CLI
run: |
Expand All @@ -34,4 +34,4 @@ jobs:
run: cargo test

- name: Build contract for wasm (release)
run: cargo build --target wasm32-unknown-unknown --release
run: cargo build --target wasm32v1-none --release
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ scripts/e2e-artifacts/*
# Rust / Cargo
target/
**/*.rs.bk
Cargo.lock

# Node.js
node_modules/
Expand Down
Loading
Loading