Commit Graph

208 Commits

Author SHA1 Message Date
323ed2da00 Remove get_child function
Was only used in canonical_header_from_array
2023-07-23 01:27:00 +08:00
5b92e02ebd Docker compose cleanup
- preferred naming convenion is compose.yaml
- test compose was redundant
- uncomment build section for convenience, since it's only used as a fallback
2023-07-23 01:27:00 +08:00
dcd911a8ff Simplify docker publish workflow 2023-07-23 01:27:00 +08:00
59d01ad30b Drop version tag in docker-compose 2023-07-23 01:26:08 +08:00
9618c0710e
Switch to GITEA_PUBLISH_TOKEN for publishing. (#140) 2023-07-21 14:03:41 -05:00
8779bb2b86
Do not make eth.header_cids a hypertable. (#137) 2023-07-21 13:27:26 -05: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
66cd1d9e69
Merge pull request #135 from cerc-io/roy/v5-dev 2023-05-15 21:23:32 +08:00
af9910d381 Update schema dump 2023-05-15 14:17:46 +08:00
e4e1b0ea1f Upgrade github action 2023-05-15 12:03:51 +08:00
050c1ae3df Startup script tweaks
* forward goose command
* don't idle migrations container
2023-05-15 12:03:30 +08:00
2afa6e9fa5
Merge pull request #134 from cerc-io/roy/v5-dev
Schema fixes for v5
2023-04-24 22:20:10 +08:00
3a475b4de4 independent header_result interface type 2023-04-18 17:46:33 +08:00
bf7b4eb627 add index col to uncle_cids index 2023-04-18 14:55:37 +08:00
Ian Norden
167cfbfb20
Merge pull request #131 from cerc-io/ian_dev
cherry-pick dockerfile, docker-compose, actions, and Makefile adjustments onto v5
2023-03-21 15:08:50 -05:00
i-norden
fcb93d17ed remove vestigal action 2023-03-21 15:08:04 -05:00
i-norden
1bb4fe04f0 fix after cherry-pick 2023-03-21 12:50:37 -05:00
i-norden
10c84b589f comments for using local build 2023-03-21 12:43:29 -05:00
i-norden
527ff11328 use v5.0.0-alpha 2023-03-21 12:42:14 -05:00
a91f44773c Clean up Dockerfile (#130) 2023-03-21 12:39:41 -05:00
0595f3dc15 Renames and clean up (#129)
* Cerc refactor contd.

* consistent local docker tag
2023-03-21 12:38:43 -05:00
Ian Norden
9f07d4f4d4
Merge pull request #128 from cerc-io/ian/v5
fix bug due to block_number argument being overridden by the optimist…
2023-03-09 09:03:55 -06:00
i-norden
c9edf6c832 fix bug due to block_number argument being overridden by the optimistic path 2023-03-08 12:42:37 -06:00
Ian Norden
67dc84205a
Merge pull request #127 from cerc-io/ian/v5
Modified `get_storage_at` procedures for v5
2023-03-08 12:02:13 -06:00
i-norden
22dcf5c72e review fixes 2023-03-08 11:10:23 -06:00
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