Skip to content
Open
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The application is fully deployed and accessible online:

- Stellar SDK
- Soroban Smart Contracts
- Soroban Rust SDK `26.1.0` for every contract crate and browser-generated Cargo manifest

## 📁 Repository Structure

Expand Down
8 changes: 4 additions & 4 deletions backend/src/services/dependency-update.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export interface DependencyUpdateResult {

// Simulated Soroban/Stellar Rust dependency registry (latest known versions)
const REGISTRY: Record<string, string> = {
'soroban-sdk': '22.0.7',
'soroban-auth': '22.0.7',
'soroban-sdk': '26.1.0',
'soroban-auth': '26.1.0',
'stellar-xdr': '22.1.0',
'num-integer': '0.1.46',
'num-traits': '0.2.19',
Expand All @@ -39,9 +39,9 @@ const REGISTRY: Record<string, string> = {
};

const RELEASE_NOTES: Record<string, string> = {
'soroban-sdk': 'Protocol 22 support, improved storage APIs, and security patches.',
'soroban-sdk': 'Protocol 26 support, improved storage APIs, and security patches.',
'stellar-xdr': 'Updated XDR definitions for Stellar Protocol 22.',
'soroban-auth': 'Improved authorization framework compatibility with Protocol 22.',
'soroban-auth': 'Improved authorization framework compatibility with Protocol 26.',
'serde': 'Performance improvements and new derive macro features.',
};

Expand Down
4 changes: 2 additions & 2 deletions backend/tests/dependency-update.routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Dependencies API - POST /dependencies/check', () => {
const sdk = res.body.dependencies.find((d: { name: string }) => d.name === 'soroban-sdk');
expect(sdk).toBeDefined();
expect(sdk.isOutdated).toBe(true);
expect(sdk.latestVersion).toBe('22.0.7');
expect(sdk.latestVersion).toBe('26.1.0');
});

it('rejects missing cargoToml with 400', async () => {
Expand Down Expand Up @@ -66,7 +66,7 @@ describe('Dependencies API - POST /dependencies/update', () => {
expect(res.body.status).toBe('success');
expect(res.body.updated).toContain('soroban-sdk');
expect(typeof res.body.suggestedCargoToml).toBe('string');
expect(res.body.suggestedCargoToml).toContain('"22.0.7"');
expect(res.body.suggestedCargoToml).toContain('"26.1.0"');
});

it('reports failure for non-existent dependencies', async () => {
Expand Down
6 changes: 3 additions & 3 deletions backend/tests/dependency-update.service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('checkDependencies', () => {
const sdk = result.dependencies.find((d) => d.name === 'soroban-sdk');
expect(sdk?.isOutdated).toBe(true);
expect(sdk?.currentVersion).toBe('21.7.6');
expect(sdk?.latestVersion).toBe('22.0.7');
expect(sdk?.latestVersion).toBe('26.1.0');
expect(sdk?.updateType).toBe('major');
});

Expand All @@ -72,7 +72,7 @@ describe('checkDependencies', () => {
});

it('returns 0 outdated when versions are already latest', async () => {
const latest = '[dependencies]\nsoroban-sdk = "22.0.7"\n';
const latest = '[dependencies]\nsoroban-sdk = "26.1.0"\n';
const result = await checkDependencies(latest);
expect(result.outdatedCount).toBe(0);
});
Expand All @@ -83,7 +83,7 @@ describe('updateDependencies', () => {
const result = await updateDependencies(SAMPLE_TOML, ['soroban-sdk']);
expect(result.updated).toContain('soroban-sdk');
expect(result.failed).not.toContain('soroban-sdk');
expect(result.suggestedCargoToml).toContain('"22.0.7"');
expect(result.suggestedCargoToml).toContain('"26.1.0"');
});

it('reports failure for dependency not in registry', async () => {
Expand Down
12 changes: 11 additions & 1 deletion contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,14 @@ members = [
"testnet_faucet_integration",
"zk_proof_verifier",
]
resolver = "2"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
rand = { version = "0.8", features = ["small_rng"] }
ed25519-dalek = { version = "2", default-features = false, features = ["std", "rand_core"] }
4 changes: 2 additions & 2 deletions contracts/auth_checker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/automated_testing_suite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/cicd_pipeline/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/commit_reveal_rng/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/content_management_system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
4 changes: 2 additions & 2 deletions contracts/continuous_bonding_curve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/course_proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/cross_chain_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/dao_governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/fractional_nft_vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/freelance-platform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/hackathon-team-matching/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/hello_world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/implementation_v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/implementation_v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/lending_pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/multisig_wallet_timelock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/parametric_insurance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/payment_gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
rand = { version = "0.8", features = ["small_rng"] }
4 changes: 2 additions & 2 deletions contracts/payment_streaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/pr_simulation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/quadratic_funding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/smart_vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/testnet_faucet_integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/zk_proof_verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk = "26.1.0"

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { version = "26.1.0", features = ["testutils"] }
2 changes: 1 addition & 1 deletion frontend/src/app/playground/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "21.7.6"
soroban-sdk = "26.1.0"
soroban-auth = "21.0.0"
stellar-xdr = "21.2.0"
num-integer = "0.1.44"
Expand Down
Loading