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

Support ledgerEntryRemoved #130

Merged
merged 3 commits into from
Sep 27, 2024
Merged

Support ledgerEntryRemoved #130

merged 3 commits into from
Sep 27, 2024

Conversation

thpani
Copy link
Collaborator

@thpani thpani commented Sep 26, 2024

So far, we did not support the ledgerEntryRemoved ledger change type in the fetcher.
It occurs when a persistent or temporary entry is removed via env.storage()._().remove(key).

Turns out it already works out-of-the-box, but this PR adds a test (including a removal function in the setter contract).

Closes #122

@thpani thpani requested a review from konnov September 26, 2024 14:36
@thpani thpani changed the title Th/ledger entry removed Support ledgerEntryRemoved Sep 26, 2024
Base automatically changed from th/stable-decoder-test to main September 26, 2024 14:38
An error occurred while trying to automatically change base from th/stable-decoder-test to main September 26, 2024 14:38
Copy link
Contributor

@konnov konnov left a comment

Choose a reason for hiding this comment

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

Really cool!

@thpani thpani merged commit 32c6800 into main Sep 27, 2024
3 checks passed
@thpani thpani deleted the th/ledger-entry-removed branch September 27, 2024 08:51
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.

Handle ledgerEntryRemoved
2 participants