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

Replace cli xdr command with stellar-xdr cli #1135

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Replace cli xdr command with stellar-xdr cli #1135

merged 4 commits into from
Dec 19, 2023

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Dec 18, 2023

What

Replace cli xdr command with stellar-xdr cli

Why

The stellar-xdr library contains a CLI interface that has more in it than the soroban-cli's xdr command does. Instead of maintaining two, we should just reuse the same CLI within the soroban-cli.

Close #1018

@leighmcculloch leighmcculloch marked this pull request as ready for review December 19, 2023 02:41
@leighmcculloch
Copy link
Member Author

The dependency sanity checker is erroring in a case where it should be okay to continue. It is displaying this error message:

The Core revision used in integration tests (a08874a4c) uses a different revision of https://github.com/stellar/rs-stellar-xdr

Current repository's revision 20.0.2
Core's revision 20.0.0

The version of stellar-xdr used in this repo contains some patches ontop of what core was released with, and those patchers are irrelevant to core and we don't expect core to release a patch for it.

The most important dependency to check is the version of the XDR itself, not the version of the stellar-xdr lib.

@leighmcculloch leighmcculloch enabled auto-merge (squash) December 19, 2023 03:40
Copy link
Contributor

@stellarsaur stellarsaur left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@leighmcculloch leighmcculloch merged commit 6553afb into main Dec 19, 2023
24 of 25 checks passed
@leighmcculloch leighmcculloch deleted the i1018 branch December 19, 2023 21:58
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.

soroban-cli: replace lab xdr subcommand with embedding the stellar-xdr cli
2 participants