Commit 518c836
refactor(p2p): remove InMemoryAttestationPool, use KvAttestationPool everywhere
- Delete memory_attestation_pool.ts and memory_attestation_pool.test.ts
- Add createTestAttestationPool() factory function for test setup
- Update p2p_client.test.ts to use createTestAttestationPool()
- Update index.ts exports to export KvAttestationPool instead of InMemoryAttestationPool
The InMemoryAttestationPool in test-helpers/testbench-utils.ts is kept as a
minimal mock for benchmarking purposes.
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 802f7f5 commit 518c836
File tree
5 files changed
+11
-323
lines changed- yarn-project/p2p/src
- client
- mem_pools/attestation_pool
5 files changed
+11
-323
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 309 deletions
This file was deleted.
0 commit comments