Skip to content

Commit

Permalink
Add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailUshakoff committed Oct 24, 2024
1 parent c4e2309 commit 8f0a587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taiko-client/proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ func adjustForPriceFluctuation(gasPrice *big.Int, percentage uint64) *big.Int {
func (p *Proposer) estimateTotalCosts(gasUsed uint64) (*big.Int, error) {
log.Info("Gas needed for proposing", "gas", p.GasNeededForProposingBlock)
log.Info("Gas needed for proving", "gas", p.GasNeededForProvingBlock)
log.Info("Off chain costs", "gas", p.OffChainCosts)
totalL1GasNeeded := new(big.Int).Add(
new(big.Int).SetUint64(p.GasNeededForProposingBlock),
new(big.Int).SetUint64(p.GasNeededForProvingBlock),
Expand Down

0 comments on commit 8f0a587

Please sign in to comment.