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

feat: create soroban-rpc and break up send_transaction to fix not always submitting a transaction. #1065

Closed
wants to merge 17 commits into from

Conversation

willemneal
Copy link
Member

@willemneal willemneal commented Nov 2, 2023

This creates a new crate for the RPC which is been a long time coming. Perhaps this crate and the go rpc could move to a separate repo. But either way it makes it clearer when the rpc is updated and allowing for updates to the rpc without updating the CLI's dep.

There is some response parsing done by subcommands that could move to the rpc, but this change is minimal to the current RPC API.

@willemneal willemneal force-pushed the cli/fix/view branch 2 times, most recently from f2bbcd5 to 746a350 Compare November 8, 2023 19:56
@willemneal willemneal force-pushed the cli/fix/view branch 2 times, most recently from 319076f to 01a7ca4 Compare November 25, 2023 18:22
@willemneal willemneal changed the title feat: only submit transactions when needed and add data module for exporting data to project directory feat: create soroban-rpc and break up send_transaction to fix not always submitting a transaction. Nov 29, 2023
@willemneal willemneal marked this pull request as ready for review November 29, 2023 21:39
@@ -0,0 +1,59 @@
[package]
name = "soroban-rpc"
Copy link
Member

@leighmcculloch leighmcculloch Dec 7, 2023

Choose a reason for hiding this comment

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

I have pushed an empty crate to crates.io for this crate from the stellar-crates user so that we know we can use it and its ready to go.

@willemneal willemneal force-pushed the cli/fix/view branch 3 times, most recently from 97a8db8 to bf12cc0 Compare December 14, 2023 17:41
@mollykarcher mollykarcher added cli Related to Soroban CLI and removed cli Related to Soroban CLI labels Dec 14, 2023
@mollykarcher mollykarcher added the cli Related to Soroban CLI label Dec 14, 2023
@willemneal willemneal force-pushed the cli/fix/view branch 2 times, most recently from c9ed9b2 to e28f98b Compare December 15, 2023 18:29
@@ -0,0 +1,3 @@
# soroban-rpc

Tools and utilities for soroban rpc.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be ideal to have a more comprehensive README but this is fine to get the crate created/published

@@ -61,26 +61,52 @@ rev = "822ce6cc3e461ccc925275b472d77b6ca35b2cd9"
version = "20.0.2"
path = "cmd/soroban-cli"

[workspace.dependencies.soroban-rpc]
version = "20.0.0-rc4"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be updated now that 20.1.1 is released?

@stellarsaur
Copy link
Contributor

Thanks for taking this on! Please resolve merge conflicts and make sure all tests are passing and we can get this merged.

@willemneal
Copy link
Member Author

in lieu of #1174

@willemneal willemneal closed this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to Soroban CLI
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

soroban-cli: doesn't output diagnostic logs received from submitting tx that fails
4 participants