Commit 6bd5377
committed
refactor(storage): remove all PostgreSQL dependencies and code
Remove the entire PostgreSQL storage layer, keeping only P2P/local
storage backends (sled chain storage + SQLite local storage).
Deleted files:
- storage/src/pg.rs (connection pool: PgConfig, PgPool, create_pool)
- storage/src/postgres/ directory (mod.rs, evaluations.rs,
leaderboard.rs, submissions.rs, task_logs.rs, validators.rs)
Updated files:
- storage/src/lib.rs: removed pub mod pg and pub mod postgres
- storage/src/traits.rs: removed From<tokio_postgres::Error> and
From<deadpool_postgres::PoolError> impls
- storage/Cargo.toml: removed tokio-postgres, deadpool-postgres,
postgres-types dependencies
- AGENTS.md: removed pg.rs and postgres/ from architecture section
- Cargo.lock: regenerated without PostgreSQL crates1 parent b02d2a8 commit 6bd5377
12 files changed
Lines changed: 5 additions & 1365 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 68 | + | |
77 | 69 | | |
78 | 70 | | |
79 | 71 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
| 27 | + | |
0 commit comments