Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions spartan/aztec-network/templates/blob-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ spec:
fieldPath: metadata.namespace
- name: BLOB_SINK_PORT
value: "{{ .Values.blobSink.service.nodePort }}"
- name: BLOB_SINK_ARCHIVE_API_URL
value: "{{ .Values.blobSink.archiveApiUrl }}"
- name: LOG_LEVEL
value: "{{ .Values.blobSink.logLevel }}"
- name: LOG_JSON
Expand Down
1 change: 1 addition & 0 deletions spartan/aztec-network/values/alpha-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ network:

blobSink:
enabled: true
archiveApiUrl: "https://api.sepolia.blobscan.com"
dataStoreConfig:
dataDir: "/data"
storageSize: "128Gi"
Expand Down
6 changes: 0 additions & 6 deletions yarn-project/blob-sink/src/archive/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@ export function createBlobArchiveClient(config: BlobSinkConfig): BlobArchiveClie
return new BlobscanArchiveClient(config.archiveApiUrl);
}

if (config.l1ChainId === 1) {
return new BlobscanArchiveClient('https://api.blobscan.com');
} else if (config.l1ChainId === 11155111) {
return new BlobscanArchiveClient('https://api.sepolia.blobscan.com');
}

return undefined;
}