olas-operate-middleware 0.10.14__py3-none-any.whl → 0.10.15__py3-none-any.whl
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.
- {olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info}/METADATA +3 -2
- {olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info}/RECORD +7 -7
- {olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info}/WHEEL +1 -1
- operate/services/manage.py +12 -5
- operate/services/service.py +1 -1
- {olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info}/entry_points.txt +0 -0
- {olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info/licenses}/LICENSE +0 -0
{olas_operate_middleware-0.10.14.dist-info → olas_operate_middleware-0.10.15.dist-info}/RECORD
RENAMED
|
@@ -79,9 +79,9 @@ operate/services/__init__.py,sha256=isrThS-Ccu5Sc15JZgkN4uTAVaSg-NwUUSDeTyJEqLk,
|
|
|
79
79
|
operate/services/agent_runner.py,sha256=6tJePUJmlRxlIugT2fDaCJHSrQlDnl1t9pbg3-7EmCQ,7560
|
|
80
80
|
operate/services/deployment_runner.py,sha256=Su73o7cdH6fkQfj468K77J04a_TWiokJwbMyVQ25xko,27067
|
|
81
81
|
operate/services/health_checker.py,sha256=MuGZ0pQ7zyJVbNU9FJR5gR8zTE7z7kCH1h5Ampv9IC0,9837
|
|
82
|
-
operate/services/manage.py,sha256=
|
|
82
|
+
operate/services/manage.py,sha256=FxhL2Zm46DOuCBnp8C1_i9dCwq4x9Jpo0QFsEeLDcU0,118436
|
|
83
83
|
operate/services/protocol.py,sha256=FoJmHz5nukI01-VYtReMsIl3JT5RgZZSLX-mf9EXQ90,62903
|
|
84
|
-
operate/services/service.py,sha256
|
|
84
|
+
operate/services/service.py,sha256=-XM4BLNsgoTG8wgw5QsfvvC6TJfiZW-gC-Ela2HGx6g,39327
|
|
85
85
|
operate/services/utils/__init__.py,sha256=TvioaZ1mfTRUSCtrQoLNAp4WMVXyqEJqFJM4PxSQCRU,24
|
|
86
86
|
operate/services/utils/mech.py,sha256=W2x4dqodivNKXjWU-Brp40QhoUHsIMyNAO7-caMoR0Q,3821
|
|
87
87
|
operate/services/utils/tendermint.py,sha256=3h9nDb2Z89T0RwUr_AaVjqtymQmsu3u6DAVCfL_k1U0,25591
|
|
@@ -91,8 +91,8 @@ operate/utils/ssl.py,sha256=O5DrDoZD4T4qQuHP8GLwWUVxQ-1qXeefGp6uDJiF2lM,4308
|
|
|
91
91
|
operate/wallet/__init__.py,sha256=NGiozD3XhvkBi7_FaOWQ8x1thZPK4uGpokJaeDY_o2w,813
|
|
92
92
|
operate/wallet/master.py,sha256=jLFLcRgO6ADok2DigpK59PFJ4mnc_0H9a4RRioYzlvw,30811
|
|
93
93
|
operate/wallet/wallet_recovery_manager.py,sha256=sXEZyvFMePxQKf9NJg4HT90mPg4-7ZcTbvggMnKKzhA,7795
|
|
94
|
-
olas_operate_middleware-0.10.
|
|
95
|
-
olas_operate_middleware-0.10.
|
|
96
|
-
olas_operate_middleware-0.10.
|
|
97
|
-
olas_operate_middleware-0.10.
|
|
98
|
-
olas_operate_middleware-0.10.
|
|
94
|
+
olas_operate_middleware-0.10.15.dist-info/METADATA,sha256=Z8j_Lc1n0BzYOBbZubAlPJ_ibninNGogZjrTeT2WHaY,2058
|
|
95
|
+
olas_operate_middleware-0.10.15.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
96
|
+
olas_operate_middleware-0.10.15.dist-info/entry_points.txt,sha256=dM1g2I7ODApKQFcgl5J4NGA7pfBTo6qsUTXM-j2OLlw,44
|
|
97
|
+
olas_operate_middleware-0.10.15.dist-info/licenses/LICENSE,sha256=mdBDB-mWKV5Cz4ejBzBiKqan6Z8zVLAh9xwM64O2FW4,11339
|
|
98
|
+
olas_operate_middleware-0.10.15.dist-info/RECORD,,
|
operate/services/manage.py
CHANGED
|
@@ -1082,12 +1082,19 @@ class ServiceManager:
|
|
|
1082
1082
|
self.logger.info(f"{reuse_multisig=}")
|
|
1083
1083
|
|
|
1084
1084
|
is_recovery_module_enabled = (
|
|
1085
|
-
|
|
1086
|
-
ledger_api=sftxb.ledger_api,
|
|
1087
|
-
contract_address=service_safe_address,
|
|
1088
|
-
module_address=CONTRACTS[Chain(chain)]["recovery_module"],
|
|
1089
|
-
).get("enabled")
|
|
1085
|
+
True # Ensure is true for non-deployed multisigs
|
|
1090
1086
|
)
|
|
1087
|
+
if (
|
|
1088
|
+
service_safe_address is not None
|
|
1089
|
+
and service_safe_address != ZERO_ADDRESS
|
|
1090
|
+
):
|
|
1091
|
+
is_recovery_module_enabled = (
|
|
1092
|
+
registry_contracts.gnosis_safe.is_module_enabled(
|
|
1093
|
+
ledger_api=sftxb.ledger_api,
|
|
1094
|
+
contract_address=service_safe_address,
|
|
1095
|
+
module_address=CONTRACTS[Chain(chain)]["recovery_module"],
|
|
1096
|
+
).get("enabled")
|
|
1097
|
+
)
|
|
1091
1098
|
|
|
1092
1099
|
self.logger.info(f"{is_recovery_module_enabled=}")
|
|
1093
1100
|
|
operate/services/service.py
CHANGED
|
@@ -1080,7 +1080,7 @@ class Service(LocalResource):
|
|
|
1080
1080
|
Note that this method modifies os.environ. Consider if you need a backup of os.environ before using this method.
|
|
1081
1081
|
"""
|
|
1082
1082
|
for env_var, attributes in self.env_variables.items():
|
|
1083
|
-
os.environ[env_var] = str(attributes
|
|
1083
|
+
os.environ[env_var] = str(attributes.get("value", ""))
|
|
1084
1084
|
|
|
1085
1085
|
def update_env_variables_values(
|
|
1086
1086
|
self, env_var_to_value: t.Dict[str, t.Any], except_if_undefined: bool = False
|
|
File without changes
|
|
File without changes
|