hippius 0.2.27__tar.gz → 0.2.28__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hippius-0.2.27 → hippius-0.2.28}/PKG-INFO +1 -1
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/__init__.py +1 -1
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/substrate.py +5 -0
- {hippius-0.2.27 → hippius-0.2.28}/pyproject.toml +1 -1
- {hippius-0.2.27 → hippius-0.2.28}/README.md +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/cli.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/cli_assets.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/cli_handlers.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/cli_parser.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/cli_rich.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/client.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/config.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/db/README.md +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/db/env.db.template +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/db/migrations/20241201000001_create_key_storage_tables.sql +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/db/setup_database.sh +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/db_utils.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/errors.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/ipfs.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/ipfs_core.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/key_storage.py +0 -0
- {hippius-0.2.27 → hippius-0.2.28}/hippius_sdk/utils.py +0 -0
@@ -26,7 +26,7 @@ from hippius_sdk.config import (
|
|
26
26
|
from hippius_sdk.ipfs import IPFSClient, S3PublishResult, S3DownloadResult
|
27
27
|
from hippius_sdk.utils import format_cid, format_size, hex_to_ipfs_cid
|
28
28
|
|
29
|
-
__version__ = "0.2.
|
29
|
+
__version__ = "0.2.28"
|
30
30
|
__all__ = [
|
31
31
|
"HippiusClient",
|
32
32
|
"IPFSClient",
|
@@ -1264,6 +1264,8 @@ class SubstrateClient:
|
|
1264
1264
|
module="SubAccount", storage_function="SubAccount", params=[account_id]
|
1265
1265
|
)
|
1266
1266
|
|
1267
|
+
print(f"Got SubAccount result {result=}")
|
1268
|
+
|
1267
1269
|
# Check if the result exists and return the value
|
1268
1270
|
if result and result.value:
|
1269
1271
|
return result.value
|
@@ -1286,6 +1288,7 @@ class SubstrateClient:
|
|
1286
1288
|
result = self._substrate.query(
|
1287
1289
|
module="Credits", storage_function="FreeCredits", params=[account_id]
|
1288
1290
|
)
|
1291
|
+
print(f"Got FreeCredits result {result=}")
|
1289
1292
|
|
1290
1293
|
# Return the u128 value (converted to int for Python compatibility)
|
1291
1294
|
return int(result.value) if result and result.value is not None else 0
|
@@ -1307,6 +1310,8 @@ class SubstrateClient:
|
|
1307
1310
|
storage_function="SubAccountRole",
|
1308
1311
|
params=[account_id],
|
1309
1312
|
)
|
1313
|
+
print(f"Got SubAccountRole result {result=}")
|
1314
|
+
|
1310
1315
|
return result.value
|
1311
1316
|
except Exception as e:
|
1312
1317
|
print(f"Error querying SubAccountRole: {e}")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|