Skip to content

Commit 16668fa

Browse files
authored
Merge pull request #6339 from BowTiedRadone/sip-031-stateful-tests
Fix SIP-031 stateful tests burn height tracking and increase runs to 100
2 parents 8f3ccbc + df4cc03 commit 16668fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contrib/core-contract-tests/tests/sip-031/commands/MineBlocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const MineBlocks = () =>
1111
trackCommandRun(model, "mine-blocks");
1212

1313
simnet.mineEmptyBlocks(r.blocks);
14+
model.blockHeight += BigInt(r.blocks);
1415

1516
logCommand({
1617
sender: undefined,

contrib/core-contract-tests/tests/sip-031/sip-031.stateful.prop.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test("SIP-031 Stateful", () => {
5151
fc.modelRun(state, cmds);
5252
},
5353
),
54-
{ numRuns: 10, verbose: 2 },
54+
{ numRuns: 100, verbose: 2 },
5555
);
5656

5757
reportCommandRuns(model);

0 commit comments

Comments
 (0)