Skip to content

Commit

Permalink
fix: remove ledger stuff and add comment to tx sign
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jul 9, 2024
1 parent bc18cd6 commit e26599a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
- run: rustup target add ${{ matrix.sys.target }}
- if: matrix.sys.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get update && sudo apt-get -y install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
- if: matrix.sys.target == 'aarch64-unknown-linux-gnu'
run: |
sudo apt install -y libudev-dev
- name: Setup vars
run: |
version="$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "stellar-cli") | .version')"
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ jobs:
path: system-test/js-stellar-sdk

- uses: stellar/actions/rust-cache@main
- name: install libudev-dev
run: |
sudo apt install -y libudev-dev
- name: Build system test with component versions
run: |
cd $GITHUB_WORKSPACE/system-test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/full-help-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- name: install libudev-dev
run: |
sudo apt install -y libudev-dev
- name: Generate help doc
# this looks goofy to get GITHUB_OUTPUT to work with multi-line return values;
# see https://stackoverflow.com/a/74266196/249801
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/rpc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: rustup update
- name: install libudev-dev
run: |
sudo apt install -y libudev-dev
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
- run: make build-test-wasms
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ version = "=21.1.1"
version = "=21.1.0"
path = "cmd/soroban-cli"

[workspace.dependencies.stellar-ledger]
version = "=21.0.0"
path = "cmd/crates/stellar-ledger"

[workspace.dependencies.soroban-rpc]
package = "stellar-rpc-client"
version = "21.3.1"
Expand Down
2 changes: 1 addition & 1 deletion FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ Sign a transaction
* `--global` — Use global config
* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `--check` — Check with user before signature. Eventually this will be replaced with `--yes`, which does the opposite and will force a check without --yes
* `-a`, `--auth-only`
* `-a`, `--auth-only` — Only sign the Authorization Entries required by the provided source account



Expand Down
1 change: 1 addition & 0 deletions cmd/soroban-cli/src/commands/tx/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub enum Error {
pub struct Cmd {
#[clap(flatten)]
pub config: config::Args,
/// Only sign the Authorization Entries required by the provided source account
#[arg(long, visible_alias = "auth", short = 'a')]
pub auth_only: bool,
}
Expand Down

0 comments on commit e26599a

Please sign in to comment.