ratio1 3.4.61__py3-none-any.whl → 3.4.63__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 +1 -1
- ratio1/base/generic_session.py +5 -1
- ratio1/const/evm_net.py +1 -1
- {ratio1-3.4.61.dist-info → ratio1-3.4.63.dist-info}/METADATA +1 -1
- {ratio1-3.4.61.dist-info → ratio1-3.4.63.dist-info}/RECORD +8 -8
- {ratio1-3.4.61.dist-info → ratio1-3.4.63.dist-info}/WHEEL +0 -0
- {ratio1-3.4.61.dist-info → ratio1-3.4.63.dist-info}/entry_points.txt +0 -0
- {ratio1-3.4.61.dist-info → ratio1-3.4.63.dist-info}/licenses/LICENSE +0 -0
ratio1/_ver.py
CHANGED
ratio1/base/generic_session.py
CHANGED
|
@@ -117,7 +117,8 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
117
117
|
use_home_folder=True,
|
|
118
118
|
eth_enabled=True,
|
|
119
119
|
auto_configuration=True,
|
|
120
|
-
debug_env=False,
|
|
120
|
+
debug_env=False,
|
|
121
|
+
evm_network=None,
|
|
121
122
|
**kwargs
|
|
122
123
|
) -> None:
|
|
123
124
|
"""
|
|
@@ -270,6 +271,7 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
270
271
|
self._dct_node_last_seen_time = {} # key is node address
|
|
271
272
|
self.__dct_node_address_to_alias = {}
|
|
272
273
|
self.__dct_node_eth_addr_to_node_addr = {}
|
|
274
|
+
self.__selected_evm_network = evm_network
|
|
273
275
|
|
|
274
276
|
self._dct_netconfig_pipelines_requests = {}
|
|
275
277
|
|
|
@@ -1200,6 +1202,8 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
1200
1202
|
user_config=user_config,
|
|
1201
1203
|
eth_enabled=eth_enabled,
|
|
1202
1204
|
)
|
|
1205
|
+
if self.__selected_evm_network is not None:
|
|
1206
|
+
self.bc_engine.reset_network(self.__selected_evm_network)
|
|
1203
1207
|
except:
|
|
1204
1208
|
raise ValueError("Failure in private blockchain setup:\n{}".format(traceback.format_exc()))
|
|
1205
1209
|
|
ratio1/const/evm_net.py
CHANGED
|
@@ -420,7 +420,7 @@ EVM_NET_DATA = {
|
|
|
420
420
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-05-23 16:00:00",
|
|
421
421
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 24,
|
|
422
422
|
EvmNetData.EE_EPOCH_INTERVAL_SECONDS_KEY : 3600,
|
|
423
|
-
EvmNetData.EE_SUPERVISOR_MIN_AVAIL_PRC_KEY : 0.
|
|
423
|
+
EvmNetData.EE_SUPERVISOR_MIN_AVAIL_PRC_KEY : 0.7,
|
|
424
424
|
EvmNetData.EE_ORACLE_API_URL_KEY : "https://oracle.ratio1.ai",
|
|
425
425
|
EvmNetData.EE_DEEPLOY_API_URL_KEY : "https://deeploy-api.ratio1.ai",
|
|
426
426
|
EvmNetData.DAUTH_GET_ORACLES_ABI : _DAUTH_ABI_GET_ORACLES,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.63
|
|
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=
|
|
2
|
+
ratio1/_ver.py,sha256=h1c9I8R1V4h2oEeauinxPlBeE67TsUImF1E3h6NseM0,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=
|
|
7
|
+
ratio1/base/generic_session.py,sha256=fnISlmdyTh5VlmOUNvTGW2TkA0REYrcC7tSMf5Hlc_k,186722
|
|
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
|
|
@@ -42,7 +42,7 @@ ratio1/const/apps.py,sha256=0NiuoAPak0HjEULF3fs3xaUH8IRSZ0i4fZw7T2fEd_g,785
|
|
|
42
42
|
ratio1/const/base.py,sha256=kYCV2O1IBiu28a18RnKyq24ie4eJOJivhYrMPRIOG-Y,6022
|
|
43
43
|
ratio1/const/comms.py,sha256=qEYX4ciYg8SYWSDZZTUYxzpR1--2a7UusrWzAq0hxo8,2259
|
|
44
44
|
ratio1/const/environment.py,sha256=632L5GrcNqF3-JhvrC6kXzXwLMcihRgMlOkLurnOwGY,1031
|
|
45
|
-
ratio1/const/evm_net.py,sha256=
|
|
45
|
+
ratio1/const/evm_net.py,sha256=MxYOKo9PokDm5KF5jrOJcbM77G8GJq7KZGP2z6kftJo,15510
|
|
46
46
|
ratio1/const/formatter.py,sha256=AW3bWlqf39uaqV4BBUuW95qKYfF2OkkU4f9hy3kSVhM,200
|
|
47
47
|
ratio1/const/heartbeat.py,sha256=6l3wcpExs1KQE_2lvkJb7q4Q8gqs1KWTThO_uJ1DRa0,2667
|
|
48
48
|
ratio1/const/misc.py,sha256=VDCwwpf5bl9ltx9rzT2WPVP8B3mZFRufU1tSS5MO240,413
|
|
@@ -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.
|
|
107
|
-
ratio1-3.4.
|
|
108
|
-
ratio1-3.4.
|
|
109
|
-
ratio1-3.4.
|
|
110
|
-
ratio1-3.4.
|
|
106
|
+
ratio1-3.4.63.dist-info/METADATA,sha256=xBir5wLNq-5yftwaF5rwxbfcDUSfV6wPYwi1W5jSwdY,12255
|
|
107
|
+
ratio1-3.4.63.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
108
|
+
ratio1-3.4.63.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
|
|
109
|
+
ratio1-3.4.63.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
|
110
|
+
ratio1-3.4.63.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|