Commit Graph

18 Commits

Author SHA1 Message Date
fdd56e9803 Add withdrawals (EIP-4895) (#7)
All checks were successful
Publish Docker image / Build and publish image (release) Successful in 29s
Support for validator withdrawal objects:
- new table `eth.withdrawal_cids`
- new column `withdrawals_root` in `eth.header_cids`

Reviewed-on: #7
2024-06-25 11:24:00 +00:00
1b922dbff3
Add canonical column to eth.header_cids (#136)
* Add canonical column to eth.header_cids

* NOT NULL

* Update stored procedures for new schema.

* Switch to sql syntax, since it can be inlined.

* Fix indent

* Fix indent
2023-07-18 12:29:27 -05:00
i-norden
c402e5c285 drop mh_keys and use cids for blockstore keys and linking aka revert to v0 ipfs blockstore format. in addition to saving space, this format is closer to the CAR format used in filecoin deals 2023-02-08 18:22:40 -06:00
i-norden
26d970ed2f remove times_validated field 2023-02-01 20:03:12 -06:00
i-norden
f3c58e39ca node_id => node_ids 2023-02-01 19:56:36 -06:00
i-norden
0856168b92 misc adjustments 2022-08-08 11:06:00 -05:00
ee2f43a849 Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
i-norden
673ae7b265 fixes, PKs need to include partition key 2022-04-12 21:56:27 -05:00
i-norden
2816de15a3 migrations for hypertables and distributed hypertables 2022-04-06 18:44:19 -05:00
i-norden
ba2550cc01 update pre- and post- sets 2022-03-21 19:53:48 -05:00
i-norden
1dc12460dc denormalize tables by block_number so that we can partition all tables by block_number for purposes of sharding 2022-03-15 16:06:13 -05:00
i-norden
925dba5759 reorder columns to match order of values written to .sql files so that when we convert to .csv and load using COPY FROM it doesn't need to sort 2021-11-25 11:33:39 -06:00
i-norden
36dc668976 proposed schema changes 2021-11-25 11:33:39 -06:00
i-norden
636fa35b84 revert my data type mistake 2021-11-24 17:52:21 -06:00
i-norden
4392505b16 use BIGINT not NUMERIC, it is faster for arithmetic operations and uses less space 2021-11-20 13:49:03 -06:00
i-norden
0fb07a0a77 use node_id as PK/FK 2021-11-18 08:19:36 -06:00
i-norden
7cc9201a94 new natural primary key scheme 2021-11-14 18:23:26 -06:00
Arijit Das
562ee3e782 Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30