Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 3, 2025
1 parent 93b98da commit a51d30a
Show file tree
Hide file tree
Showing 21 changed files with 40 additions and 16 deletions.
1 change: 1 addition & 0 deletions yarn-project/archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
]
},
"dependencies": {
"@aztec/blob-sink": "workspace:^",
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
"@aztec/ethereum": "workspace:^",
Expand Down
3 changes: 1 addition & 2 deletions yarn-project/archiver/src/archiver/archiver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type BlobSinkClientInterface, createBlobSinkClient } from '@aztec/blob-sink/client';
import { type BlobSinkClientInterface } from '@aztec/blob-sink/client';
import {
type GetUnencryptedLogsResponse,
type InBlock,
Expand Down Expand Up @@ -52,7 +52,6 @@ import {
} from '@aztec/protocol-contracts/class-registerer';
import { ContractInstanceDeployedEvent } from '@aztec/protocol-contracts/instance-deployer';
import { Attributes, type TelemetryClient, type Traceable, type Tracer, trackSpan } from '@aztec/telemetry-client';
import { NoopTelemetryClient } from '@aztec/telemetry-client/noop';

import groupBy from 'lodash.groupby';
import {
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/archiver/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"tsBuildInfoFile": ".tsbuildinfo"
},
"references": [
{
"path": "../blob-sink"
},
{
"path": "../circuit-types"
},
Expand Down
1 change: 1 addition & 0 deletions yarn-project/aztec-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"dependencies": {
"@aztec/archiver": "workspace:^",
"@aztec/bb-prover": "workspace:^",
"@aztec/blob-sink": "workspace:^",
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
"@aztec/epoch-cache": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/src/aztec-node/server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createArchiver } from '@aztec/archiver';
import { BBCircuitVerifier, TestCircuitVerifier } from '@aztec/bb-prover';
import { BlobSinkClientInterface, createBlobSinkClient } from '@aztec/blob-sink/client';
import { type BlobSinkClientInterface, createBlobSinkClient } from '@aztec/blob-sink/client';
import {
type AztecNode,
type ClientProtocolCircuitVerifier,
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/aztec-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
{
"path": "../bb-prover"
},
{
"path": "../blob-sink"
},
{
"path": "../circuit-types"
},
Expand Down
1 change: 1 addition & 0 deletions yarn-project/aztec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@aztec/aztec-node": "workspace:^",
"@aztec/aztec.js": "workspace:^",
"@aztec/bb-prover": "workspace:^",
"@aztec/blob-sink": "workspace:^",
"@aztec/bot": "workspace:^",
"@aztec/builder": "workspace:^",
"@aztec/circuit-types": "workspace:^",
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/aztec/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
{
"path": "../bb-prover"
},
{
"path": "../blob-sink"
},
{
"path": "../bot"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Blob } from '@aztec/foundation/blob';
import { Fr } from '@aztec/foundation/fields';

import { BlobSinkClientInterface } from './interface.js';
import { type BlobSinkClientInterface } from './interface.js';

/**
* Shared test suite for blob sink clients
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/blob-sink/src/client/factory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MemoryBlobStore } from '../blobstore/memory_blob_store.js';
import { HttpBlobSinkClient } from './http.js';
import { BlobSinkClientInterface } from './interface.js';
import { type BlobSinkClientInterface } from './interface.js';
import { LocalBlobSinkClient } from './local.js';

export function createBlobSinkClient(blobSinkUrl?: string): BlobSinkClientInterface {
Expand Down
4 changes: 2 additions & 2 deletions yarn-project/blob-sink/src/client/http.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Blob } from '@aztec/foundation/blob';
import { Logger, createLogger } from '@aztec/foundation/log';
import { type Logger, createLogger } from '@aztec/foundation/log';

import { BlobSinkClientInterface } from './interface.js';
import { type BlobSinkClientInterface } from './interface.js';

export class HttpBlobSinkClient implements BlobSinkClientInterface {
private readonly log: Logger;
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/blob-sink/src/client/interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Blob } from '@aztec/foundation/blob';
import { type Blob } from '@aztec/foundation/blob';

export interface BlobSinkClientInterface {
sendBlobsToBlobSink(blockHash: string, blobs: Blob[]): Promise<boolean>;
Expand Down
6 changes: 3 additions & 3 deletions yarn-project/blob-sink/src/client/local.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { runBlobSinkClientTests } from './blob-sink-client-tests.js';
import { LocalBlobSinkClient } from './local.js';

describe('LocalBlobSinkClient', () => {
runBlobSinkClientTests(async () => {
runBlobSinkClientTests(() => {
const store = new MemoryBlobStore();
const client = new LocalBlobSinkClient(store);
return {
return Promise.resolve({
client,
cleanup: async () => {
// No cleanup needed for memory store
},
};
});
});
});
6 changes: 3 additions & 3 deletions yarn-project/blob-sink/src/client/local.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Blob } from '@aztec/foundation/blob';
import { type Blob } from '@aztec/foundation/blob';

import { BlobStore } from '../blobstore/index.js';
import { type BlobStore } from '../blobstore/index.js';
import { BlobWithIndex } from '../types/blob_with_index.js';
import { BlobSinkClientInterface } from './interface.js';
import { type BlobSinkClientInterface } from './interface.js';

export class LocalBlobSinkClient implements BlobSinkClientInterface {
private readonly blobStore: BlobStore;
Expand Down
1 change: 1 addition & 0 deletions yarn-project/prover-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"dependencies": {
"@aztec/archiver": "workspace:^",
"@aztec/bb-prover": "workspace:^",
"@aztec/blob-sink": "workspace:^",
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
"@aztec/epoch-cache": "workspace:^",
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/prover-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
{
"path": "../bb-prover"
},
{
"path": "../blob-sink"
},
{
"path": "../circuit-types"
},
Expand Down
1 change: 1 addition & 0 deletions yarn-project/sequencer-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"dependencies": {
"@aztec/aztec.js": "workspace:^",
"@aztec/bb-prover": "workspace:^",
"@aztec/blob-sink": "workspace:^",
"@aztec/circuit-types": "workspace:^",
"@aztec/circuits.js": "workspace:^",
"@aztec/ethereum": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlobSinkClientInterface } from '@aztec/blob-sink/client';
import { type BlobSinkClientInterface } from '@aztec/blob-sink/client';
import { type L1ToL2MessageSource, type L2BlockSource, type WorldStateSynchronizer } from '@aztec/circuit-types';
import { type ContractDataSource } from '@aztec/circuits.js';
import { isAnvilTestChain } from '@aztec/ethereum';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BlobSinkClientInterface, createBlobSinkClient } from '@aztec/blob-sink/client';
import { type BlobSinkClientInterface, createBlobSinkClient } from '@aztec/blob-sink/client';
import {
ConsensusPayload,
type EpochProofClaim,
Expand Down
3 changes: 3 additions & 0 deletions yarn-project/sequencer-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
{
"path": "../bb-prover"
},
{
"path": "../blob-sink"
},
{
"path": "../circuit-types"
},
Expand Down
5 changes: 5 additions & 0 deletions yarn-project/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@aztec/archiver@workspace:archiver"
dependencies:
"@aztec/blob-sink": "workspace:^"
"@aztec/circuit-types": "workspace:^"
"@aztec/circuits.js": "workspace:^"
"@aztec/ethereum": "workspace:^"
Expand Down Expand Up @@ -150,6 +151,7 @@ __metadata:
dependencies:
"@aztec/archiver": "workspace:^"
"@aztec/bb-prover": "workspace:^"
"@aztec/blob-sink": "workspace:^"
"@aztec/circuit-types": "workspace:^"
"@aztec/circuits.js": "workspace:^"
"@aztec/epoch-cache": "workspace:^"
Expand Down Expand Up @@ -242,6 +244,7 @@ __metadata:
"@aztec/aztec-node": "workspace:^"
"@aztec/aztec.js": "workspace:^"
"@aztec/bb-prover": "workspace:^"
"@aztec/blob-sink": "workspace:^"
"@aztec/bot": "workspace:^"
"@aztec/builder": "workspace:^"
"@aztec/circuit-types": "workspace:^"
Expand Down Expand Up @@ -1085,6 +1088,7 @@ __metadata:
dependencies:
"@aztec/archiver": "workspace:^"
"@aztec/bb-prover": "workspace:^"
"@aztec/blob-sink": "workspace:^"
"@aztec/circuit-types": "workspace:^"
"@aztec/circuits.js": "workspace:^"
"@aztec/epoch-cache": "workspace:^"
Expand Down Expand Up @@ -1186,6 +1190,7 @@ __metadata:
dependencies:
"@aztec/aztec.js": "workspace:^"
"@aztec/bb-prover": "workspace:^"
"@aztec/blob-sink": "workspace:^"
"@aztec/circuit-types": "workspace:^"
"@aztec/circuits.js": "workspace:^"
"@aztec/ethereum": "workspace:^"
Expand Down

0 comments on commit a51d30a

Please sign in to comment.