#invokeHostFunctionResourceLimitExceeded

6 messages · Page 1 of 1 (latest)

mossy mountain
#

I got an XDR transaction result wiht this XDR (AAAAAAADckH/////AAAAAQAAAAAAAAAY/////QAAAAA=) :

feeCharged: 225857
result: [txFailed]
results: Array[1]
[0]: [opInner]
tr: [invokeHostFunction]
invokeHostFunctionResult: [invokeHostFunctionResourceLimitExceeded]
ext: [undefined]

How can I know exactly what is invokeHostFunctionResourceLimitExceeded ?

Is there any docs with this result types?

gaunt hedge
#

It means that it went over budget

mossy mountain
#

so printing env.budget() on my tests gets me this result :

=======================================================
Cpu limit: 100000000; used: 3258799
Mem limit: 104857600; used: 237708

Does this means this execution would cost aproximately 3_258_799 + 237_708 stroops ? it does seem a bit high.
Does the network itself has a hard limit per execution ?