Skip to content

Commit

Permalink
Deprecate soroban-rpc and publish stellar-rpc-client (#93)
Browse files Browse the repository at this point in the history
* Rename soroban-rpc to soroban-rpc-client

* Keep soroban-rpc with readme and rename soroban-rpc client to stellar-rpc-client

* Add empty lib.rs in order to publish

* Fix build-and-test workflow

* Remove soroban-rpc crate entirely
  • Loading branch information
psheth9 authored Mar 13, 2024
1 parent 7e543f3 commit 57b8f28
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

# the soroban CLI & RPC source code to compile and run from system test
# refers to checked out source of current git hub ref context
SYSTEM_TEST_SOROBAN_CLI_REF: https://github.com/stellar/soroban-tools.git\#main
SYSTEM_TEST_SOROBAN_CLI_REF: https://github.com/stellar/soroban-cli.git\#main
SYSTEM_TEST_SOROBAN_RPC_REF: ${{ github.workspace }}/soroban-rpc

# core git ref should be latest commit for stable soroban functionality
Expand Down
62 changes: 31 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[workspace]
resolver = "2"
members = [
"cmd/crates/soroban-rpc",
"cmd/crates/stellar-rpc-client",
"cmd/soroban-rpc/lib/preflight",
]
default-members = ["cmd/crates/soroban-rpc"]
default-members = ["cmd/crates/stellar-rpc-client"]
#exclude = ["cmd/crates/soroban-test/tests/fixtures/hello"]

[workspace.package]
Expand Down Expand Up @@ -37,12 +37,12 @@ version = "=20.3.2"

[workspace.dependencies.soroban-spec-json]
version = "20.3.0"
git = "https://github.com/stellar/soroban-tools"
git = "https://github.com/stellar/soroban-cli"
rev = "a59f5f421a27bab71472041fc619dd8b0d1cf902"

[workspace.dependencies.soroban-spec-typescript]
version = "20.3.0"
git = "https://github.com/stellar/soroban-tools"
git = "https://github.com/stellar/soroban-cli"
rev = "a59f5f421a27bab71472041fc619dd8b0d1cf902"

[workspace.dependencies.soroban-sdk]
Expand All @@ -60,9 +60,9 @@ version = "=20.3.2"
# git = "https://github.com/stellar/rs-soroban-sdk"
# rev = "4aef54ff9295c2fca4c5b9fbd2c92d0ff99f67de"

[workspace.dependencies.soroban-rpc]
[workspace.dependencies.stellar-rpc-client]
version = "20.3.3"
path = "cmd/crates/soroban-rpc"
path = "cmd/crates/stellar-rpc-client"

[workspace.dependencies.stellar-xdr]
version = "=20.1.0"
Expand Down
3 changes: 0 additions & 3 deletions cmd/crates/soroban-rpc/README.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "soroban-rpc"
description = "Soroban RPC client for rust"
homepage = "https://github.com/stellar/soroban-tools"
repository = "https://github.com/stellar/soroban-tools"
name = "stellar-rpc-client"
description = "Stellar RPC client for rust"
homepage = "https://github.com/stellar/soroban-rpc"
repository = "https://github.com/stellar/soroban-rpc"
authors = ["Stellar Development Foundation <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down
3 changes: 3 additions & 0 deletions cmd/crates/stellar-rpc-client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# stellar-rpc-client

A rust client for communicating with the soroban-rpc.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions cmd/soroban-rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ testnet release candidates from the [testing repository.](https://apt.stellar.or
- Follow the build steps listed in [INSTALL.md](https://github.com/stellar/stellar-core/blob/master/INSTALL.md) file for the instructions on building the local binary

## Building Soroban-RPC
- Similar to stellar-core, we will clone the soroban-tools repo and checkout the testnet release tag:
- Similar to stellar-core, we will clone the soroban-rpc repo and checkout the testnet release tag:
```bash
git clone https://github.com/stellar/soroban-tools.git
cd soroban-tools
git clone https://github.com/stellar/soroban-rpc.git
cd soroban-rpc
git fetch --tags
git checkout tags/v20.0.0-rc4 -b soroban-testnet-release
git checkout tags/v20.3.3 -b soroban-testnet-release
```
- Build soroban-rpc target:
```bash
Expand Down

0 comments on commit 57b8f28

Please sign in to comment.