Skip to content

Commit 3c805de

Browse files
committed
Revert recent changes back to f9a2427
1 parent fbcd0e0 commit 3c805de

48 files changed

Lines changed: 8214 additions & 8211 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
11
node_modules
2-
*service_account*.json
3-
4-
5-
# LLM stuff
6-
.github/copilot-instructions.md

.vscode/launch.json

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -8,64 +8,7 @@
88
"skipFiles": ["<node_internals>/**"],
99
"command": "npm run start:dev",
1010
"cwd": "${workspaceFolder}/api",
11-
"sourceMaps": true,
12-
"resolveSourceMapLocations": [
13-
"${workspaceFolder}/api/**",
14-
"!**/node_modules/**"
15-
],
16-
"outFiles": ["${workspaceFolder}/api/dist/**/*.js"],
17-
},
18-
{
19-
"name": "Explorer API - Attach",
20-
"type": "node",
21-
"request": "attach",
22-
"port": 9229,
23-
"skipFiles": ["<node_internals>/**"],
24-
"sourceMaps": true,
25-
"resolveSourceMapLocations": [
26-
"${workspaceFolder}/api/**",
27-
"!**/node_modules/**"
28-
],
29-
"outFiles": ["${workspaceFolder}/api/dist/**/*.js"],
30-
"restart": true
31-
},
32-
{
33-
"name": "Explorer Web-App - Debug",
34-
"type": "node-terminal",
35-
"request": "launch",
36-
"command": "npm run dev",
37-
"cwd": "${workspaceFolder}/web-app",
38-
"skipFiles": ["<node_internals>/**"],
39-
"sourceMaps": true,
40-
"resolveSourceMapLocations": [
41-
"${workspaceFolder}/web-app/**",
42-
"!**/node_modules/**"
43-
]
44-
},
45-
{
46-
"name": "Explorer Web-App - Chrome Debug",
47-
"type": "chrome",
48-
"request": "launch",
49-
"url": "http://localhost:5173",
50-
"webRoot": "${workspaceFolder}/web-app/src",
51-
"sourceMaps": true,
52-
"sourceMapPathOverrides": {
53-
"webpack:///./src/*": "${webRoot}/*"
54-
}
55-
}
56-
],
57-
"compounds": [
58-
{
59-
"name": "Explorer Full Stack - Debug",
60-
"configurations": [
61-
"Explorer API - Debug",
62-
"Explorer Web-App - Debug"
63-
],
64-
"stopAll": true,
65-
"presentation": {
66-
"hidden": false,
67-
"group": "explorer"
68-
}
11+
"sourceMaps": true
6912
}
7013
]
7114
}

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Once you are set, follow the steps:
3939
- Navigate to the `ol-fyi-local-infra` directory.
4040

4141
```bash
42-
cd ./ol-fyi-local-infra
42+
cd ./ol-fyi-local-infra
4343
```
4444

4545
- Once you are in the `ol-fyi-local-infra` directory, run:
@@ -67,28 +67,25 @@ Running Clickhouse Migrations
6767
Once the Clickhouse database is up and running,
6868
you can connect to it and execute using:
6969

70-
```bash
70+
```bash
7171
docker compose exec -it clickhouse clickhouse client -h "127.0.0.1" --port 9000 -u "olfyi" --password "olfyi" -n
7272
```
7373

7474
After connecting to the clickhouse client, execute the queries to
7575
run the migrations stored in the `tables_local.sql` file manually.
76-
```bash
77-
docker compose exec -T clickhouse clickhouse-client --database=olfyi -n < ../api/tables_local.sql
78-
```
7976

8077
Building the Transformer Binary
8178
---------------------------------
8279

8380
Navigate to the transformer directory and build the project:
8481

85-
```bash
82+
```bash
8683
cd ./api/transformer
8784
```
8885

8986
Build the binary:
9087

91-
```bash
88+
```bash
9289
cargo build
9390
```
9491

api/.env.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ROLES="api,version-batch-processor,parquet-producer-processor,version-processor,
2323

2424
NATS_SERVERS="127.0.0.1:4222"
2525

26-
RPC_PROVIDER_URL="https://rpc.scan.openlibra.world"
2726
DATA_API_HOST="https://data.0l.fyi"
2827
DATABASE_URL="postgresql://olfyi:olfyi@127.0.0.1:5432/olfyi?schema=public"
2928

@@ -34,4 +33,4 @@ VALIDATOR_HANDLES_URL=https://raw.githubusercontent.com/user/repo/branch/path/to
3433
COMMUNITY_WALLETS_URL="https://raw.githubusercontent.com/soaresa/test_data/refs/heads/main/community-wallets.json"
3534

3635
# Path to the json file containing well known addresses info
37-
KNOWN_ADDRESSES_URL="https://raw.githubusercontent.com/soaresa/test_data/refs/heads/main/known-addresses.json"
36+
KNOWN_ADDRESSES_URL="https://raw.githubusercontent.com/soaresa/test_data/refs/heads/main/known-addresses.json"

api/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ lerna-debug.log*
3535
!.vscode/extensions.json
3636

3737
.env
38-
.env*.bkp

api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ ENV CLICKHOUSE_PASSWORD="********************************"
3939
ENV CLICKHOUSE_PORT="8123"
4040
ENV CLICKHOUSE_DATABASE="olfyi"
4141

42-
ENV DATA_API_HOST="https://data.scan.openlibra.world"
42+
ENV DATA_API_HOST="https://data.0l.fyi"
4343

4444
ENV PORT="3000"
4545

4646
EXPOSE 3000
4747

48-
CMD ["npm", "run", "start:prod"]
48+
CMD ["npm", "run", "start:prod"]

api/package-lock.json

Lines changed: 0 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"@types/express": "^4.17.21",
7373
"@types/jest": "^29.5.12",
7474
"@types/node": "^20.14.2",
75-
"@types/redis": "^4.0.11",
7675
"@types/supertest": "^6.0.2",
7776
"@typescript-eslint/eslint-plugin": "^7.13.0",
7877
"@typescript-eslint/parser": "^7.13.0",

0 commit comments

Comments
 (0)