Skip to content

Commit

Permalink
Add MsgEthereumTx to lockup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBorst committed Apr 25, 2024
1 parent f3caf2f commit 8bf067c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/lockup/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8bf067c

Please sign in to comment.