Skip to content

Commit 96b8204

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 6b81480 commit 96b8204

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
@@ -2875,5 +2875,10 @@ func WaitForSupplyCommit(t *testing.T, ctx context.Context,
28752875
Index: fetchResp.ChainData.TxOutIdx,
28762876
}
28772877

2878+
require.Equal(
2879+
t, supplyCommitOutpoint.String(),
2880+
fetchResp.ChainData.CommitOutpoint,
2881+
)
2882+
28782883
return fetchResp, supplyCommitOutpoint
28792884
}

0 commit comments

Comments
 (0)