Skip to content

Commit 7646a5c

Browse files
authored
Merge pull request #107 from Agoric/ta/cull
cull dead code
2 parents f2c04ad + e45c355 commit 7646a5c

File tree

3 files changed

+1
-64
lines changed

3 files changed

+1
-64
lines changed

packages/synthetic-chain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agoric/synthetic-chain",
3-
"version": "0.0.10",
3+
"version": "0.1.0",
44
"description": "Utilities to build a chain and test proposals atop it",
55
"bin": {
66
"synthetic-chain": "dist/cli/cli.js"

packages/synthetic-chain/src/lib/core-eval-support.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,6 @@ export const getContractInfo = async (path: string, io = {} as any) => {
3636
return m.fromCapData({ body, slots });
3737
};
3838

39-
// not really core-eval related
40-
export const testIncludes = (
41-
t: ExecutionContext,
42-
needle: unknown,
43-
haystack: unknown[],
44-
label: string,
45-
sense = true,
46-
) => {
47-
t.log(needle, sense ? 'in' : 'not in', haystack.length, label, '?');
48-
const check = sense ? t.deepEqual : t.notDeepEqual;
49-
if (sense) {
50-
t.deepEqual(
51-
haystack.filter(c => c === needle),
52-
[needle],
53-
);
54-
} else {
55-
t.deepEqual(
56-
haystack.filter(c => c === needle),
57-
[],
58-
);
59-
}
60-
};
61-
6239
/**
6340
* @param record - e.g. { color: 'blue' }
6441
* @returns e.g. ['--color', 'blue']

packages/synthetic-chain/src/lib/vstorage.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)