From 8bf067c7cfb6105f7a14e0c4e0361cff27e6b495 Mon Sep 17 00:00:00 2001 From: Christian Borst Date: Thu, 25 Apr 2024 17:19:28 -0400 Subject: [PATCH] Add MsgEthereumTx to lockup --- x/lockup/ante.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/lockup/ante.go b/x/lockup/ante.go index f3471a6a..974a7d53 100644 --- a/x/lockup/ante.go +++ b/x/lockup/ante.go @@ -133,6 +133,9 @@ func (lad LockAnteDecorator) isAcceptable(ctx sdk.Context, msg sdk.Msg) error { if msgType == "/cosmos.authz.v1beta1.MsgExec" { return sdkerrors.Wrap(types.ErrLocked, "The chain is locked, recursively MsgExec-wrapped Msgs are not allowed") } + if msgType == "/ethermint.evm.v1.MsgEthereumTx" { + return sdkerrors.Wrap(types.ErrLocked, "The chain is locked, only exempt addresses may submit this Msg type") + } return nil }