Skip to content
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

db: missing length errors in access layer #2001

Merged
merged 5 commits into from
May 7, 2024

Conversation

canepat
Copy link
Member

@canepat canepat commented May 7, 2024

This PR handles some data length errors in access layer by adding missing checks for encoded block numbers and hashes read from different database tables (unit tests included).

Extras

  • demote visibility for state variable in db::ROTxn
  • small code cleanups

@canepat canepat added the maintenance Some maintenance work (fix, refactor, rename, test...) label May 7, 2024
@battlmonstr battlmonstr merged commit 5f0dffc into master May 7, 2024
4 checks passed
@battlmonstr battlmonstr deleted the db_access_layer_length_errors branch May 7, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants