-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: store blocks while crawling transactions and chain #190
enhancement: store blocks while crawling transactions and chain #190
Conversation
Working on fixing tests here -- it's failing because in this branch there is now a foreign key constraint between |
@joel-u410 hello, can you point this to 1.0.0-maint ? |
Yep, will do! |
203c0b9
to
d6a58c9
Compare
So, in #203 I have added code that resolves I'm wondering now if we should do the same here, and store the @mateuszjasiuk @Fraccaman what do you think? |
Uhmmm so, in future we will need to have a |
That makes sense, especially if Although, I would be concerned about failing to insert a I'd like to rebase this one & revisit the |
Cool! I'd prefer to merge this sooner than later as this is needed for shieled sync improvements in namadillo, so maybe let's do fk thing later. Edit: |
@mateuszjasiuk I'll take a look today |
Really weird, I didn't have any issues compiling. But makes sense though -- I did change the schema to make those columns nullable, so the diesel schema should indeed be regenerated. Edit: I see now -- I didn't need to update the diesel schema with
Hmm .. actually it's probably better in that case to query the actual initial block instead of seeding with an empty block. I'll take a closer look. |
d6a58c9
to
593ef20
Compare
ok @mateuszjasiuk please test again, it should be good to merge now, I made the following changes:
|
Nice! This works. Thanks for quick response :) |
No description provided.