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: Data API timestamp conversion #2750

Merged
merged 2 commits into from
Feb 25, 2025
Merged

Conversation

canepat
Copy link
Member

@canepat canepat commented Feb 24, 2025

No description provided.

@canepat canepat added erigon3 Erigon3 feature temporal kv Related to Temporal KV aka Data API labels Feb 25, 2025
@canepat canepat marked this pull request as ready for review February 25, 2025 10:16
@canepat canepat requested a review from battlmonstr February 25, 2025 10:16
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd either call the file ts_range_from_kv.cpp, or move it to api/endpoint/timestamp.cpp and move api::Timestamp and TimestampRange from common.hpp there.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll take your first suggestion (renaming the file) and in the meantime improve the naming from ts_range_from_kv to as_datastore_ts_range, since the function is already in namespace db::kv::api.

@canepat canepat merged commit 55cd2f6 into master Feb 25, 2025
5 checks passed
@canepat canepat deleted the db_kv_timestamp_range_conversion branch February 25, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 Erigon3 feature temporal kv Related to Temporal KV aka Data API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants