Skip to content

Commit

Permalink
[abi analyzer] address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew7234 committed Mar 1, 2024
1 parent 6e241bf commit b2eda1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions analyzer/evmabibackfill/evm_abi_backfill.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2eda1d

Please sign in to comment.