Reduce duplication in implementations of `ApplyTx` across eras
by extracting the shared logic in helpers
by extracting the shared logic in helpers
so it can be reused in Alonzo
in `mkStAnnTx`
to replace `applyTxValidation`, operating on `ValidatedTx`. Define `applyTxValidation` in terms of `applyTxWithValidation`
for more per-era control over revalidation of transactions
Signed-off-by: Eric Torreborre <[email protected]>
Catch `IOError`s and PingClientError`s and return an `Either PingClientError` ()`