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

WIP: Archival Storage and Query #1153

Closed
wants to merge 1 commit into from

Conversation

cemozerr
Copy link
Member

Description

This PR is a WIP attempting to add archival storage query access.

We already have versioning for the StateDB, having queries to archival states of StateDB is quite simple. The big work left here is to add versioning to the NativeDB, which stores items related to Accessory State.

@@ -59,7 +59,7 @@ impl ExposeRpcMacro {
impl #impl_generics ::std::clone::Clone for RpcStorage #ty_generics #where_clause {
fn clone(&self) -> Self {
Self {
storage: self.storage.clone(),
storage: ArchivalStorage::new(self.storage.clone()),
Copy link
Member Author

Choose a reason for hiding this comment

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

This line just doesn't work. It's just a leftover from having tried different APIs

@cemozerr
Copy link
Member Author

Closing in favor of: #1170

@cemozerr cemozerr closed this Dec 20, 2023
@cemozerr cemozerr deleted the archivalQuery branch December 20, 2023 00:03
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.

1 participant