ratio1 3.4.73__py3-none-any.whl → 3.4.74__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.
ratio1/_ver.py CHANGED
@@ -1,4 +1,4 @@
1
- __VER__ = "3.4.73"
1
+ __VER__ = "3.4.74"
2
2
 
3
3
  if __name__ == "__main__":
4
4
  with open("pyproject.toml", "rt") as fd:
@@ -4931,8 +4931,9 @@ class GenericSession(BaseDecentrAIObject):
4931
4931
 
4932
4932
  lst_plugin_instance_data.append({
4933
4933
  'Node' : node,
4934
+ 'Node Alias' : self.get_node_alias(node),
4934
4935
  'Owner' : pipeline_owner,
4935
- 'Alias' : pipeline_alias,
4936
+ 'Owner Alias' : pipeline_alias,
4936
4937
  'App': pipeline_name,
4937
4938
  'Plugin': instance.signature,
4938
4939
  'Id': instance.instance_id,
ratio1/bc/evm.py CHANGED
@@ -1400,9 +1400,7 @@ class _EVMMixin:
1400
1400
 
1401
1401
  # Estimate gas fees for the token transfer.
1402
1402
  gas_price = w3vars.w3.eth.gas_price # This fetches the current suggested gas price from the network.
1403
- estimated_gas = poai_manager_contract.functions.submitNodeUpdate(job_id, nodes).estimate_gas(
1404
- {'from': self.eth_address}
1405
- )
1403
+ estimated_gas = 750_000 # Have enough gas to cover all the actions if consensus is reached
1406
1404
  gas_cost = estimated_gas * gas_price
1407
1405
 
1408
1406
  # Check that the sender's ETH balance can cover gas costs plus an extra buffer.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ratio1
3
- Version: 3.4.73
3
+ Version: 3.4.74
4
4
  Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
5
5
  Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
6
6
  Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
@@ -1,10 +1,10 @@
1
1
  ratio1/__init__.py,sha256=YimqgDbjLuywsf8zCWE0EaUXH4MBUrqLxt0TDV558hQ,632
2
- ratio1/_ver.py,sha256=ZKAtWOkg-rbbkFrc3OzSZL9VAb6xFD5Beig2GjXBi30,331
2
+ ratio1/_ver.py,sha256=48StpM_5Rb4CvBXrik_XpWr7S-QsUNfkFpXCSjPF-Bw,331
3
3
  ratio1/base_decentra_object.py,sha256=iXvAAf6wPnGWzeeiRfwLojVoan-m1e_VsyPzjUQuENo,4492
4
4
  ratio1/plugins_manager_mixin.py,sha256=X1JdGLDz0gN1rPnTN_5mJXR8JmqoBFQISJXmPR9yvCo,11106
5
5
  ratio1/base/__init__.py,sha256=hACh83_cIv7-PwYMM3bQm2IBmNqiHw-3PAfDfAEKz9A,259
6
6
  ratio1/base/distributed_custom_code_presets.py,sha256=cvz5R88P6Z5V61Ce1vHVVh8bOkgXd6gve_vdESDNAsg,2544
7
- ratio1/base/generic_session.py,sha256=3sFuzHOSLwB5AG627-OOORkF29NPTDQMvDP3emKOn68,186773
7
+ ratio1/base/generic_session.py,sha256=OVy70hYo-7zD708i996DVJu6NLeYNZ65-_P2wueTkc8,186836
8
8
  ratio1/base/instance.py,sha256=oQvwzzRvir7851wyhDx_BwN6y_VgsNWwYo53vN33QI4,21914
9
9
  ratio1/base/pipeline.py,sha256=szoHrk1qBdY6NKPUk3tUTsJx3XzYp5C2GTOlzRiQi48,62489
10
10
  ratio1/base/plugin_template.py,sha256=Gs438cSkhvxPujE4CRH_32pcuZaVwI9kia8E4VDRpSU,138794
@@ -17,7 +17,7 @@ ratio1/bc/__init__.py,sha256=BI5pcqHdhwnMdbWTYDLW1cVP_844VtLra-lz7xprgsk,171
17
17
  ratio1/bc/base.py,sha256=g7tARNgi_0N1p9HpvqRDWDVYxuqU7W6S0q3ARC6oxKk,45870
18
18
  ratio1/bc/chain.py,sha256=HCTQGnmuKqTvUo95OKdg8rL2jhKfSMwrich2e_7Nyms,2336
19
19
  ratio1/bc/ec.py,sha256=FwlkWmJvQ9aHuf_BZX1CWSUAxw6OZ9jBparLIWcs_e4,18933
20
- ratio1/bc/evm.py,sha256=pA2kpUOmQiuCVyX0whMc_HwUW0shCh2MR_yxDvvpBjE,51543
20
+ ratio1/bc/evm.py,sha256=F-tBJlM_o_-fFipUjEfPWk4AKkyNSta4wcxCpECPWSk,51497
21
21
  ratio1/certs/51.15.142.167.crt,sha256=rLxkwDIQm-u6Kw570NmdSFgjSChcdSJvXPxr4Mj-EU8,1167
22
22
  ratio1/certs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  ratio1/certs/a0d9818f.ala.eu-central-1.emqxsl.com.crt,sha256=y-6io0tseyx9-a4Pmde1z1gPULtJNSYUpG_YFkYaMKU,1337
@@ -103,8 +103,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
103
103
  ratio1/utils/config.py,sha256=Elfkl7W4aDMvB5WZLiYlPXrecBncgTxb4hcKhQedMzI,10111
104
104
  ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
105
105
  ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
106
- ratio1-3.4.73.dist-info/METADATA,sha256=vcHregpGtmgePil-gjqS4-ABKzBvWF5Fyf0PFsiuh1I,12255
107
- ratio1-3.4.73.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
- ratio1-3.4.73.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
- ratio1-3.4.73.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
- ratio1-3.4.73.dist-info/RECORD,,
106
+ ratio1-3.4.74.dist-info/METADATA,sha256=b3OzQ7aaE_hNzRbBu5n7KiUBOcGe-C4BtKK3XMfbe3o,12255
107
+ ratio1-3.4.74.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
108
+ ratio1-3.4.74.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
109
+ ratio1-3.4.74.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
110
+ ratio1-3.4.74.dist-info/RECORD,,