diff --git a/app/app.go b/app/app.go index 2cb6fea..374053b 100644 --- a/app/app.go +++ b/app/app.go @@ -2,7 +2,6 @@ package app import ( "encoding/json" - "fmt" "io" "os" "path/filepath" @@ -635,26 +634,26 @@ func New( app.MountMemoryStores(memKeys) // initialize BaseApp - anteHandler, err := sequencerante.NewAnteHandler( - sequencerante.HandlerOptions{ - AccountKeeper: app.AccountKeeper, - BankKeeper: app.BankKeeper, - FeegrantKeeper: app.FeeGrantKeeper, - SignModeHandler: encodingConfig.TxConfig.SignModeHandler(), - SigGasConsumer: sequencerante.SigVerificationGasConsumer, - BlockInteractions: blockInteractions, - }, - ) - if err != nil { - panic(fmt.Errorf("failed to create AnteHandler: %w", err)) - } - - app.SetAnteHandler(anteHandler) + // anteHandler, err := sequencerante.NewAnteHandler( + // sequencerante.HandlerOptions{ + // AccountKeeper: app.AccountKeeper, + // BankKeeper: app.BankKeeper, + // FeegrantKeeper: app.FeeGrantKeeper, + // SignModeHandler: encodingConfig.TxConfig.SignModeHandler(), + // SigGasConsumer: sequencerante.SigVerificationGasConsumer, + // BlockInteractions: blockInteractions, + // }, + // ) + // if err != nil { + // panic(fmt.Errorf("failed to create AnteHandler: %w", err)) + // } + + // app.SetAnteHandler(anteHandler) app.SetInitChainer(app.InitChainer) app.SetBeginBlocker(app.BeginBlocker) app.SetEndBlocker(app.EndBlocker) - app.SetPrepareProposal(sequencerproposal.NewPrepareProposalHandler(&app.SequencerKeeper, app.ArweaveBlocksController, app.txConfig)) - app.SetProcessProposal(sequencerproposal.NewProcessProposalHandler(app.txConfig, app.BlockValidator, app.Logger())) + // app.SetPrepareProposal(sequencerproposal.NewPrepareProposalHandler(&app.SequencerKeeper, app.ArweaveBlocksController, app.txConfig)) + // app.SetProcessProposal(sequencerproposal.NewProcessProposalHandler(app.txConfig, app.BlockValidator, app.Logger())) if loadLatest { if err := app.LoadLatestVersion(); err != nil {