Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

refactor(ante): Remove ante handler as it is not needed #1214

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions cosmos/lib/ante/minimal.go

This file was deleted.

5 changes: 2 additions & 3 deletions e2e/testapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import (

evmv1alpha1 "pkg.berachain.dev/polaris/cosmos/api/polaris/evm/v1alpha1"
evmconfig "pkg.berachain.dev/polaris/cosmos/config"
antelib "pkg.berachain.dev/polaris/cosmos/lib/ante"
signinglib "pkg.berachain.dev/polaris/cosmos/lib/signing"
libtx "pkg.berachain.dev/polaris/cosmos/lib/tx"
"pkg.berachain.dev/polaris/cosmos/miner"
Expand Down Expand Up @@ -213,8 +212,8 @@ func NewPolarisApp(
app.mm = miner.New(app.EVMKeeper.Polaris().Miner())
app.SetPrepareProposal(app.mm.PrepareProposal)

// Setup Custom Ante Handler
app.SetAnteHandler(antelib.NewMinimalHandler())
// Set the ante handler to nil, since it is not needed.
itsdevbear marked this conversation as resolved.
Show resolved Hide resolved
app.SetAnteHandler(nil)

// ----- END EVM SETUP -------------------------------------------------

Expand Down