• Conner Fromknecht's avatar
    feat: txmgr return ErrReverted if confirmed tx reverts · 6856b215
    Conner Fromknecht authored
    Currently the txmgr treats confirmation of a transaction as successful
    if it achieves the proper confirmation depth, however it fails to
    acknowledge the possibility that the transaction reverts. Thus to an
    external caller the transaction silently succeeds.
    
    This commit now inspects the receipt and returns an ErrReverted failure
    in the event that receipt.Status is not 1. This allows higher level
    applications to add logging/telemetry or take action on these events.
    6856b215
Name
Last commit
Last update
..
dial Loading commit data...
drivers Loading commit data...
metrics Loading commit data...
mock Loading commit data...
txmgr Loading commit data...
.gitignore Loading commit data...
batch_submitter.go Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
sentry_log.go Loading commit data...
service.go Loading commit data...