Commit Graph

183 Commits

Author SHA1 Message Date
i-norden
be28c2ab79 fix 2023-03-07 20:00:01 -06:00
i-norden
42803af51a we don't need to join on state_cids in the pessimistic case anymore 2023-03-07 18:44:12 -06:00
i-norden
afc47af045 return val directly since it is now present in storage_cids 2023-03-07 18:31:26 -06:00
i-norden
2695d9e353 updated get_storage_at procedures for v5 2023-03-07 18:18:20 -06:00
71dede2031 Update behavior back to a comprehensive JOIN on state_path if we came up empty in our optimized check. (#118) 2023-03-07 18:18:20 -06:00
Ian Norden
df352ffd1a
Merge pull request #126 from cerc-io/ian/v5
Drop `access_list_elements` table
2023-02-27 10:31:00 -06:00
i-norden
dd35277c86 updated schema 2023-02-21 20:07:28 -06:00
i-norden
92cc8fbea3 remove access_list_elements table and associated indexes and hypertable functions 2023-02-21 20:07:28 -06:00
Ian Norden
05db3c697f
Merge pull request #124 from cerc-io/ian/v5
v5 part 5
2023-02-20 15:05:02 -06:00
i-norden
a710db0284 BRIN => BTREE 2023-02-20 13:47:23 -06:00
i-norden
5e153c601f updated schema 2023-02-17 14:26:30 -06:00
i-norden
802cfe7180 consolidate version migrations; reorder 2023-02-17 14:26:21 -06:00
i-norden
b06b4f2cfb remove partial_path and contract_hash columns and indexes 2023-02-17 14:25:40 -06:00
i-norden
3fd1638ff6 remove eth_probe table definitions, these migrations will continue to be defined in the eth_probe repo 2023-02-17 14:23:42 -06:00
i-norden
1e5cbfd184 remove unused postgraphile triggers; can add back as needed 2023-02-17 14:22:55 -06:00
Ian Norden
40b1709c2c
Merge pull request #123 from cerc-io/ian/v5
v5 part 4
2023-02-10 13:58:58 -06:00
i-norden
92a9f5856b minor fixes 2023-02-10 10:38:31 -06:00
i-norden
9f060ff0bf updated schema 2023-02-08 18:35:16 -06:00
i-norden
a8440e4ded public.blocks => ipld.blocks 2023-02-08 18:35:07 -06: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
85bc243896 drop tx_data and log_data; data can still be accessed in referenced ipld blocks in public.blocks 2023-02-08 18:13:15 -06:00
i-norden
f67f03481b renaming some columns; remove log_root column 2023-02-08 18:08:08 -06:00
Ian Norden
27e923f70d
Merge pull request #120 from cerc-io/ian_v5
v5 part 3
2023-02-01 21:12:34 -06:00
i-norden
73a66dae8b updated schema 2023-02-01 20:22:22 -06:00
i-norden
29e2bd4e7b remove 00023 get storage functions; they were broken by these changes and would need to be refactored, but with the v5 changes we shouldn't need them anymore 2023-02-01 20:20:01 -06:00
986ce1ead8 Update behavior back to a comprehensive JOIN on state_path if we came up empty in our optimized check. (#118) 2023-02-01 20:17:06 -06:00
268a282eac Draft: Split get_storage_at into two paths: one optimistic and simple, the other more comprehensive but slower. (#117)
* Split get_storage_at into two paths: one optimisic and simple, the other more exhaustive but slower.

* Remove is null check

* Fix name

* Update comment
2023-02-01 20:16:35 -06:00
53461a0996 Add new indexes and functions to improve eth_getStorageAt performance. (#116)
* New indexes and functions to implement get_storage_at as a function.

* Update schema.sql.
2023-02-01 20:16:11 -06:00
i-norden
26d970ed2f remove times_validated field 2023-02-01 20:03:12 -06:00
i-norden
c35cda7b5e updated schema 2023-02-01 19:56:57 -06:00
i-norden
f3c58e39ca node_id => node_ids 2023-02-01 19:56:36 -06:00
i-norden
2165b316fa remove snapshot functions (they wont work without intermediate node indexing); adjust remaining functions 2023-01-23 17:31:36 -06:00
i-norden
713f6a9208 add removed flag; embed value in storage_cids 2023-01-23 17:30:33 -06:00
i-norden
241bb281eb state_cids and storage_cids only index leaf nodes and related adjustments 2023-01-23 17:08:20 -06:00
Ian Norden
bb57b4a033
Merge pull request #105 from vulcanize/release-v5.0.0
v5 updates part 2
2022-09-06 19:45:03 -05:00
i-norden
a9755c6ecc update schema 2022-08-30 12:19:48 -05:00
i-norden
7f8247cb4f revert hash indexes; add eth probes tables 2022-08-30 12:05:51 -05:00
i-norden
701f9c2729 update schema.sql 2022-08-15 11:15:48 -05:00
i-norden
475ead282b remove known_gaps table 2022-08-15 11:11:19 -05:00
i-norden
42f46fc397 update schema.sql 2022-08-08 12:42:54 -05:00
i-norden
2bf5c82150 replace btree with hash index where it makes sense 2022-08-08 12:40:47 -05:00
Ian Norden
0c62ccc552
Merge pull request #103 from vulcanize/release-v5.0.0
v5 updates part 1
2022-08-08 11:16:24 -05:00
i-norden
13f0ff3933 update schema 2022-08-08 11:08:09 -05:00
i-norden
0856168b92 misc adjustments 2022-08-08 11:06:00 -05:00
erikdies
a8395d1413 Create issues-notion-sync.yml 2022-08-08 10:53:29 -05:00
prathamesh0
be345e0733
Use a specific tag while building migration tool (#101) 2022-07-22 11:44:07 +05:30
prathamesh0
b59505eab2
Add block hash to primary keys in transactions, receipts and logs tables (#100)
* Add block hash to primary keys in transactions, receipts and logs tables

* Add block hash in postgraphile triggers for transactions, receipts and logs tables

* Make indexes on transaction cid and mh_key non-unique
2022-07-07 16:21:06 +05:30
Abdul Rabbani
4e948c58ce
Merge pull request #93 from vulcanize/feature/update-go
Update the go-version in build container
2022-06-20 09:28:10 -04:00
Abdul Rabbani
65b7bee7a6 Update the go-version in build container 2022-06-20 09:23:39 -04:00
48eb594ea9
Fix docker-compose for publishing image (#91)
* Fix docker-compose for publishing image

* Add docker build in pr workflow
2022-06-14 13:03:22 +05:30