Skip to content

Commit

Permalink
repro err [goreleaser]
Browse files Browse the repository at this point in the history
  • Loading branch information
parodime committed Jan 28, 2025
1 parent c79a81b commit 82b4f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions ethergo/submitter/submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,13 +443,12 @@ func (t *txSubmitterImpl) SubmitTransaction(parentCtx context.Context, chainID *
transactor_forGasEstimate.Nonce.Add(transactor_forGasEstimate.Nonce, big.NewInt(1))

tx_forGasEstimate, err := call(transactor_forGasEstimate)

Check failure on line 445 in ethergo/submitter/submitter.go

View workflow job for this annotation

GitHub Actions / Lint (ethergo)

var-naming: don't use underscores in Go names; var tx_forGasEstimate should be txForGasEstimate (revive)

fmt.Printf("tx_forGasEstimate: %v\n", tx_forGasEstimate.Gas())

if err != nil {
return 0, fmt.Errorf("err contract call for gas est: %w", err)
}

Check warning on line 448 in ethergo/submitter/submitter.go

View check run for this annotation

Codecov / codecov/patch

ethergo/submitter/submitter.go#L437-L448

Added lines #L437 - L448 were not covered by tests

fmt.Printf("tx_forGasEstimate: %v\n", tx_forGasEstimate.Gas())

transactor.GasLimit = tx_forGasEstimate.Gas() + 555

Check warning on line 452 in ethergo/submitter/submitter.go

View check run for this annotation

Codecov / codecov/patch

ethergo/submitter/submitter.go#L450-L452

Added lines #L450 - L452 were not covered by tests

}
Expand Down
3 changes: 1 addition & 2 deletions services/rfq/relayer/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ func (c Chain) SubmitRelay(ctx context.Context, request reldb.QuoteRequest) (uin
}

//tmpdebug
fmt.Println(callType, "RelayV2 OriginTxHash:", request.OriginTxHash)
fmt.Printf(callType+" RelayV2 transaction: %+v\n", tx)
fmt.Println(callType, "RelayV2 Return tx hash:", request.OriginTxHash, tx.Hash())

return tx, nil
})
Expand Down

0 comments on commit 82b4f99

Please sign in to comment.