-
Notifications
You must be signed in to change notification settings - Fork 75
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
Conversation
f2bbcd5
to
746a350
Compare
319076f
to
01a7ca4
Compare
79807d3
to
fea8d06
Compare
3ec6faf
to
c7d9774
Compare
@@ -0,0 +1,59 @@ | |||
[package] | |||
name = "soroban-rpc" |
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.
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.
97a8db8
to
bf12cc0
Compare
c9ed9b2
to
e28f98b
Compare
@@ -0,0 +1,3 @@ | |||
# soroban-rpc | |||
|
|||
Tools and utilities for soroban rpc. |
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.
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" |
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.
Should this be updated now that 20.1.1
is released?
Thanks for taking this on! Please resolve merge conflicts and make sure all tests are passing and we can get this merged. |
e28f98b
to
2c65160
Compare
This allows for logging transaction data including budgets/costs for later inspection.
2c65160
to
89b3315
Compare
in lieu of #1174 |
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.