• 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
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
go Loading commit data...
infra/op-replica Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
technical-documents Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...