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

Add support for LEDGER_ENTRY_RESTORE #5421

Open
tamirms opened this issue Aug 13, 2024 · 0 comments
Open

Add support for LEDGER_ENTRY_RESTORE #5421

tamirms opened this issue Aug 13, 2024 · 0 comments

Comments

@tamirms
Copy link
Contributor

tamirms commented Aug 13, 2024

Protocol 22 will introduce a new ledger entry change type called LEDGER_ENTRY_RESTORE

When an entry is restored, a new type of LedgerEntryChange is emitted: LedgerEntryChangeType = LEDGER_ENTRY_RESTORE. The entire ingestion stack will need to be able to understand the semantics of this new change.

The ingestion library will need to support LEDGER_ENTRY_RESTORE because it currently returns an error when encountering an unknown change type. Horizon ingestion should interpret a LEDGER_ENTRY_RESTORE change in the same way as LEDGER_ENTRY_CREATED because the two are functionally equivalent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Development

No branches or pull requests

3 participants