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 Mar 9, 2023
1 parent 7d92da4 commit 1e34986
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 @@ -1917,7 +1917,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 1e34986

Please sign in to comment.