Every call path that can result in a network-dependent explosion
should be handled instead of assumed OK.
This commit is contained in:
2026-05-16 16:22:35 +09:00
parent 903a32931d
commit c6486408cb
+6 -1
View File
@@ -216,7 +216,12 @@ return_sizer(Parent, J, FunIlk, ReturnType) ->
call_param_sizer(Frame, J) ->
{ok, Height} = hz:top_height(),
case hz:top_height() of
{ok, Height} -> call_param_sizer(Frame, J, Height);
Error -> handle_troubling(State, Error)
end.
call_param_sizer(Frame, J, Height) ->
DefTTL = Height + 10000,
DefGasP = hz:min_gas_price(),
DefGas = 5000000,