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

fix: update CLI and tests for new getLedgerEntries #1021

Merged

Conversation

willemneal
Copy link
Member

No description provided.

Copy link
Contributor

@tsachiherman tsachiherman left a comment

Choose a reason for hiding this comment

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

just one tiny request.

@@ -96,8 +98,8 @@ pub enum Error {
SpecBase64(#[from] soroban_spec::read::ParseSpecBase64Error),
#[error("Fee was too large {0}")]
LargeFee(u64),
#[error("Failed to parse LedgerEntryData")]
FailedParseLedgerEntryData,
#[error("Failed to parse LedgerEntryData\nkey:{0:?}\nvalue:{1:?}\nexpiration:{2:?}")]
Copy link
Contributor

Choose a reason for hiding this comment

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

redundant space after the word "parse".

@tsachiherman tsachiherman merged commit b4838f8 into stellar:tsachi/ledgerentries Oct 12, 2023
tsachiherman added a commit that referenced this pull request Oct 13, 2023
* Bump Rust and Go dependencies

* Start migrating soroban-rpc

* Fix get_ledger_changes() invocation

* wip migrating the soroban-cli (incomplete!)

* Appease rust

* Bump core dependencies

* Bump Go dependencies again

* Fix test comparisons

* Fix BumpAndRestoreFootprint test

* Improve restore test a bit further

* Adjust tests further

* Fix typo

* Fix GetPreflight test

* Get CLI to compile and fix most TODOs

* run cargo md-gen

* Appease clippy

* Add comment about expiration entry efficiency

* Address review feedback

* Take a stab at extracting the spec from the state

* update

* linter

* limit get_ledger_entries to expiration ledger entries.

* fix cli serialization

* update test

* further fix..

* further fix.

* further fix

* update test

* fix typo

* fix: update CLI and tests for new getLedgerEntries (#1021)

* fix: add latest_modified_ledger to FullLedgerEntry

Also simplifies parsing FullLedgerEntry

* fix: CLI test for contract read

* fix: update tests to use getLedgerEntries

* fix: nit

* step

* update

* fix tests

* updating

* update per code review

---------

Co-authored-by: Alfonso Acosta <alfonso@stellar.org>
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
Co-authored-by: Willem Wyndham <willem@ahalabs.dev>
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.

2 participants