Skip to content

Commit

Permalink
fix: removed MsgSend from allowed consensus msgs (#146)
Browse files Browse the repository at this point in the history
Co-authored-by: Faulty Tolly <@faulttolerance.net>
  • Loading branch information
faultytolly authored Oct 21, 2024
1 parent 692fb70 commit 21753d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper"
authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module"
evmosante "github.com/evmos/evmos/v12/app/ante"
"github.com/gogo/protobuf/proto"
"github.com/gorilla/mux"
"github.com/rakyll/statik/fs"
abci "github.com/tendermint/tendermint/abci/types"
Expand Down Expand Up @@ -841,7 +840,7 @@ func NewRollapp(

// Admission handler for consensus messages
app.setAdmissionHandler(consensus.AllowedMessagesHandler([]string{
proto.MessageName(&banktypes.MsgSend{}),
// proto.MessageName(&banktypes.MsgSend{}), // Example of message allowed as consensus message
}))

if loadLatest {
Expand Down

0 comments on commit 21753d2

Please sign in to comment.