iwa 0.0.28__py3-none-any.whl → 0.0.29__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.
@@ -797,7 +797,10 @@ class OlasServiceImporter:
797
797
  signers = []
798
798
  for key in service.keys:
799
799
  if key.role == "agent":
800
- signers.append(key.address)
800
+ addr = key.address
801
+ if not addr.startswith("0x"):
802
+ addr = "0x" + addr
803
+ signers.append(addr)
801
804
  return signers
802
805
 
803
806
  def _get_owner_signers(self, service: DiscoveredService) -> List[str]:
@@ -806,7 +809,10 @@ class OlasServiceImporter:
806
809
  for key in service.keys:
807
810
  # We look for keys marked as owner/operator
808
811
  if key.role in ["owner", "operator"]:
809
- signers.append(key.address)
812
+ addr = key.address
813
+ if not addr.startswith("0x"):
814
+ addr = "0x" + addr
815
+ signers.append(addr)
810
816
  return signers
811
817
 
812
818
  def _import_discovered_service_config(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iwa
3
- Version: 0.0.28
3
+ Version: 0.0.29
4
4
  Summary: A secure, modular, and plugin-based framework for crypto agents and ops
5
5
  Requires-Python: <4.0,>=3.12
6
6
  Description-Content-Type: text/markdown
@@ -62,7 +62,7 @@ iwa/plugins/gnosis/tests/test_safe.py,sha256=hQHVHBWQhGnuvzvx4U9fOWEwASJWwql42q6
62
62
  iwa/plugins/olas/__init__.py,sha256=_NhBczzM61fhGYwGhnWfEeL8Jywyy_730GASe2BxzeQ,106
63
63
  iwa/plugins/olas/constants.py,sha256=iTFoO2QW3KbhL5k5sKsJxxyDytl9wVIb_9hAih55KrE,7728
64
64
  iwa/plugins/olas/events.py,sha256=SWD3wYdQ-l6dLUJSkfh_WsLmedH4Vsw_EvYXg7QC3yc,5970
65
- iwa/plugins/olas/importer.py,sha256=HvPHnY4pcHNm2Zr7ELYvFdzK-d52HM1Dm6PVvWhZSlQ,41570
65
+ iwa/plugins/olas/importer.py,sha256=KQr8YXTL9SzoEBTAezh_zmJrIJqDQA_yqy8WoBX6wyM,41796
66
66
  iwa/plugins/olas/mech_reference.py,sha256=CaSCpQnQL4F7wOG6Ox6Zdoy-uNEQ78YBwVLILQZKL8Q,5782
67
67
  iwa/plugins/olas/models.py,sha256=36N2Wuia7DVfpekJJ2pXPeS0lqhe5ED-Hjdox9YQG2c,5230
68
68
  iwa/plugins/olas/plugin.py,sha256=zOPWyoVkSVh6guJ3TZj5enJFuiIbP3fRM8FkziPB-c0,15606
@@ -158,7 +158,7 @@ iwa/web/tests/test_web_endpoints.py,sha256=C264MH-CTyDW4GLUrTXBgLJKUk4-89pFAScBd
158
158
  iwa/web/tests/test_web_olas.py,sha256=0CVSsrncOeJ3x0ECV7mVLQV_CXZRrOqGiVjgLIi6hZ8,16308
159
159
  iwa/web/tests/test_web_swap.py,sha256=7A4gBJFL01kIXPtW1E1J17SCsVc_0DmUn-R8kKrnnVA,2974
160
160
  iwa/web/tests/test_web_swap_coverage.py,sha256=zGNrzlhZ_vWDCvWmLcoUwFgqxnrp_ACbo49AtWBS_Kw,5584
161
- iwa-0.0.28.dist-info/licenses/LICENSE,sha256=eIubm_IlBHPYRQlLNZKbBNKhJUUP3JH0A2miZUhAVfI,1078
161
+ iwa-0.0.29.dist-info/licenses/LICENSE,sha256=eIubm_IlBHPYRQlLNZKbBNKhJUUP3JH0A2miZUhAVfI,1078
162
162
  tests/legacy_cow.py,sha256=oOkZvIxL70ReEoD9oHQbOD5GpjIr6AGNHcOCgfPlerU,8389
163
163
  tests/legacy_safe.py,sha256=AssM2g13E74dNGODu_H0Q0y412lgqsrYnEzI97nm_Ts,2972
164
164
  tests/legacy_transaction_retry_logic.py,sha256=D9RqZ7DBu61Xr2djBAodU2p9UE939LL-DnQXswX5iQk,1497
@@ -211,8 +211,8 @@ tests/test_utils.py,sha256=vkP49rYNI8BRzLpWR3WnKdDr8upeZjZcs7Rx0pjbQMo,1292
211
211
  tests/test_workers.py,sha256=MInwdkFY5LdmFB3o1odIaSD7AQZb3263hNafO1De5PE,2793
212
212
  tools/create_and_stake_service.py,sha256=1xwy_bJQI1j9yIQ968Oc9Db_F6mk1659LuuZntTASDE,3742
213
213
  tools/verify_drain.py,sha256=PkMjblyOOAuQge88FwfEzRtCYeEtJxXhPBmtQYCoQ-8,6743
214
- iwa-0.0.28.dist-info/METADATA,sha256=400-yQdPxQzEfg4h9h4C6UrD5gcjUYp0DhY4T965xnM,7295
215
- iwa-0.0.28.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
216
- iwa-0.0.28.dist-info/entry_points.txt,sha256=nwB6kscrfA7M00pYmL2j-sBH6eF6h2ga9IK1BZxdiyQ,241
217
- iwa-0.0.28.dist-info/top_level.txt,sha256=kedS9cRUbm4JE2wYeabIXilhHjN8KCw0IGbqqqsw0Bs,16
218
- iwa-0.0.28.dist-info/RECORD,,
214
+ iwa-0.0.29.dist-info/METADATA,sha256=zgMk6FzzMD7GUiUl9TBDKFuRvoaRgOYxnWOWt3s14AU,7295
215
+ iwa-0.0.29.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
216
+ iwa-0.0.29.dist-info/entry_points.txt,sha256=nwB6kscrfA7M00pYmL2j-sBH6eF6h2ga9IK1BZxdiyQ,241
217
+ iwa-0.0.29.dist-info/top_level.txt,sha256=kedS9cRUbm4JE2wYeabIXilhHjN8KCw0IGbqqqsw0Bs,16
218
+ iwa-0.0.29.dist-info/RECORD,,
File without changes