Skip to content

Commit

Permalink
Merge branch 'main' into add-category-column
Browse files Browse the repository at this point in the history
  • Loading branch information
xFJA committed Nov 29, 2024
2 parents 04ad8d0 + d714683 commit 33abae6
Show file tree
Hide file tree
Showing 96 changed files with 2,072 additions and 927 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-emus-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/db": patch
---

Added address category info constraints to transaction model
5 changes: 5 additions & 0 deletions .changeset/eighty-clouds-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/web": patch
---

Fixed an issue where the Rollup filter was not being set correctly from query parameters
5 changes: 5 additions & 0 deletions .changeset/eighty-lobsters-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/blob-propagator": patch
---

Removed `BLOB_PROPAGATOR_ENABLED` variable.
5 changes: 0 additions & 5 deletions .changeset/famous-camels-kneel.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fast-knives-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/blob-propagation-jobs-cli": minor
---

Added support for creating jobs based on a specified block number range
5 changes: 0 additions & 5 deletions .changeset/fresh-poets-joke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-clocks-boil.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/khaki-rules-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/api": patch
---

Resolved an issue where blocks flagged as reorged remained marked as reorged after being reindexed
5 changes: 5 additions & 0 deletions .changeset/many-buckets-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/blob-propagation-jobs-cli": patch
---

It fixes an issue where the `create` command wasn't properly iterating over blobs within a given date range
5 changes: 0 additions & 5 deletions .changeset/modern-humans-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-pianos-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-pigs-type.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/rotten-bears-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/db": patch
---

Created indexes for block number fields
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@blobscan/web": patch
---

Removed Gitcoin Round 22 banner
Improved the home lists spacing
5 changes: 0 additions & 5 deletions .changeset/thick-trains-cry.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/tricky-yaks-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blobscan/web": minor
---

Added copyable behavior to hashes and addresses in blob, block and transaction tables.
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ NETWORK_NAME=mainnet
# GOOGLE_SERVICE_KEY=
# GOOGLE_STORAGE_API_ENDPOINT=http://localhost:4443

BLOB_PROPAGATOR_ENABLED=false

GOOGLE_STORAGE_ENABLED=false
POSTGRES_STORAGE_ENABLED=true
SWARM_STORAGE_ENABLED=false
Expand Down
1 change: 0 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@ FILE_SYSTEM_STORAGE_PATH=test-blobscan-blobs

# Blob Propagator

BLOB_PROPAGATOR_ENABLED=false
BLOB_PROPAGATOR_TMP_BLOB_STORAGE=FILE_SYSTEM
REDIS_URI=redis://localhost:6379/1
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"bradlc.vscode-tailwindcss",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"expo.vscode-expo-tools",
"Prisma.prisma",
"yoavbls.pretty-ts-errors"
]
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/docs/api/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ are protected with a shared secret that is used for digitally signing JSON Web T
This is what the `SECRET_KEY` environment variable is for.

