From b2eda1dd8112e42764410759de305bf0e2a1f542 Mon Sep 17 00:00:00 2001 From: Andrew Low Date: Fri, 1 Mar 2024 16:52:29 -0500 Subject: [PATCH] [abi analyzer] address comment --- analyzer/evmabibackfill/evm_abi_backfill.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/analyzer/evmabibackfill/evm_abi_backfill.go b/analyzer/evmabibackfill/evm_abi_backfill.go index 81b1157af..053ade6a2 100644 --- a/analyzer/evmabibackfill/evm_abi_backfill.go +++ b/analyzer/evmabibackfill/evm_abi_backfill.go @@ -185,8 +185,9 @@ func (p *processor) parseTxCall(tx *abiEncodedTx, contractAbi abi.ABI) (*string, return &method.RawName, txArgs, nil } -// Attempts to parse the transaction revert reason into the error name and args -// as defined by the abi of the contract that was called. +// Attempts to parse the transaction revert reason into the error name (or plaintext message; +// see chain.runtime_transactions.error_message in DB) and args as defined by the abi of the +// contract that was called. func (p *processor) parseTxErr(tx *abiEncodedTx, contractAbi abi.ABI) (*string, []*abiEncodedArg, error) { var abiErrMsg string var abiErr *abi.Error