Merged
Conversation
twoeths
commented
May 6, 2025
| // It is redundant to include "zig" in this name because it is already | ||
| // within the Zig package namespace. | ||
| .name = "state-transition-z", | ||
| .name = .state_transition_z, |
Collaborator
Author
There was a problem hiding this comment.
this was generated by removing the above file and issue "zig init" again
Performance Report✔️ no performance regression detected Full benchmark results
|
wemeetagain
pushed a commit
that referenced
this pull request
Nov 12, 2025
wemeetagain
pushed a commit
that referenced
this pull request
Mar 12, 2026
lodekeeper-z
added a commit
to lodekeeper-z/lodestar-z
that referenced
this pull request
Mar 28, 2026
Medium issue ChainSafe#8 from REVIEW.md: getLatestStateArchiveSlot loaded ALL keys from the state archive to find the maximum. On mainnet with 100k+ finalized epochs this allocates and iterates 100k+ byte slices. Changes: - Add LmdbCursor.last() method using MDB_LAST (O(1), LMDB sorts keys) - Add KVStore.VTable.lastKey fn ptr + Database.lastKey convenience method - Implement vtableLastKey in LmdbKVStore using cursor.last() - Implement memLastKey in MemoryKVStore (iterates all for correctness in tests) - Rewrite getLatestStateArchiveSlot to use lastKey() — single cursor op All 57 db tests pass. 🤖 Generated with AI assistance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation