Skip to content

Commit

Permalink
itest: add anchor point in assertion checks
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeTsagk committed Nov 15, 2023
1 parent daaa961 commit 4bf4542
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions itest/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,10 @@ func AssertUniverseAssetStats(t *testing.T, node *tapdHarness,
require.NotZero(t, statAsset.GenesisHeight)
require.NotZero(t, statAsset.GenesisTimestamp)
require.NotEmpty(t, statAsset.GenesisPoint)
require.NotEmpty(t, statAsset.AnchorPoint)
require.NotEqual(
t, statAsset.GenesisPoint, statAsset.AnchorPoint,
)
}

eventStats, err := node.QueryEvents(ctxb, &unirpc.QueryEventsRequest{})
Expand Down

0 comments on commit 4bf4542

Please sign in to comment.