Skip to content

Commit 6b34e78

Browse files
willemnealleighmccullochelizabethengelmanifropc
authored
Feat: add stellar ledger as signer (#1627)
Co-authored-by: Willem Wyndham <[email protected]> Co-authored-by: Leigh McCulloch <[email protected]> Co-authored-by: Elizabeth Engelman <[email protected]> Co-authored-by: Gleb <[email protected]>
1 parent 28aaae5 commit 6b34e78

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+939
-604
lines changed

.github/workflows/bindings-ts.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: bindings typescript
22

33
on:
4-
push:
5-
branches: [main, release/**]
6-
pull_request:
4+
push:
5+
branches: [main, release/**]
6+
pull_request:
77

88
jobs:
99
test:
@@ -38,9 +38,10 @@ jobs:
3838
target/
3939
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4040
- run: rustup update
41-
- run: sudo apt update && sudo apt install -y libdbus-1-dev
41+
- run: sudo apt update && sudo apt install -y libdbus-1-dev libudev-dev
4242
- run: cargo build
4343
- run: rustup target add wasm32-unknown-unknown
4444
- run: make build-test-wasms
4545
- run: npm ci && npm run test
4646
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
47+

.github/workflows/ledger-emulator.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
11
name: Ledger Emulator Tests
22

33
on:
4-
push:
5-
branches: [main, release/**]
6-
pull_request:
4+
push:
5+
branches: [main, release/**]
6+
pull_request:
77

88
concurrency:
9-
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
10-
cancel-in-progress: true
9+
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
10+
cancel-in-progress: true
1111

1212
defaults:
13-
run:
14-
shell: bash
13+
run:
14+
shell: bash
1515

1616
jobs:
17-
emulator-tests:
18-
runs-on: ubuntu-latest
19-
env:
20-
CI_TESTS: true
21-
steps:
22-
- uses: actions/checkout@v4
23-
- uses: stellar/actions/rust-cache@main
24-
- name: install libudev-dev
25-
run: |
26-
sudo apt update && sudo apt install -y libudev-dev
27-
- run: |
28-
cargo test --manifest-path cmd/crates/stellar-ledger/Cargo.toml --features "emulator-tests" -- --nocapture
17+
emulator-tests:
18+
runs-on: ubuntu-latest
19+
env:
20+
CI_TESTS: true
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: stellar/actions/rust-cache@main
24+
- name: install libudev-dev & libdbus-1-dev
25+
run: |
26+
sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
27+
- run: |
28+
cargo test --manifest-path cmd/crates/stellar-ledger/Cargo.toml --features "emulator-tests" -- --nocapture
29+
- run: cargo build --features emulator-tests
30+
- run: |
31+
cargo test --features emulator-tests --package soroban-test --test it -- emulator

.github/workflows/rpc-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: RPC Tests
22
on:
3-
push:
4-
branches: [main, release/**]
5-
pull_request:
3+
push:
4+
branches: [main, release/**]
5+
pull_request:
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
9-
cancel-in-progress: true
8+
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
9+
cancel-in-progress: true
1010

1111
jobs:
1212
test:
@@ -39,7 +39,7 @@ jobs:
3939
target/
4040
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4141
- run: rustup update
42-
- run: sudo apt update && sudo apt install -y libdbus-1-dev
42+
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
4343
- run: cargo build
4444
- run: rustup target add wasm32-unknown-unknown
4545
- run: make build-test-wasms

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050
- uses: stellar/actions/rust-cache@main
5151
- run: rustup update
52-
- run: sudo apt update && sudo apt install -y libdbus-1-dev
52+
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
5353
- run: make generate-full-help-doc
5454
- run: git add -N . && git diff HEAD --exit-code
5555

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ test_snapshots
99
.idea
1010
local.sh
1111
.stellar
12+
.zed

0 commit comments

Comments
 (0)