Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
merge nit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidterpay committed Dec 6, 2023
1 parent a707921 commit 6aa6227
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 404 deletions.
9 changes: 4 additions & 5 deletions abci/abci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package abci_test
import (
"context"
"math/rand"
"os"
"testing"

"cosmossdk.io/math"
Expand Down Expand Up @@ -531,7 +530,7 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
s.Require().NoError(err)

proposalHandler := abci.NewProposalHandler(
log.NewTMLogger(os.Stdout),
log.NewNopLogger(),
s.encodingConfig.TxConfig.TxDecoder(),
s.encodingConfig.TxConfig.TxEncoder(),
mempool,
Expand Down Expand Up @@ -577,7 +576,7 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
s.Require().NoError(err)

proposalHandler := abci.NewProposalHandler(
log.NewTMLogger(os.Stdout),
log.NewNopLogger(),
s.encodingConfig.TxConfig.TxDecoder(),
s.encodingConfig.TxConfig.TxEncoder(),
mempool,
Expand Down Expand Up @@ -625,7 +624,7 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
s.Require().NoError(err)

proposalHandler := abci.NewProposalHandler(
log.NewTMLogger(os.Stdout),
log.NewNopLogger(),
s.encodingConfig.TxConfig.TxDecoder(),
s.encodingConfig.TxConfig.TxEncoder(),
mempool,
Expand Down Expand Up @@ -673,7 +672,7 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
s.Require().NoError(err)

proposalHandler := abci.NewProposalHandler(
log.NewTMLogger(os.Stdout),
log.NewNopLogger(),
s.encodingConfig.TxConfig.TxDecoder(),
s.encodingConfig.TxConfig.TxEncoder(),
mempool,
Expand Down
9 changes: 0 additions & 9 deletions block/base/lane.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,6 @@ func (l *BaseLane) TxEncoder() sdk.TxEncoder {
func (l *BaseLane) GetMaxBlockSpace() math.LegacyDec {
return l.cfg.MaxBlockSpace
}
<<<<<<< HEAD
=======

// SetMaxBlockSpace sets the maximum amount of block space that the lane is
// allowed to consume as a percentage of the total block space.
func (l *BaseLane) SetMaxBlockSpace(maxBlockSpace math.LegacyDec) {
l.cfg.MaxBlockSpace = maxBlockSpace
}

// WithOptions returns a new lane with the given options.
func (l *BaseLane) WithOptions(options ...LaneOption) *BaseLane {
Expand All @@ -161,4 +153,3 @@ func (l *BaseLane) WithOptions(options ...LaneOption) *BaseLane {

return l
}
>>>>>>> db58154 (feat: Lane Options (#272))
Loading

0 comments on commit 6aa6227

Please sign in to comment.