@@ -372,18 +372,18 @@ func (issd EthIncrementSenderSequenceDecorator) AnteHandle(ctx sdk.Context, tx s
372372 "account %s is nil" , common .BytesToAddress (msgEthTx .GetFrom ().Bytes ()),
373373 )
374374 }
375- nonce := acc .GetSequence ()
376-
377- // we merged the nonce verification to nonce increment, so when tx includes multiple messages
378- // with same sender, they'll be accepted.
379- if txData .GetNonce () != nonce {
380- return ctx , errorsmod .Wrapf (
381- errortypes .ErrInvalidSequence ,
382- "invalid nonce; got %d, expected %d" , txData .GetNonce (), nonce ,
383- )
384- }
385-
386- if err := acc .SetSequence (nonce + 1 ); err != nil {
375+ // nonce := acc.GetSequence()
376+
377+ // // we merged the nonce verification to nonce increment, so when tx includes multiple messages
378+ // // with same sender, they'll be accepted.
379+ // if txData.GetNonce() != nonce {
380+ // return ctx, errorsmod.Wrapf(
381+ // errortypes.ErrInvalidSequence,
382+ // "invalid nonce; got %d, expected %d", txData.GetNonce(), nonce,
383+ // )
384+ // }
385+
386+ if err := acc .SetSequence (txData . GetNonce () + 1 ); err != nil {
387387 return ctx , errorsmod .Wrapf (err , "failed to set sequence to %d" , acc .GetSequence ()+ 1 )
388388 }
389389
0 commit comments