Skip to content

Commit

Permalink
Merge pull request #18 from Uacias/revert-17-uacias/workflow
Browse files Browse the repository at this point in the history
Revert "Simplify."
  • Loading branch information
Uacias authored Dec 5, 2024
2 parents e9f9b6a + b293d77 commit a3316d7
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/openrpc-testgen-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
asdf global scarb 2.8.4
shell: bash

- name: Verify Scarb installation
run: |
scarb --version
shell: bash

- name: Cache target directory
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -113,22 +118,33 @@ jobs:

- name: Scarb build
run: |
cd katana-runner
scarb build
working-directory: katana-runner
- name: Verify Scarb build output
run: |
cd katana-runner
ls -la target/dev/
shell: bash

- name: Build openrpc-testgen-runner
run: |
cargo build --release --features katana -p openrpc-testgen -p openrpc-testgen-runner
working-directory: katana-runner

cd katana-runner
cargo build --release --features katana
- name: Make openrpc-testgen-runner executable
run: |
chmod +x katana-runner/target/release/openrpc-testgen-runner
- name: Run openrpc-testgen-runner binary
run: |
cd katana-runner
target/release/openrpc-testgen-runner \
--urls "http://127.0.0.1:5050" \
--paymaster-account-address "0x127fd5f1fe78a71f8bcd1fec63e3fe2f0486b6ecd5c86a0466c3a21fa5cfcec" \
--paymaster-private-key "0xc5b2fcab997346f3ea1c00b002ecf6f382c5f9c9659a3894eb783c5320f912" \
--udc-address "0x41a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf" \
--account-class-hash "0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2"
working-directory: katana-runner

0 comments on commit a3316d7

Please sign in to comment.