Skip to content

Commit 457bd15

Browse files
committed
itest: assert string outpoint in SupplyCommitChainData is consistent
Modify itest helper to verify that the string-encoded outpoint in SupplyCommitChainData matches the expected value based on existing fields.
1 parent f884354 commit 457bd15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

itest/assertions.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2842,5 +2842,10 @@ func WaitForSupplyCommit(t *testing.T, ctx context.Context,
28422842
Index: fetchResp.ChainData.TxOutIdx,
28432843
}
28442844

2845+
require.Equal(
2846+
t, supplyCommitOutpoint.String(),
2847+
fetchResp.ChainData.CommitOutpoint,
2848+
)
2849+
28452850
return fetchResp, supplyCommitOutpoint
28462851
}

0 commit comments

Comments
 (0)