Skip to content

Commit 7b62f89

Browse files
authored
Fix ConvertSubnetToL1Tx flake (#4462)
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
1 parent 47d7412 commit 7b62f89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vms/platformvm/txs/executor/standard_tx_executor_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,6 +2621,10 @@ func TestStandardExecutorConvertSubnetToL1Tx(t *testing.T) {
26212621
},
26222622
}
26232623

2624+
// Guarantee the validators are sorted by node id so that this tx is
2625+
// valid.
2626+
utils.Sort(convertSubnetToL1Tx.Validators)
2627+
26242628
tx, err := txs.NewSigned(
26252629
convertSubnetToL1Tx,
26262630
txs.Codec,

0 commit comments

Comments
 (0)