Commit da591ba
authored
feat(receipts): add block_timestamp to transaction_receipts table (#397)
- Add block_timestamp field to transaction_receipts schema
- Create index on block_timestamp for efficient time-based queries
- Update store_transaction_receipt to accept and store block_timestamp
- Pass block_timestamp from engine to storage layer
This enables temporal analysis of transaction receipts and fee trends.1 parent 06feb03 commit da591ba
File tree
4 files changed
+13
-5
lines changed- crates
- indexer/engine/src
- migrations
- sqlite/sqlite/src
- storage/src
4 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2205 | 2205 | | |
2206 | 2206 | | |
2207 | 2207 | | |
| 2208 | + | |
2208 | 2209 | | |
2209 | 2210 | | |
2210 | 2211 | | |
| |||
2275 | 2276 | | |
2276 | 2277 | | |
2277 | 2278 | | |
2278 | | - | |
2279 | | - | |
| 2279 | + | |
| 2280 | + | |
2280 | 2281 | | |
2281 | 2282 | | |
2282 | 2283 | | |
| |||
2285 | 2286 | | |
2286 | 2287 | | |
2287 | 2288 | | |
2288 | | - | |
| 2289 | + | |
| 2290 | + | |
2289 | 2291 | | |
2290 | 2292 | | |
2291 | 2293 | | |
| |||
2299 | 2301 | | |
2300 | 2302 | | |
2301 | 2303 | | |
| 2304 | + | |
2302 | 2305 | | |
2303 | 2306 | | |
2304 | 2307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
252 | 253 | | |
253 | 254 | | |
254 | 255 | | |
| |||
0 commit comments