cartha-cli 1.0.3__tar.gz → 1.0.4__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.
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/PKG-INFO +1 -1
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/prove_lock.py +9 -9
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/pyproject.toml +1 -1
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/.github/workflows/README.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/.github/workflows/ci.yml +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/.gitignore +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/.ruff.toml +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/CONTRIBUTING.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/LICENSE +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/Makefile +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/README.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/__init__.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/bt.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/__init__.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/common.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/config.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/health.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/help.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/miner_password.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/miner_status.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/pair_status.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/pools.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/register.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/shared_options.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/commands/version.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/config.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/display.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/eth712.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/main.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/pair.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/testnet/README.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/testnet/__init__.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/testnet/pool_ids.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/utils.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/verifier.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/cartha_cli/wallet.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/docs/COMMANDS.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/docs/FEEDBACK.md +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/tests/conftest.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/tests/test_cli.py +0 -0
- {cartha_cli-1.0.3 → cartha_cli-1.0.4}/uv.lock +0 -0
|
@@ -383,24 +383,24 @@ def prove_lock(
|
|
|
383
383
|
auto_chain_id = None
|
|
384
384
|
try:
|
|
385
385
|
auto_chain_id = pool_id_to_chain_id(pool_id)
|
|
386
|
-
except NameError:
|
|
386
|
+
except (NameError, AttributeError):
|
|
387
387
|
# Function not available - this shouldn't happen if imports worked
|
|
388
388
|
# But handle gracefully by trying to import it
|
|
389
389
|
try:
|
|
390
|
-
from testnet.pool_ids import pool_id_to_chain_id
|
|
390
|
+
from ..testnet.pool_ids import pool_id_to_chain_id
|
|
391
391
|
auto_chain_id = pool_id_to_chain_id(pool_id)
|
|
392
|
-
except ImportError:
|
|
392
|
+
except (ImportError, ModuleNotFoundError):
|
|
393
393
|
pass
|
|
394
394
|
|
|
395
395
|
if not auto_chain_id:
|
|
396
396
|
# Fallback: try to get from vault address
|
|
397
397
|
try:
|
|
398
398
|
auto_chain_id = vault_address_to_chain_id(vault)
|
|
399
|
-
except NameError:
|
|
399
|
+
except (NameError, AttributeError):
|
|
400
400
|
try:
|
|
401
|
-
from testnet.pool_ids import vault_address_to_chain_id
|
|
401
|
+
from ..testnet.pool_ids import vault_address_to_chain_id
|
|
402
402
|
auto_chain_id = vault_address_to_chain_id(vault)
|
|
403
|
-
except ImportError:
|
|
403
|
+
except (ImportError, ModuleNotFoundError):
|
|
404
404
|
pass
|
|
405
405
|
|
|
406
406
|
if auto_chain_id:
|
|
@@ -431,11 +431,11 @@ def prove_lock(
|
|
|
431
431
|
expected_chain_id = None
|
|
432
432
|
try:
|
|
433
433
|
expected_chain_id = vault_address_to_chain_id(vault)
|
|
434
|
-
except NameError:
|
|
434
|
+
except (NameError, AttributeError):
|
|
435
435
|
try:
|
|
436
|
-
from testnet.pool_ids import vault_address_to_chain_id
|
|
436
|
+
from ..testnet.pool_ids import vault_address_to_chain_id
|
|
437
437
|
expected_chain_id = vault_address_to_chain_id(vault)
|
|
438
|
-
except ImportError:
|
|
438
|
+
except (ImportError, ModuleNotFoundError):
|
|
439
439
|
pass
|
|
440
440
|
|
|
441
441
|
if expected_chain_id and expected_chain_id != chain:
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|