ratio1 3.4.99__py3-none-any.whl → 3.4.101__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 +7 -1
- ratio1/const/evm_net.py +1 -1
- {ratio1-3.4.99.dist-info → ratio1-3.4.101.dist-info}/METADATA +1 -1
- {ratio1-3.4.99.dist-info → ratio1-3.4.101.dist-info}/RECORD +8 -8
- {ratio1-3.4.99.dist-info → ratio1-3.4.101.dist-info}/WHEEL +0 -0
- {ratio1-3.4.99.dist-info → ratio1-3.4.101.dist-info}/entry_points.txt +0 -0
- {ratio1-3.4.99.dist-info → ratio1-3.4.101.dist-info}/licenses/LICENSE +0 -0
ratio1/_ver.py
CHANGED
ratio1/base/generic_session.py
CHANGED
|
@@ -538,7 +538,13 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
538
538
|
message_callback : Callable[[dict, str, str, str, str], None]
|
|
539
539
|
The callback that will handle the message.
|
|
540
540
|
"""
|
|
541
|
-
dict_msg =
|
|
541
|
+
dict_msg_parsed, dict_msg = None, None
|
|
542
|
+
try:
|
|
543
|
+
dict_msg = json.loads(message)
|
|
544
|
+
except json.JSONDecodeError:
|
|
545
|
+
self.D("Failed to decode JSON message: {}".format(message), verbosity=2)
|
|
546
|
+
return
|
|
547
|
+
|
|
542
548
|
# parse the message
|
|
543
549
|
dict_msg_parsed = self.__parse_message(dict_msg)
|
|
544
550
|
if dict_msg_parsed is None:
|
ratio1/const/evm_net.py
CHANGED
|
@@ -567,7 +567,7 @@ EVM_NET_DATA = {
|
|
|
567
567
|
EvmNetData.DAUTH_MND_ADDR_KEY : "0x17B8934dc5833CdBa1eF42D13D65D677C4727748",
|
|
568
568
|
EvmNetData.DAUTH_PROXYAPI_ADDR_KEY : "0xFcF04c9A67330431Af75a546615E4881BD8bdC78",
|
|
569
569
|
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "0xCc7C4e0f4f25b57807F34227Fb446E68c8c36ce5",
|
|
570
|
-
EvmNetData.DAUTH_RPC_KEY : "https://base-sepolia.
|
|
570
|
+
EvmNetData.DAUTH_RPC_KEY : "https://base-sepolia-rpc.publicnode.com",
|
|
571
571
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-06-30 07:00:00",
|
|
572
572
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 1,
|
|
573
573
|
EvmNetData.EE_EPOCH_INTERVAL_SECONDS_KEY : 3600,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.101
|
|
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=TfhCgcGxyfsiDbJ1mx2faXqlllhgAWYMj9sM802Uwq8,332
|
|
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=Nn8vhCZ2bCA5zhO0P-M1HlPUiDY3TEsiqi695ILFZA4,194935
|
|
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
|
|
@@ -48,7 +48,7 @@ ratio1/const/apps.py,sha256=MD4SRTNId663D3SX78_GJa40BI_H1mdcNbL2gy_Hio0,827
|
|
|
48
48
|
ratio1/const/base.py,sha256=QIeRH6X-u8DbezQCGipI3isL1LGComBQC5hLedO1jrQ,6042
|
|
49
49
|
ratio1/const/comms.py,sha256=qEYX4ciYg8SYWSDZZTUYxzpR1--2a7UusrWzAq0hxo8,2259
|
|
50
50
|
ratio1/const/environment.py,sha256=632L5GrcNqF3-JhvrC6kXzXwLMcihRgMlOkLurnOwGY,1031
|
|
51
|
-
ratio1/const/evm_net.py,sha256=
|
|
51
|
+
ratio1/const/evm_net.py,sha256=1AWhqxaH0m_sC5W8CWBHiCxB88KXNyccR1b_8uMkDzw,19141
|
|
52
52
|
ratio1/const/formatter.py,sha256=AW3bWlqf39uaqV4BBUuW95qKYfF2OkkU4f9hy3kSVhM,200
|
|
53
53
|
ratio1/const/heartbeat.py,sha256=eVWuGIP5sAIYzQjOJUehmKlYHetoquSw-sTJwSKrHk8,3223
|
|
54
54
|
ratio1/const/misc.py,sha256=VDCwwpf5bl9ltx9rzT2WPVP8B3mZFRufU1tSS5MO240,413
|
|
@@ -109,8 +109,8 @@ ratio1/utils/comm_utils.py,sha256=4cS9llRr_pK_3rNgDcRMCQwYPO0kcNU7AdWy_LtMyCY,10
|
|
|
109
109
|
ratio1/utils/config.py,sha256=Elfkl7W4aDMvB5WZLiYlPXrecBncgTxb4hcKhQedMzI,10111
|
|
110
110
|
ratio1/utils/dotenv.py,sha256=_AgSo35n7EnQv5yDyu7C7i0kHragLJoCGydHjvOkrYY,2008
|
|
111
111
|
ratio1/utils/oracle_sync/oracle_tester.py,sha256=aJOPcZhtbw1XPqsFG4qYpfv2Taj5-qRXbwJzrPyeXDE,27465
|
|
112
|
-
ratio1-3.4.
|
|
113
|
-
ratio1-3.4.
|
|
114
|
-
ratio1-3.4.
|
|
115
|
-
ratio1-3.4.
|
|
116
|
-
ratio1-3.4.
|
|
112
|
+
ratio1-3.4.101.dist-info/METADATA,sha256=BVU5wfCAfmdkLik5OxkmamwQElMbvCs22_22XF0_u00,12256
|
|
113
|
+
ratio1-3.4.101.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
114
|
+
ratio1-3.4.101.dist-info/entry_points.txt,sha256=DR_olREzU1egwmgek3s4GfQslBi-KR7lXsd4ap0TFxE,46
|
|
115
|
+
ratio1-3.4.101.dist-info/licenses/LICENSE,sha256=cvOsJVslde4oIaTCadabXnPqZmzcBO2f2zwXZRmJEbE,11311
|
|
116
|
+
ratio1-3.4.101.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|