Minor README fixes, and getting started with doc updates #185
Labels
No Label
bug
critical
duplicate
enhancement
epic
help wanted
in progress
invalid
low priority
question
rebase
v1
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/go-ethereum#185
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System information
Used
3fb695c1e60d958d229be2c495a90d309dc800e9
ofipld-eth-db
to initialize db.Background
I started working at Fission this week and have been looking at the vulcanize repos, comparing with the Laconic whitepaper, and attempting to understand the moving parts and update docs. I'm not sure if this is considered too early to be submitting issues or PRs for doc clean up, but I wanted to reach out and see how I can help and if someone closer to the code might have random notes or doc they can feed me to help kickstart both my learning and any doc contributions I can make.
Thanks in advance for any guidance and info sharing. 🙏🏻
Details
Here are some issues I've noticed related to this repo's statediff README.
Does this last error relate to me setting up the database using the wrong version of the schema perhaps?
To set up that db I did the following. Note that I'm not using Docker for the current explorations, though that's on my list of things to look into further as well.
The README mentioned importing from schema.sql, but that file doesn't exist in this repo. It looked to me like running the goose migrations using the Makefile was the way to go.
Thank you. 🙇🏻♂️
Thinking aloud about things I'm sure you don't need me to tell you...
It looks like the
id
error is due to https://github.com/vulcanize/go-ethereum/blob/statediff/statediff/indexer/postgres/postgres.go#L69 returningid
but thenodes
table not having anid
column. Git history isn't giving me any clues that something changed recently in this code or the migrations inipld-eth-db
, so I'll speculate that the db changed structure (or ways the schema is managed) maybe a month back and statediff geth hasn't caught up? Or perhaps somehow related to the migration from v2 to v3 of the database mentioned inmigration-tools
? Thestatediff
branch seems to be tracking with the v3 tags so I think I ran them from the right branch.Any whom, enough speculating for tonight. Thanks again. 🤝
See https://github.com/vulcanize/go-ethereum/pull/186.
Hi @justincjohnson thank you and sorry I didn't get to you sooner, the
statediff
branch was outdated. No great excuse for letting that happen, but it is in part due to the fact that we are in a transitory phase where we need to maintain, and continually rebase, two versions of the statediffing code: one for our v0.2.x version of the DB (v1.10.14-statediff-0.0.29) schema and one for our v0.3.x version of the DB (v1.10.11-statediff-0.1.0).The cause of the
id
error is due to thisstatediff
branch tracking a version of the code that works with the v0.2.x DB schema, whereas the main branch of ipld-eth-db is at the v0.3.x version.The safest way to checkout the code- until we finish the v2 => v3 migration and clean up our organization and documentation of this statediff branch- is to checkout one of the tagged release. In the release notes there will be a note indicating which version of the DB schema it works with.
Again, sorry for the confusion, this issue is very helpful in highlighting the issues we have with tracking versions in and across repos.