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

datastore: fix state storage format #2715

Merged
merged 9 commits into from
Feb 11, 2025
Merged

Conversation

JacekGlen
Copy link
Member

When writing data for the domain storage, the leading zeros from the value are truncated.

Similarly, when reading data from kvdb or snapshots, the storage value is refilled with zeros to fit the length of bytes32.

@canepat canepat added erigon3 Erigon3 feature maintenance Some maintenance work (fix, refactor, rename, test...) labels Feb 11, 2025
@JacekGlen JacekGlen requested a review from canepat February 11, 2025 14:42
@canepat canepat merged commit 7ea57b6 into master Feb 11, 2025
5 checks passed
@canepat canepat deleted the fix-state-storage-format branch February 11, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 Erigon3 feature maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants