Stellar RPC - Resource limit alerting #1721
dmkozh
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently RPC only alerts users about the simulation budget being exceeded via simulation failure. Budget only enforces CPU and memory network limits. Besides the fact that this alerting is almost accidental (i.e. it's a runtime property, not an explicit alert), the error messaging is not very clear here either - in simulation the failure happens when a maximum transaction instruction limit has been exceeded, while during the real execution the same 'budget exceeded' failure happens when the instruction limit declared in the transaction has been exceeded.
This discussion is for figuring out a more consistent approach to all the limits, that makes it clear what exactly has been exceeded, and does so in a consistent fashion for all the network limits.
Here are some key inter-dependent discussion points that I think need to be resolved:
Beta Was this translation helpful? Give feedback.
All reactions