Skip to content

Commit

Permalink
fix: don't fail tenderly on anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-98 committed Mar 6, 2024
1 parent 30a582b commit c4a65c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/trace_service/tenderly_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (ep *TenderlyFetcher) getTxTrace(txHash string) (*TenderlyTrace, error) {
if err != nil {
return nil, log.WrapErrWithLine(err)
}
if trace.CallTrace == nil {
if trace.CallTrace == nil && log.GetNetworkName(ep.ChainId) != "ANVIL" { // if not anvil then fail
log.Fatal("Retry failed for tenderly: ", txHash)
}
return trace, nil
Expand Down

0 comments on commit c4a65c7

Please sign in to comment.