File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
async_substrate_interface Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2257,6 +2257,9 @@ def _do_runtime_call_old(
22572257 params : Optional [Union [list , dict ]] = None ,
22582258 block_hash : Optional [str ] = None ,
22592259 ) -> ScaleType :
2260+ logging .debug (
2261+ f"Decoding old runtime call: { api } .{ method } with params: { params } at block hash: { block_hash } "
2262+ )
22602263 runtime_call_def = _TYPE_REGISTRY ["runtime_api" ][api ]["methods" ][method ]
22612264
22622265 # Encode params
@@ -2301,6 +2304,7 @@ def _as_dict(obj):
23012304 # Get correct type
23022305 result_decoded = runtime_call_def ["decoder" ](bytes (result_bytes ))
23032306 as_dict = _as_dict (result_decoded )
2307+ logging .debug ("Decoded old runtime call result: " , as_dict )
23042308 result_obj = ScaleObj (as_dict )
23052309
23062310 return result_obj
You can’t perform that action at this time.
0 commit comments