-
Notifications
You must be signed in to change notification settings - Fork 72
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
soroban-rpc: Fix ledgerentry visibility bug #871
Conversation
Nice, thanks! Could you also fix the off-by-one printout of
should really be
|
The integration tests failed before merging :S |
I think there is still an off-by-one error, either in the fix or how we use it in |
Specifically in:
|
However,
|
Can we revert this until we figure it out? |
Specifically it failed at https://github.com/stellar/soroban-tools/actions/runs/5926341294/job/16068360612 with:
and at simulate_transaction_test.go:785 is where we send the restorefootprint operation |
What
Fix a ledger entry visibility bug introduced in #846.
Why
Ledger Entries should be visible when
currentLedger == expirationLedgerSeq
(according to https://soroban.stellar.org/docs/fundamentals-and-concepts/state-expiration#expiration-ledger). But the code previously made it a bit unclear which ledger was LatestClosed vs Current (which led to the bug).Known limitations
[TODO or N/A]