Skip to content

Commit

Permalink
moving witness out of interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 7, 2024
1 parent c2f5200 commit dac515d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions yarn-project/circuit-types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export * from './l2_block.js';
export * from './body.js';
export * from './l2_block_downloader/index.js';
export * from './l2_block_source.js';
export * from './public_data_witness.js';
export * from './tx_effect.js';
export * from './logs/index.js';
export * from './merkle_tree_id.js';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/interfaces/aztec-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ import {
type LogType,
} from '../logs/index.js';
import { type MerkleTreeId } from '../merkle_tree_id.js';
import { type PublicDataWitness } from '../public_data_witness.js';
import { type SiblingPath } from '../sibling_path/index.js';
import { type ProcessOutput, type Tx, type TxHash, type TxReceipt } from '../tx/index.js';
import { type TxEffect } from '../tx_effect.js';
import { type SequencerConfig } from './configs.js';
import { type L2BlockNumber } from './l2_block_number.js';
import { type NullifierMembershipWitness } from './nullifier_tree.js';
import { type ProverConfig } from './prover-client.js';
import { type PublicDataWitness } from './public_data_witness.js';

/**
* The aztec node.
Expand Down
1 change: 0 additions & 1 deletion yarn-project/circuit-types/src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export * from './pxe.js';
export * from './sync-status.js';
export * from './configs.js';
export * from './nullifier_tree.js';
export * from './public_data_witness.js';
export * from './prover-client.js';
export * from './proving-job.js';
export * from './block-prover.js';
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { fr } from '@aztec/circuits.js/testing';
import { toBufferBE } from '@aztec/foundation/bigint-buffer';
import { randomInt } from '@aztec/foundation/crypto';

import { SiblingPath } from '../sibling_path/sibling_path.js';
import { PublicDataWitness } from './public_data_witness.js';
import { SiblingPath } from './sibling_path/sibling_path.js';

describe('contract_artifact', () => {
it('serializes and deserializes an instance', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Fr, PUBLIC_DATA_TREE_HEIGHT, PublicDataTreeLeafPreimage } from '@aztec/
import { toBigIntBE } from '@aztec/foundation/bigint-buffer';
import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize';

import { SiblingPath } from '../sibling_path/index.js';
import { SiblingPath } from './sibling_path/sibling_path.js';

/**
* Public data witness.
Expand Down

0 comments on commit dac515d

Please sign in to comment.