Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(storage): map tinywallet collections to collection specs

Steven Enamakelafd487cc0edb
diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rs
index 647da79f78..0494e3ee25 100644
--- a/crates/openhuman-core/src/storage/schema.rs
+++ b/crates/openhuman-core/src/storage/schema.rs
@@ -59,7 +59,11 @@ fn declared_collections() -> Vec<CollectionSpec> {
collections.extend(tinyjuice_bus::storage::collections());
}
#[cfg(feature = "web3")]
- collections.extend(tinywallet_bus::storage::collections());
+ collections.extend(
+ tinywallet_bus::storage::collections()
+ .into_iter()
+ .map(|collection| CollectionSpec::new(collection.name)),
+ );
#[cfg(feature = "tinymemes")]
collections.extend(tinymemes_bus::storage::collections());
#[cfg(feature = "inbound-queues")]
@@ -91,7 +95,12 @@ pub fn module_collections(owner: &str) -> Vec<CollectionSpec> {
}
#[cfg(feature = "web3")]
if owner == "wallet" {
- return module_owned_collections(tinywallet_bus::storage::collections());
+ return module_owned_collections(
+ tinywallet_bus::storage::collections()
+ .into_iter()
+ .map(|collection| CollectionSpec::new(collection.name))
+ .collect(),
+ );
}
#[cfg(feature = "tinymemes")]
if owner == "memes" {
diff --git a/vendor/tinyconnectors b/vendor/tinyconnectors
index 3335e29a0b..8fbe8b3853 160000
--- a/vendor/tinyconnectors
+++ b/vendor/tinyconnectors
@@ -1 +1 @@
-Subproject commit 3335e29a0b3ee33fbce0825c393f89c6bd47b1f4
+Subproject commit 8fbe8b3853d6af94eb933122271c54afa22afd21
diff --git a/vendor/tinywallet b/vendor/tinywallet
index eb41037c9b..2da01628df 160000
--- a/vendor/tinywallet
+++ b/vendor/tinywallet
@@ -1 +1 @@
-Subproject commit eb41037c9b366cb272751963333c3e6ea93ac966
+Subproject commit 2da01628dfbdcd5a71f1c37c6156df22dd66df49