Commit Graph

158 Commits

Author SHA1 Message Date
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
prathamesh0
a44724c3d7
Fix stored functions for in-place snapshot (#87) 2022-06-14 11:00:54 +05:30
prathamesh0
60074a945c
Update instructions and docker-compose files for simplified db setup (#88) 2022-06-07 14:46:47 +05:30
Abdul Rabbani
91d30b9ea1
Merge pull request #84 from vulcanize/feature/startup-script
Update startup_script.sh
2022-05-31 12:25:55 -04:00
Abdul Rabbani
3f034d40ce Update startup_script.sh 2022-05-27 09:23:48 -04:00
Ashwin Phatak
14762a119f
Merge pull request #79 from deep-stack/pm-single-node
Run migrations on a single-node TimescaleDB setup
2022-05-17 16:19:34 +05:30
1c4759da05 Clean up README 2022-05-17 16:01:48 +05:30
49daf851cc Run migrations on a single-node TimescaleDB setup 2022-05-17 15:50:55 +05:30
Ashwin Phatak
b64ad6e3f7
Merge pull request #78 from deep-stack/pm-docker-job
Merge changes for docker process to build and push a docker image
2022-05-17 11:19:52 +05:30
0ad88f6126 Merge changes for docker process to build and push a docker image 2022-05-17 10:27:00 +05:30
Abdul Rabbani
3014e51326
Merge pull request #77 from vulcanize/feature/docker-cicd
Use a single file to build and push a docker image
2022-05-16 11:46:27 -04:00
Abdul Rabbani
972ab2f102 Allow edited release tags to run the pipeline 2022-05-13 08:03:26 -04:00
Abdul Rabbani
47d4961ea6 Require the push job to wait. 2022-05-13 07:59:13 -04:00
Abdul Rabbani
31f115540f Combine docker build and push for releases 2022-05-12 11:18:08 -04:00
Ashwin Phatak
00897cef2c
Merge pull request #76 from vulcanize/pm-v4-merge
Merge latest changes from main into sharding branch
2022-05-11 15:22:53 +05:30
bc68969abb Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
Ashwin Phatak
916af4f832
Merge pull request #75 from deep-stack/pm-image-migrations
Update Dockerfile to run migrations
2022-05-10 16:58:51 +05:30
526bda7090 Temporarily skip on-pr CI checks 2022-05-10 16:43:52 +05:30
d0f5110dec Update Dockerfile to run migrations 2022-05-10 16:22:35 +05:30
Ashwin Phatak
7312b330cd
Merge pull request #74 from deep-stack/pm-cleanup-migrations
Create distributed hypertables directly, skipping hypertables
2022-05-10 10:07:46 +05:30
0ccb54c770 Skip migration to create hypertables 2022-05-10 10:05:28 +05:30
33b293f2bb Fix migrations naming 2022-05-09 17:22:19 +05:30
Ashwin Phatak
045120ce20
Merge pull request #72 from deep-stack/pm-v4-multi-node
Multi-node setup to run the migrations
2022-05-04 16:04:10 +05:30
70cf01ff27 Create stored functions after creating distributed hypertables 2022-05-04 15:48:20 +05:30
06d9ef96e7 Multi-node setup to run the migrations 2022-04-29 10:51:40 +05:30
Ashwin Phatak
96bd0b5d9a
Merge pull request #70 from deep-stack/pm-v4-schema-fixes
Remove foreign keys to hypertables and fix schema dump
2022-04-26 09:55:37 +05:30