Skip to content

Commit

Permalink
Fix TS issues after breaking changes in ABI types
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Jun 18, 2024
1 parent 4849a16 commit 741486e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ethereum/oracles/src/noir/circuit/abi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ describe('abi', () => {
const privateParam = { name: 'b', type, visibility: 'private' } as const;
const abi: Abi = {
parameters: [publicParam, privateParam],
param_witnesses: {},
return_type: null,
return_witnesses: [],
error_types: {}
};

Expand Down
2 changes: 0 additions & 2 deletions ethereum/oracles/src/noir/circuit/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export function publicInputs(abi: Abi): Abi {
export function returnValues(abi: Abi): Abi {
return {
parameters: [],
param_witnesses: {},
error_types: {},
return_type: abi.return_type,
return_witnesses: abi.return_witnesses
};
}

0 comments on commit 741486e

Please sign in to comment.