Skip to content

Commit 9483d3e

Browse files
committed
disable failing test until KeysWithValue module is re-enabled
1 parent 583ca13 commit 9483d3e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

examples/minimal/packages/contracts/test/CounterTest.t.sol

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ contract CounterTest is MudTest {
3636
assertEq(counter, 2);
3737
}
3838

39-
function testKeysWithValue() public {
40-
uint32 counter = CounterTable.get();
41-
bytes32[] memory keysWithValue = getKeysWithValue(CounterTableTableId, CounterTable.encode(counter));
42-
assertEq(keysWithValue.length, 1);
43-
}
39+
// TODO: re-enable the KeysWithValueModule in mud.config.ts once it supports singleton keys
40+
// function testKeysWithValue() public {
41+
// uint32 counter = CounterTable.get();
42+
// bytes32[] memory keysWithValue = getKeysWithValue(CounterTableTableId, CounterTable.encode(counter));
43+
// assertEq(keysWithValue.length, 1);
44+
// }
4445
}

0 commit comments

Comments
 (0)