fix: sequence should be higher or equal than expected during checktx and equal during deliver tx (backport #22299) (#22307)

This commit is contained in:
mergify[bot]
2024-10-17 22:44:12 +02:00
committed by GitHub
parent 2f4dda4118
commit 53ae84a49c
6 changed files with 37 additions and 22 deletions
-14
View File
@@ -67,13 +67,6 @@ func TestAuthSignAndBroadcastTxCmd(t *testing.T) {
sendAmount := transferAmount + newAmount
fees := feeAmount * 2
// TODO: remove below block code once v2 supports multi messages
// ref: https://github.com/cosmos/cosmos-sdk/issues/22215
if isV2() {
sendAmount = transferAmount
fees = feeAmount
}
testSignTxBroadcast(t, cli, signBatchCmd, "sign-batch tx", val1Addr, val2Addr, sendAmount, fees)
}
@@ -304,13 +297,6 @@ func TestAuthMultisigTxCmds(t *testing.T) {
sendAmount := transferAmount * 2
fees := feeAmount * 2
// TODO: remove below block code once v2 supports multi messages
// ref: https://github.com/cosmos/cosmos-sdk/issues/22215
if isV2() {
sendAmount = transferAmount
fees = feeAmount
}
testMultisigTxBroadcast(t, cli, multiSigTxInput{
"multisign-batch",
multiAddr,