Skip to content

Error if footprint has expired entry - #3824

Merged
latobarita merged 5 commits into
stellar:masterfrom
sisuresh:access-bug
Jul 12, 2023
Merged

latobarita merged 5 commits into
stellar:masterfrom
sisuresh:access-bug

Conversation

@sisuresh

Copy link
Copy Markdown
Contributor

Description

Attempting to access an expired persistent entry should result in an error.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@dmkozh dmkozh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We need the same check for the bump footprint op

@sisuresh

Copy link
Copy Markdown
Contributor Author

We need the same check for the bump footprint op

I don't think we do. We only load live entries there.

@dmkozh

dmkozh commented Jul 11, 2023

Copy link
Copy Markdown
Contributor

I don't think we do. We only load live entries there.

Oh, right, that's fine, though a bit inconsistent.

@sisuresh
sisuresh marked this pull request as ready for review July 12, 2023 17:20
@dmkozh

dmkozh commented Jul 12, 2023

Copy link
Copy Markdown
Contributor

r+ bef8df4

@latobarita
latobarita merged commit 0eab126 into stellar:master Jul 12, 2023
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.

3 participants