{% callout title="Swagger UI" %}
[Explorer the API documentation.](https://api.blobscan.com/)
[Explore the API documentation.](https://api.blobscan.com/)
{% /callout %}
8 changes: 2 additions & 6 deletions apps/docs/src/app/docs/background-jobs/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ Blobscan requires [BullMQ](https://bullmq.io/) to run the following tasks in the
- `OverallStatsSyncer` - calculates other metrics such as Total Tx Fees Saved, Total Blocks and Total Blobs.
- `SwarmStampSyncer` - updates TTL for Ethereum Swarm batches.

For more information, checkout the [@blobscan/syncers](https://github.com/Blobscan/blobscan/tree/next/packages/syncers/src/syncers) package.
For more information, check out the [@blobscan/syncers](https://github.com/Blobscan/blobscan/tree/main/packages/syncers/src/syncers) package.

The BullMQ queue is also used to upload blobs in parallel to different Storages. Although this is not recommended, you can disable parallel uploads by setting:

```shell
BLOB_PROPAGATOR_ENABLED=false
```
The BullMQ queue is also used to upload blobs in parallel to different Storages.
4 changes: 2 additions & 2 deletions apps/docs/src/app/docs/clis/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ nextjs:

Blobscan offers the following commands:

- [`@blobscan/blob-propagation-jobs-cli`](https://github.com/Blobscan/blobscan/tree/next/clis/blob-propagation-jobs-cli): to run the blob propagation jobs.
- [`@blobscan/stats-aggregation-cli`](https://github.com/Blobscan/blobscan/tree/next/clis/stats-aggregation-cli): to run the stats aggregation jobs.
- [`@blobscan/blob-propagation-jobs-cli`](https://github.com/Blobscan/blobscan/tree/main/clis/blob-propagation-jobs-cli): to run the blob propagation jobs.
- [`@blobscan/stats-aggregation-cli`](https://github.com/Blobscan/blobscan/tree/main/clis/stats-aggregation-cli): to run the stats aggregation jobs.

## Blob propagation

Expand Down
44 changes: 22 additions & 22 deletions apps/docs/src/app/docs/codebase-overview/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,46 +30,46 @@ Blobscan is composed of the following apps:

| App | Description |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------- |
|  [`@blobscan/docs`](https://github.com/Blobscan/blobscan/tree/next/apps/docs) | Nextjs app that contains the documentation. |
|  [`@blobscan/web`](https://github.com/Blobscan/blobscan/tree/next/apps/web) | Nextjs app that contains the web app. |
|  [`@blobscan/rest-api-server`](https://github.com/Blobscan/blobscan/tree/next/apps/rest-api-server) | Express app that contains the REST API. |
|  [`@blobscan/docs`](https://github.com/Blobscan/blobscan/tree/main/apps/docs) | Nextjs app that contains the documentation. |
|  [`@blobscan/web`](https://github.com/Blobscan/blobscan/tree/main/apps/web) | Nextjs app that contains the web app. |
|  [`@blobscan/rest-api-server`](https://github.com/Blobscan/blobscan/tree/main/apps/rest-api-server) | Express app that contains the REST API. |

### CLI

Blobscan has the following command line interfaces:

| CLI | Description |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
|  [`@blobscan/blob-propagation-jobs-cli`](https://github.com/Blobscan/blobscan/tree/next/clis/blob-propagation-jobs-cli) | CLI to run the blob propagation jobs. |
|  [`@blobscan/stats-aggregation-cli`](https://github.com/Blobscan/blobscan/tree/next/clis/stats-aggregation-cli) | CLI to run the stats aggregation jobs. |
|  [`@blobscan/blob-propagation-jobs-cli`](https://github.com/Blobscan/blobscan/tree/main/clis/blob-propagation-jobs-cli) | CLI to run the blob propagation jobs. |
|  [`@blobscan/stats-aggregation-cli`](https://github.com/Blobscan/blobscan/tree/main/clis/stats-aggregation-cli) | CLI to run the stats aggregation jobs. |

### Packages

Here you can find all the shared packages used by the apps:

| Package | Description |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`@blobscan/api`](https://github.com/Blobscan/blobscan/tree/next/packages/api) | tRPC routers and procedures used by the web app and the REST API |
| [`@blobscan/@blobscan/blob-propagator`](https://github.com/Blobscan/blobscan/tree/next/packages/blob-propagator) | Mechanism for propagating blob data across various storage systems through [bullmq](https://docs.bullmq.io/) sandboxed workers. |
| [`@blobscan/blob-storage-manager`](https://github.com/Blobscan/blobscan/tree/next/packages/blob-storage-manager) | Orchestrates the storage/retrieval of blobs in/from different storage providers. Currently it supports [Google Cloud Storage](https://cloud.google.com/storage), [Swarm](https://www.ethswarm.org), PostgreSQL database and filesystem. |
| [`@blobscan/dayjs`](https://github.com/Blobscan/blobscan/tree/next/packages/dayjs) |  Extended [Day.js](https://day.js.org/) with plugins. |
| [`@blobscan/db`](https://github.com/Blobscan/blobscan/tree/next/packages/db) | Prisma schema and a Prisma client with [extensions](https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions) containing custom methods queries. |
| [`@blobscan/logger`](https://github.com/Blobscan/blobscan/tree/next/packages/logger) | Shared logger utilities. |
| [`@blobscan/optimism-decoder`](https://github.com/Blobscan/blobscan/tree/next/packages/optimism-decoder) | Optimism blobs decoder. |
| [`@blobscan/open-telemetry`](https://github.com/Blobscan/blobscan/tree/next/packages/open-telemetry) | [Otel](https://opentelemetry.io/) configuration and sdk setup. |
| [`@blobscan/test`](https://github.com/Blobscan/blobscan/tree/next/packages/test) | Shared test utilities and fixtures. |
| [`@blobscan/zod`](https://github.com/Blobscan/blobscan/tree/next/packages/zod) | Shared [Zod](https://zod.dev) schemas and utilities. |
| [`@blobscan/eth-format`](https://github.com/Blobscan/blobscan/tree/next/packages/eth-format) | Provides utility functions for handling Ethereum value conversions and formatting. |
| [`@blobscan/rollups`](https://github.com/Blobscan/blobscan/tree/next/packages/rollups) | A utility that provides a comprehensive list of all rollups and their associated addresses supported by Blobscan, along with functions to retrieve them easily. |
| [`@blobscan/api`](https://github.com/Blobscan/blobscan/tree/main/packages/api) | tRPC routers and procedures used by the web app and the REST API |
| [`@blobscan/blob-propagator`](https://github.com/Blobscan/blobscan/tree/main/packages/blob-propagator) | Mechanism for propagating blob data across various storage systems through [bullmq](https://docs.bullmq.io/) sandboxed workers. |
| [`@blobscan/blob-storage-manager`](https://github.com/Blobscan/blobscan/tree/main/packages/blob-storage-manager) | Orchestrates the storage/retrieval of blobs in/from different storage providers. Currently it supports [Google Cloud Storage](https://cloud.google.com/storage), [Swarm](https://www.ethswarm.org), PostgreSQL database and filesystem. |
| [`@blobscan/dayjs`](https://github.com/Blobscan/blobscan/tree/main/packages/dayjs) |  Extended [Day.js](https://day.js.org/) with plugins. |
| [`@blobscan/db`](https://github.com/Blobscan/blobscan/tree/main/packages/db) | Prisma schema and a Prisma client with [extensions](https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions) containing custom methods queries. |
| [`@blobscan/logger`](https://github.com/Blobscan/blobscan/tree/main/packages/logger) | Shared logger utilities. |
| [`@blobscan/optimism-decoder`](https://github.com/Blobscan/blobscan/tree/main/packages/optimism-decoder) | Optimism blobs decoder. |
| [`@blobscan/open-telemetry`](https://github.com/Blobscan/blobscan/tree/main/packages/open-telemetry) | [Otel](https://opentelemetry.io/) configuration and sdk setup. |
| [`@blobscan/test`](https://github.com/Blobscan/blobscan/tree/main/packages/test) | Shared test utilities and fixtures. |
| [`@blobscan/zod`](https://github.com/Blobscan/blobscan/tree/main/packages/zod) | Shared [Zod](https://zod.dev) schemas and utilities. |
| [`@blobscan/eth-format`](https://github.com/Blobscan/blobscan/tree/main/packages/eth-format) | Provides utility functions for handling Ethereum value conversions and formatting. |
| [`@blobscan/rollups`](https://github.com/Blobscan/blobscan/tree/main/packages/rollups) | A utility that provides a comprehensive list of all rollups and their associated addresses supported by Blobscan, along with functions to retrieve them easily. |

### Tooling

Blobscan uses the following tools:

| Tool | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [`@blobscan/eslint`](https://github.com/Blobscan/blobscan/tree/next/tooling/eslint) | ESLint configuration shared across all packages. |
| [`@blobscan/github`](https://github.com/Blobscan/blobscan/tree/next/tooling/github) | GitHub actions shared. |
| [`@blobscan/svgo-config`](https://github.com/Blobscan/blobscan/tree/next/tooling/svgo) | Svgo configuration. |
| [`@blobscan/tailwind-config`](https://github.com/Blobscan/blobscan/tree/next/tooling/tailwind) | Tailwind configuration shared across all packages. |
| [`@blobscan/typescript`](https://github.com/Blobscan/blobscan/tree/next/tooling/typescript) | Typescript configuration shared across all packages. |
| [`@blobscan/eslint`](https://github.com/Blobscan/blobscan/tree/main/tooling/eslint) | ESLint configuration shared across all packages. |
| [`@blobscan/github`](https://github.com/Blobscan/blobscan/tree/main/tooling/github) | GitHub actions shared. |
| [`@blobscan/svgo-config`](https://github.com/Blobscan/blobscan/tree/main/tooling/svgo) | Svgo configuration. |
| [`@blobscan/tailwind-config`](https://github.com/Blobscan/blobscan/tree/main/tooling/tailwind) | Tailwind configuration shared across all packages. |
| [`@blobscan/typescript`](https://github.com/Blobscan/blobscan/tree/main/tooling/typescript) | Typescript configuration shared across all packages. |
Loading

0 comments on commit 33abae6

Please sign in to comment.