-
Notifications
You must be signed in to change notification settings - Fork 140
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
Logs: Indexing/Filtering bugs #1345
Comments
(3) is fixed. (1) and (2) will be addressed later. |
Will move to Ian after changes in FIP49 |
1 will invalidate existing data in database. Not a big deal at this time but thought I would note it here. |
@iand that's fine, node operators are going to be resetting their chain and resyncing from Hyperspace genesis to fix other issues, so this is the right time to introduce any breaking changes to the events index. |
While adding tests I've encountered various places where values are being compared incorrectly (cbor encoded against raw) or double decoded. I'm fixing them all to so we are consistent and tests pass. Currently the consistent position is that all filters and database entries use raw values and test against cbor-decoded event logs. Once we have the improved test coverage I will change that convention as described in this issue: all internal filters and database entries will use cbor-encoded values and we will encode/decode in the API. |
filecoin-project/lotus#10085 rationalises the cbor encoding hacks and fixed the broken test noted in 3 as a consequence |
filecoin-project/lotus#10085 was merged into filecoin-project/lotus#10083 so this should be fixed when that lands |
filecoin-project/lotus#10083 was merged to 1.20.0 so this should be closed as done |
The text was updated successfully, but these errors were encountered: