Ran out of free wasm instances, when using runtime_api
#6436
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
In the Hyperbridge node, we provide an RPC for querying ISMP events which calls into the runtime using the runtime api.
https://github.com/polytope-labs/hyperbridge/blob/main/modules/ismp/pallets/rpc/src/lib.rs#L423
The problem is if this RPC gets called with a very large block range or perhaps too frequently, users start to observe the following error:
Which eventually causes the node to fall out of sync.
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: