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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions contracts/shipment/src/budget_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ fn bench_create_shipments_batch() {
inputs.push_back(crate::ShipmentInput {
receiver: Address::generate(&env),
carrier: Address::generate(&env),
token_address: token_contract.clone(),
data_hash: BytesN::from_array(&env, &[i + 1; 32]),
payment_milestones: SorobanVec::new(&env),
deadline,
Expand Down
2 changes: 0 additions & 2 deletions contracts/shipment/src/e2e_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Run: cargo test --lib e2e_test
// =============================================================================

#![cfg(test)]

extern crate std;

use crate::{test_utils, NavinShipment, NavinShipmentClient, ShipmentStatus};
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_escrow_arithmetic.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Escrow Arithmetic Fuzzing Harness
//!
//! Property-based fuzz tests for escrow arithmetic correctness,
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_escrow_lifecycle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Escrow Lifecycle Fuzzing Harness
//!
//! Property-based fuzz tests for the complete escrow lifecycle:
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_milestone_releases.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Milestone Releases Fuzzing Harness
//!
//! Property-based fuzz tests for partial milestone-based escrow releases.
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_rbac_authorization.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # RBAC Authorization Fuzzing Harness
//!
//! Property-based fuzz tests for role-based access control authorization checks.
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_role_assignment.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Role Assignment Fuzzing Harness
//!
//! Property-based fuzz tests for role assignment, revocation, and suspension.
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_storage_operations.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Storage Operations Fuzzing Harness
//!
//! Property-based fuzz tests for Soroban persistent/instance storage operations.
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_ttl_management.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # TTL Management Fuzzing Harness
//!
//! Property-based fuzz tests for Soroban TTL (Time-To-Live) storage management.
Expand Down
1 change: 0 additions & 1 deletion contracts/shipment/src/fuzz_wallet_auth_integration.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg(test)]
//! # Wallet-Signed Auth Integration Tests
//!
//! End-to-end integration tests approximating wallet-signed invocation behavior
Expand Down
2 changes: 0 additions & 2 deletions contracts/shipment/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#![no_std]
#![allow(clippy::too_many_arguments)]

extern crate alloc;

use soroban_sdk::{
contract, contractimpl, symbol_short, xdr::ToXdr, Address, BytesN, Env, IntoVal, Map, Symbol,
Vec,
Expand Down
Loading
Loading