Skip to content

Commit

Permalink
Merge pull request #107 from Agoric/ta/cull
Browse files Browse the repository at this point in the history
cull dead code
  • Loading branch information
turadg authored May 6, 2024
2 parents f2c04ad + e45c355 commit 7646a5c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 64 deletions.
2 changes: 1 addition & 1 deletion packages/synthetic-chain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agoric/synthetic-chain",
"version": "0.0.10",
"version": "0.1.0",
"description": "Utilities to build a chain and test proposals atop it",
"bin": {
"synthetic-chain": "dist/cli/cli.js"
Expand Down
23 changes: 0 additions & 23 deletions packages/synthetic-chain/src/lib/core-eval-support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,6 @@ export const getContractInfo = async (path: string, io = {} as any) => {
return m.fromCapData({ body, slots });
};

// not really core-eval related
export const testIncludes = (
t: ExecutionContext,
needle: unknown,
haystack: unknown[],
label: string,
sense = true,
) => {
t.log(needle, sense ? 'in' : 'not in', haystack.length, label, '?');
const check = sense ? t.deepEqual : t.notDeepEqual;
if (sense) {
t.deepEqual(
haystack.filter(c => c === needle),
[needle],
);
} else {
t.deepEqual(
haystack.filter(c => c === needle),
[],
);
}
};

/**
* @param record - e.g. { color: 'blue' }
* @returns e.g. ['--color', 'blue']
Expand Down
40 changes: 0 additions & 40 deletions packages/synthetic-chain/src/lib/vstorage.js

This file was deleted.

0 comments on commit 7646a5c

Please sign in to comment.