Add SkipSequenceCheck flag in SignatureV2 for Amino signatures (#7234)
* Add SkipSequenceCheck * Fix test * Fix test * Add explicit amino test Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
co-authored by
Alexander Bezobchuk
parent
18ac096a54
commit
bae1399ebc
@@ -239,6 +239,7 @@ func (s *TxConfigTestSuite) TestTxEncodeDecode() {
|
||||
SignMode: signingtypes.SignMode_SIGN_MODE_LEGACY_AMINO_JSON,
|
||||
Signature: dummySig,
|
||||
},
|
||||
SkipSequenceCheck: s.TxConfig.SignModeHandler().DefaultMode() == signingtypes.SignMode_SIGN_MODE_LEGACY_AMINO_JSON,
|
||||
}
|
||||
|
||||
txBuilder := s.TxConfig.NewTxBuilder()
|
||||
|
||||
Reference in New Issue
Block a user