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

Use big-endian 32-bit keys in db_test.rs #444

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Use big-endian 32-bit keys in db_test.rs #444

merged 2 commits into from
Jun 29, 2023

Conversation

neysofu
Copy link
Member

@neysofu neysofu commented Jun 28, 2023

Description

Follow-up to #417 and #443: the serialization used by the keys of TestSchema1 and TestSchema2 was little-endian and iteration was out-of-order for multi-byte values.

Linked Issues

Testing

Added new assertions in fn test_schema_put_get.

@neysofu neysofu changed the title Use big-endian 64-bit keys in db_test.rs Use big-endian 32-bit keys in db_test.rs Jun 28, 2023
@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #444 (4641a1a) into main (e7244f0) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted Files Coverage Δ
full-node/db/sov-schema-db/src/db_test.rs 100.0% <100.0%> (ø)

@neysofu neysofu merged commit 64a4eda into main Jun 29, 2023
6 checks passed
@neysofu neysofu deleted the filippo/fix-db-test branch June 29, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants