fix: Removing IgnoreList from Lane Interface (#245)
* greedy approach to lane verification * docs * base lane testing * mev lane testing nits * abci top level testing done * network spamming in E2E * string rep of escrow address * nit * nit * nit v1.0.1 * removing logs from testing * query test * logging with tx info * nits * nit * nit * testing nit * adding readmes which i will fill out l8r * removing ignore list from convo, ur done * removing logs in testing * nits * eh ig we dont need it rn * removing ignore list from config * nit test --------- Co-authored-by: Alex Johnson <alex@skip.money>
This commit is contained in:
co-authored by
Alex Johnson
parent
be4465ae95
commit
b91cfb617c
@@ -532,8 +532,6 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
|
||||
)
|
||||
s.Require().NoError(err)
|
||||
|
||||
defaultLane.SetIgnoreList(nil)
|
||||
|
||||
proposalHandler := abci.NewProposalHandler(
|
||||
log.NewNopLogger(),
|
||||
s.encodingConfig.TxConfig.TxDecoder(),
|
||||
@@ -598,8 +596,6 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
|
||||
)
|
||||
s.Require().NoError(err)
|
||||
|
||||
defaultLane.SetIgnoreList(nil)
|
||||
|
||||
proposalHandler := abci.NewProposalHandler(
|
||||
log.NewNopLogger(),
|
||||
s.encodingConfig.TxConfig.TxDecoder(),
|
||||
@@ -671,10 +667,6 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
|
||||
)
|
||||
s.Require().NoError(err)
|
||||
|
||||
panicLane.SetIgnoreList(nil)
|
||||
panicLane2.SetIgnoreList(nil)
|
||||
defaultLane.SetIgnoreList(nil)
|
||||
|
||||
proposalHandler := abci.NewProposalHandler(
|
||||
log.NewNopLogger(),
|
||||
s.encodingConfig.TxConfig.TxDecoder(),
|
||||
@@ -746,10 +738,6 @@ func (s *ProposalsTestSuite) TestPrepareProposalEdgeCases() {
|
||||
)
|
||||
s.Require().NoError(err)
|
||||
|
||||
panicLane.SetIgnoreList(nil)
|
||||
panicLane2.SetIgnoreList(nil)
|
||||
defaultLane.SetIgnoreList(nil)
|
||||
|
||||
proposalHandler := abci.NewProposalHandler(
|
||||
log.NewNopLogger(),
|
||||
s.encodingConfig.TxConfig.TxDecoder(),
|
||||
|
||||
+3
-3
@@ -85,11 +85,10 @@ func (s *ProposalsTestSuite) setUpStandardLane(maxBlockSpace math.LegacyDec, exp
|
||||
TxDecoder: s.encodingConfig.TxConfig.TxDecoder(),
|
||||
AnteHandler: s.setUpAnteHandler(expectedExecution),
|
||||
MaxBlockSpace: maxBlockSpace,
|
||||
IgnoreList: make([]block.Lane, 0),
|
||||
SignerExtractor: signeradaptors.NewDefaultAdapter(),
|
||||
}
|
||||
|
||||
return defaultlane.NewDefaultLane(cfg)
|
||||
return defaultlane.NewDefaultLane(cfg, base.DefaultMatchHandler())
|
||||
}
|
||||
|
||||
func (s *ProposalsTestSuite) setUpTOBLane(maxBlockSpace math.LegacyDec, expectedExecution map[sdk.Tx]bool) *mev.MEVLane {
|
||||
@@ -102,7 +101,8 @@ func (s *ProposalsTestSuite) setUpTOBLane(maxBlockSpace math.LegacyDec, expected
|
||||
SignerExtractor: signeradaptors.NewDefaultAdapter(),
|
||||
}
|
||||
|
||||
return mev.NewMEVLane(cfg, mev.NewDefaultAuctionFactory(cfg.TxDecoder, signeradaptors.NewDefaultAdapter()))
|
||||
factory := mev.NewDefaultAuctionFactory(cfg.TxDecoder, signeradaptors.NewDefaultAdapter())
|
||||
return mev.NewMEVLane(cfg, factory, factory.MatchHandler())
|
||||
}
|
||||
|
||||
func (s *ProposalsTestSuite) setUpFreeLane(maxBlockSpace math.LegacyDec, expectedExecution map[sdk.Tx]bool) *free.FreeLane {
|
||||
|
||||
Reference in New Issue
Block a user