The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test-script): move the TinyWallet test module to v0.5.3
M3gA-Mind09e0ad8208c2
diff --git a/crates/openhuman-core/src/modules/wallet.rs b/crates/openhuman-core/src/modules/wallet.rsindex 79153afa32..d6a421ca76 100644--- a/crates/openhuman-core/src/modules/wallet.rs+++ b/crates/openhuman-core/src/modules/wallet.rs@@ -300,14 +300,14 @@ fn digest_is_pinned(record: &super::ModuleRecord, sha256: &str) -> bool {// official module without changing the confidential-call policy.//// This is the linux x86_64 library shipped inside- // tinywallet-module-0.5.1-ubuntu-22.04-x86_64.tar.gz. Its archive checksum+ // tinywallet-module-0.5.3-ubuntu-22.04-x86_64.tar.gz. Its archive checksum// remains in the registry above; the two digests intentionally cover// different bytes.- const TINYWALLET_0_5_1_UBUNTU_22_04_X86_64_LIBRARY_SHA256: &str =- "2bd70433707c44dbfe6b3cc3b4cc835299fe951fcb375b49c940d8d3fc1d4061";+ const TINYWALLET_0_5_3_UBUNTU_22_04_X86_64_LIBRARY_SHA256: &str =+ "d2e663e465c6c245cbf9b37c037ae655db7df0f93a0df9b7fa17a28027ebaa9d";release_archive_is_pinned- || sha256.eq_ignore_ascii_case(TINYWALLET_0_5_1_UBUNTU_22_04_X86_64_LIBRARY_SHA256)+ || sha256.eq_ignore_ascii_case(TINYWALLET_0_5_3_UBUNTU_22_04_X86_64_LIBRARY_SHA256)}/// Load the wallet module if it is not already serving.diff --git a/crates/openhuman-core/src/modules/wallet_tests.rs b/crates/openhuman-core/src/modules/wallet_tests.rsindex 0d9500c008..026fb13913 100644--- a/crates/openhuman-core/src/modules/wallet_tests.rs+++ b/crates/openhuman-core/src/modules/wallet_tests.rs@@ -163,6 +163,12 @@ mod attestation_guard {#[test]fn the_attested_linux_release_library_is_accepted() {assert!(digest_is_pinned(+ record(),+ "d2e663e465c6c245cbf9b37c037ae655db7df0f93a0df9b7fa17a28027ebaa9d"+ ));+ // The v0.5.1 library this constant used to name is no longer the+ // pinned release, so it must not be sent a key.+ assert!(!digest_is_pinned(record(),"2bd70433707c44dbfe6b3cc3b4cc835299fe951fcb375b49c940d8d3fc1d4061"));diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.shindex b843575d7e..31faa01dff 100755--- a/scripts/test-rust-with-mock.sh+++ b/scripts/test-rust-with-mock.sh@@ -82,31 +82,31 @@ case "$(uname -s):$(uname -m)" inmodule_ext=dylibif [ "$(sw_vers -productVersion | cut -d. -f1)" -ge 26 ]; thenwallet_platform=macos-26-arm64- wallet_sha256=4e517d4a3440c2aad852cf5ec23d12863dc9748ecad256dc1578b9f21f4f0ace+ wallet_sha256=6409e1bfcd542f4fba5d867bd6b06b094a24d8e9bd994aae46894dcd979d3291elsewallet_platform=macos-15-arm64- wallet_sha256=95e1f1905e0c358ae03b448c11b8c8a413d67951fd02b9f0d78f811f7e5e3037+ wallet_sha256=06d66492a7ba9b3793810ff9e644231deacf6fbdf9e32008fcef866f8228cbd2fi;;Darwin:x86_64)module_ext=dylibif [ "$(sw_vers -productVersion | cut -d. -f1)" -ge 26 ]; thenwallet_platform=macos-26-x86_64- wallet_sha256=94a6270d07aa0f0788312383552c1baec26ba2db6856c1ab425ddafc4d61b3bb+ wallet_sha256=3ad698d3f6ee549ee4c724717e78a2b16b5504ea4bea89af3ccf06cf3e7c88dcelsewallet_platform=macos-15-x86_64- wallet_sha256=55973b9a5b2c0cea8ddd380a3b9ece65c09485faeea2d1cc1e6846b8e888828a+ wallet_sha256=db4e6b2dae244059ef9bf3401faadb6d58bd6f70bb6279135944a41bb5e3b4f5fi;;Linux:x86_64)module_ext=sowallet_platform=ubuntu-22.04-x86_64- wallet_sha256=88b63685cab8a622416f24f1ad569153f249d6d74732ff33c79e4021cf64a611+ wallet_sha256=4410a0d88d49f3553c01ef6f0ced3a2997388d698d57d08bc129b82807e57016;;Linux:aarch64|Linux:arm64)module_ext=sowallet_platform=ubuntu-22.04-arm64- wallet_sha256=6c86be45fd260690a93f36024abc9d4f777c30233c70b0363bc23bd25dc4fdfb+ wallet_sha256=90e391b78ebb25650d7d9cff6440869e045298d1b4976e7d61b6b20b9ca8a3d4;;*)echo "Unsupported native-module test host: $(uname -s) $(uname -m)" >&2@@ -152,12 +152,12 @@ fi# artifacts are deliberately not treated as release-pinned recipients, so use# the checksum-pinned release archive and its accompanying `modules.toml`.wallet_dir="$REPO_ROOT/target/test-modules/tinywallet"-wallet_archive="$wallet_dir/tinywallet-module-0.5.1-$wallet_platform.tar.gz"+wallet_archive="$wallet_dir/tinywallet-module-0.5.3-$wallet_platform.tar.gz"if [ ! -f "$wallet_dir/libtinywallet_module.$module_ext" ]; thenecho "Downloading the pinned TinyWallet test module ..."mkdir -p "$wallet_dir"curl --fail --location --silent --show-error \- "https://github.com/tinyhumansai/tinywallet/releases/download/v0.5.1/$(basename "$wallet_archive")" \+ "https://github.com/tinyhumansai/tinywallet/releases/download/v0.5.3/$(basename "$wallet_archive")" \--output "$wallet_archive"# macOS ships a `sha256sum` that does not accept GNU's stdin check mode.if command -v shasum >/dev/null 2>&1; then