-
Notifications
You must be signed in to change notification settings - Fork 17
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
Include expiration entry on ledger entries in getContractData/getLedgerEntries responses #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick first-pass review, looks pretty good but hoping we can simplify this? great test coverage to kick it off though 👏
@Shaptic , I've responded to feedback, all commits in, lmk, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getting close, some minor comments and a few Qs about the parsing logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work and great test coverage 👏
This is a client-side approach to eagerly fetching the ledger entry expiration info(ExpirationEntry) automatically for any
LedgerDataEntry
requested through getLedgerEntries and getContractData, and then it embeds the ExpirationEntry found asexpiration
on each response item built from the LedgerDataEntry.it's meant as interim solution until stellar/stellar-cli#1010 modifes the rpc server to include expiration entry info by default on ledger data entries in rpc responses.
Closes #153