From ee12f1c08c7efa2fe3f89d6c79f718c4f6c75d66 Mon Sep 17 00:00:00 2001 From: woahwhattheheck Date: Thu, 24 Sep 2026 15:43:36 -0400 Subject: [PATCH 1/2] chore: remove unused hello_world scaffold contract from workspace --- Cargo.toml | 1 - contracts/hello_world/Cargo.toml | 11 ----------- contracts/hello_world/src/lib.rs | 12 ------------ 3 files changed, 24 deletions(-) delete mode 100644 contracts/hello_world/Cargo.toml delete mode 100644 contracts/hello_world/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 6912b131..d3d4be2c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,6 @@ members = [ "contracts/revenue_split", "contracts/cross_asset_payment", "contracts/vesting_escrow", - "contracts/hello_world", ] # Test-only upgrade target for vesting_escrow. It is built by hand into a # committed .wasm fixture and must not be picked up by scaffold builds or the diff --git a/contracts/hello_world/Cargo.toml b/contracts/hello_world/Cargo.toml deleted file mode 100644 index 0e7370f7..00000000 --- a/contracts/hello_world/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "hello_world" -version = "0.0.0" -edition = "2021" -publish = false - -[lib] -crate-type = ["cdylib"] - -[dependencies] -soroban-sdk = { workspace = true } diff --git a/contracts/hello_world/src/lib.rs b/contracts/hello_world/src/lib.rs deleted file mode 100644 index 6fb8ca06..00000000 --- a/contracts/hello_world/src/lib.rs +++ /dev/null @@ -1,12 +0,0 @@ -#![no_std] -use soroban_sdk::{contract, contractimpl, symbol_short, vec, Env, Symbol, Vec}; - -#[contract] -pub struct HelloContract; - -#[contractimpl] -impl HelloContract { - pub fn hello(env: Env, to: Symbol) -> Vec { - vec![&env, symbol_short!("Hello"), to] - } -} From 53b920cc83cd77a00b18d0e95e72e780448c1031 Mon Sep 17 00:00:00 2001 From: woahwhattheheck Date: Fri, 25 Sep 2026 21:24:24 -0400 Subject: [PATCH 2/2] chore(contracts): drop scaffold crate from lockfile --- Cargo.lock | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 927dac87..face6c5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -680,13 +680,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hello_world" -version = "0.0.0" -dependencies = [ - "soroban-sdk", -] - [[package]] name = "hex" version = "0.4.3"