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

InvokeHostFnOp to restore an entry if archived #1483

Open
4 tasks
anupsdf opened this issue Oct 29, 2024 · 0 comments
Open
4 tasks

InvokeHostFnOp to restore an entry if archived #1483

anupsdf opened this issue Oct 29, 2024 · 0 comments

Comments

@anupsdf
Copy link
Contributor

anupsdf commented Oct 29, 2024

In a future protocol release, when State Archival starts evicting persistent entries, those archived entries will need to be restored before they can be used. This makes it a two step process to use a previously archived ledger entry.

This tracking issue is to explore if we can restore the archived entry during InvokeHostFnOp call. This reduces having to write the entry twice (one for restoring and another for updating it) which also means we don't have to double charge the fees.

  • Explore fees side of things
  • Explore adding restoration proof in InvokeHostFnOp
  • RPC interface changes if any
  • Write a CAP
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

No branches or pull requests

1 participant