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

refactor(x/swingset): shared KVEntry and helpers #8175

Merged
merged 6 commits into from
Aug 11, 2023

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Aug 11, 2023

refs: #8043 #8031

Description

This is the shared KVEntry and related helpers extracted from #8043.

It's a pure refactor PR which moves the vstorage StorageEntry to a shared KVEntry, adds KVEntryReader which an iterator-like abstraction for KVEntry, and changes the vstorage and swingset modules to use the new abstractions where appropriate.

Security Considerations

None

Scaling Considerations

None

Documentation Considerations

None

Testing Considerations

Added unit tests to cover the KVEntry logic and the new KVEntryReader helpers

Upgrade Considerations

None

Copy link
Contributor

@JimLarson JimLarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on the assurance that these changes were previously reviewed and approved in #8043.

@mhofman mhofman enabled auto-merge August 11, 2023 22:19
@mhofman mhofman added this pull request to the merge queue Aug 11, 2023
Merged via the queue into master with commit d6bb564 Aug 11, 2023
@mhofman mhofman deleted the mhofman/8031-more-snapshot-logic-refactor branch August 11, 2023 22:57
mhofman added a commit that referenced this pull request Aug 15, 2023
…-refactor

refactor(x/swingset): shared KVEntry and helpers
mhofman added a commit that referenced this pull request Aug 15, 2023
…-refactor

refactor(x/swingset): shared KVEntry and helpers
mhofman added a commit that referenced this pull request Aug 16, 2023
…-refactor

refactor(x/swingset): shared KVEntry and helpers
mhofman added a commit that referenced this pull request Aug 16, 2023
…-refactor

refactor(x/swingset): shared KVEntry and helpers
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