Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Feb 14, 2024
1 parent ea501cf commit 6d1dc49
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ethereum_history_api/oracles/test/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import { expect } from 'vitest';
import { ForeignCallOutput } from '@noir-lang/noir_js';

export async function expectCircuitFail(p: Promise<boolean>): Promise<void> {
await expect(p).rejects.toThrow(
'Circuit execution failed: Error: Failed to solve brillig function, reason: explicit trap hit in brillig'
);
}

export type FieldsOfType<ObjectType, FieldType> = {
[K in keyof ObjectType]: ObjectType[K] extends FieldType ? K : never;
}[keyof ObjectType];

export interface Account {
nonce: string;
balance: string;
Expand Down

0 comments on commit 6d1dc49

Please sign in to comment.