Skip to content

Commit 6cc3833

Browse files
committed
Extra coin supply tests
1 parent a99aaa7 commit 6cc3833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

convex-core/src/test/java/convex/core/lang/CoreTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2886,6 +2886,7 @@ public void testCoinSupply() {
28862886
Context ctx=context();
28872887
CVMLong supply=eval("(coin-supply)");
28882888
assertTrue(supply.longValue()>ctx.getBalance());
2889+
assertTrue(supply.longValue()==ctx.getState().computeSupply());
28892890
}
28902891

28912892
@Test

0 commit comments

Comments
 (0)