Runtimes should expose a CheckTx API #1555
Labels
c:runtime/compute
Category: runtime compute worker
c:runtime
Category: runtime
s:needs adr
Needs a design document, discussion and decision (ADR)
Runtimes should expose a CheckTx API that allows the worker host to request runtime-specific light-weight transaction checks and immediately reject transactions if these checks fail (similar to Tendermint's CheckTx).
This can be used by the leader to reject transactions early before dispatching them to the compute committee. It may make sense to use a separate runtime instance to perform these checks to not block the main runtime from doing work while performing checks.
The text was updated successfully, but these errors were encountered: