I am creating a mechanism to do the feeless transaction. Even though I have implemented the feeless transaction, if the user is not eligible to do the feeless transaction, the user can still call the extrinsic and maybe crash the node. Is there any way we can add the checks before the transaction goes into the transaction pool?
1 Answer
if the user is not eligible to do the feeless transaction, the user can still call the extrinsic and maybe crash the node.
In this case, the validation itself will fail. This should not cause the node to crash.
#[pallet::feeless_if]
?