-
Notifications
You must be signed in to change notification settings - Fork 104
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
protocolParams returning null #376
Comments
This fixes itself after a full DB and node re-sync. |
When checking the rebuilt instance, was 231 still the current epoch ? |
Yes, at that point it was still 231. From what I've seen, transitioning from 230 to 231 wasn't populating the records (protocolParams and activeStake) for 231 but I could still lookup records in 230. This only happened when the node was running live during the epoch transition. When doing a DB rebuild, the data is then populated for epoch 231 while 231 was the current active epoch. During the last transition from epoch 231 to 232 I did not have this issue and I wasn't impacted by the cardano-db-sync epoch bug at all while running the graphql 3.0.0 release. I do notice that when running Am I correct in understanding that at the start of an epoch, protocolParams and activeStake are calculated and then populated into the table which can cause the 'initialized' to turn to 'false' during this calculation? If this is the case, is it possible that if there's a system glitch during that time that it could cause both of these to fail and therefore not populate the tables? |
Just an update. No issues with this bug during the epoch transition to 233. |
Thanks for the additional info @CyberCyclone.
Yes it's possible. Feel free to reopen if you think there's more to be done here. Here's a simplified query too: {
cardano {
currentEpoch {
protocolParams {
a0
decentralisationParam
nOpt
rho
tau
}
}
}
} |
Running Git commit 6f20487
Platform
Platform version:
Runtime
Steps to reproduce the bug
Something "interesting" has happened with the epoch change over. The protocolParams in the epoch for 231 is empty. This bug seems to be similar to what has caused #375.
This occurred at the moment of the epoch change over:
Running this command usually pulls this epochs stats but as you can see it's null:
Next Steps
I'm currently doing a full db and cardano-node rebuild on another server to see if it does anything.
The text was updated successfully, but these errors were encountered: