Skip to content

Commit

Permalink
squash more annoying logs (ethereum#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush authored and avalonche committed Feb 6, 2023
1 parent f29b87e commit 4beddf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions miner/algo_greedy.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ func (b *greedyBuilder) buildBlock(simBundles []types.SimulatedBundle, transacti
env := b.inputEnvironment.copy()

orders := types.NewTransactionsByPriceAndNonce(env.signer, transactions, simBundles, env.header.BaseFee)
log.Debug("buildBlock", "totalBundles", len(simBundles))
for _, bundle := range simBundles {
log.Debug("buildBlock", "simBHash", bundle.OriginalBundle.Hash)
}
envDiff := newEnvironmentDiff(env)

usedBundles := make([]types.SimulatedBundle, 0)
Expand Down
1 change: 0 additions & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,6 @@ func signalToErr(signal int32) error {

func (w *worker) createProposerPayoutTx(env *environment, recipient *common.Address, profit *big.Int) (*types.Transaction, error) {
sender := w.coinbase.String()
log.Info(sender)
nonce := env.state.GetNonce(w.coinbase)
fee := new(big.Int).Mul(big.NewInt(paymentTxGas), env.header.BaseFee)
amount := new(big.Int).Sub(profit, fee)
Expand Down

0 comments on commit 4beddf1

Please sign in to comment.