Skip to content

Commit

Permalink
Slipstream/iota test validator (#2766)
Browse files Browse the repository at this point in the history
* mainnet-v1.32.2 crates/iota-test-validator

* refactor: clean iota-test-validator from workspace, CI, scripts

---------

Co-authored-by: Alexander Sporn <[email protected]>
  • Loading branch information
kodemartin and alexsporn authored Sep 20, 2024
1 parent 8748bb9 commit c722a04
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 474 deletions.
2 changes: 0 additions & 2 deletions .github/crates-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ iota-swarm-config:
- "crates/iota-swarm-config/**"
iota-test-transaction-builder:
- "crates/iota-test-transaction-builder/**"
iota-test-validator:
- "crates/iota-test-validator/**"
iota-tls:
- "crates/iota-tls/**"
iota-tool:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected]
- run: cargo build --bin iota-test-validator --bin iota --profile dev
- run: cargo build --bin iota --features indexer --profile dev
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Set env
run: |
echo "VITE_IOTA_BIN=$PWD/target/debug/iota" >> $GITHUB_ENV
echo "E2E_RUN_LOCAL_NET_CMD=(RUST_LOG=info RUST_BACKTRACE=1 $(echo $PWD/target/debug/iota-test-validator) --with-indexer --pg-port 5432 --pg-db-name iota_indexer_v2 --graphql-host 127.0.0.1 --graphql-port 9125)" >> $GITHUB_ENV
echo "E2E_RUN_LOCAL_NET_CMD=(RUST_LOG=info RUST_BACKTRACE=1 $(echo $PWD/target/debug/iota) start --with-indexer --pg-port 5432 --pg-db-name iota_indexer_v2 --with-graphql 127.0.0.1:9125)" >> $GITHUB_ENV

- name: Run TS SDK e2e tests
if: inputs.isTypescriptSDK || inputs.isRust
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ jobs:
- name: cargo build (release) for ${{ matrix.os }} platform
shell: bash
run: |
[ -f ~/.cargo/env ] && source ~/.cargo/env ; cargo build --release --bin iota --bin iota-test-validator --bin iota-indexer
[ -f ~/.cargo/env ] && source ~/.cargo/env ; cargo build --release --bin iota --bin iota-indexer --features indexer
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name }}
path: |
./target/release/iota
./target/release/iota-test-validator
./target/release/iota-indexer
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ jobs:
[ -f ./target/release/iota-node ] && mv ./target/release/iota-node ./target/release/iota-node-${os_type}
[ -f ./target/release/iota-tool ] && mv ./target/release/iota-tool ./target/release/iota-tool-${os_type}
[ -f ./target/release/iota-faucet ] && mv ./target/release/iota-faucet ./target/release/iota-faucet-${os_type}
[ -f ./target/release/iota-test-validator ] && mv ./target/release/iota-test-validator ./target/release/iota-test-validator-${os_type}
[ -f ./target/release/iota-data-ingestion ] && mv ./target/release/iota-data-ingestion ./target/release/iota-data-ingestion-${os_type}
[ -f ./target/release/iota-bridge ] && mv ./target/release/iota-bridge ./target/release/iota-bridge-${os_type}
[ -f ./external-crates/move/target/release/move-analyzer ] && mv ./external-crates/move/target/release/move-analyzer ./external-crates/move/target/release/move-analyzer-${os_type}
Expand All @@ -157,7 +156,6 @@ jobs:
[ -f ./target/release/iota-node.exe ] && mv ./target/release/iota-node.exe ./target/release/iota-node-${os_type}.exe
[ -f ./target/release/iota-tool.exe ] && mv ./target/release/iota-tool.exe ./target/release/iota-tool-${os_type}.exe
[ -f ./target/release/iota-faucet.exe ] && mv ./target/release/iota-faucet.exe ./target/release/iota-faucet-${os_type}.exe
[ -f ./target/release/iota-test-validator.exe ] && mv ./target/release/iota-test-validator.exe ./target/release/iota-test-validator-${os_type}.exe
[ -f ./target/release/iota-indexer.exe ] && mv ./target/release/iota-indexer.exe ./target/release/iota-indexer-${os_type}.exe
[ -f ./target/release/iota-data-ingestion.exe ] && mv ./target/release/iota-data-ingestion.exe ./target/release/iota-data-ingestion-${os_type}.exe
[ -f ./external-crates/move/target/release/move-analyzer.exe ] && mv ./external-crates/move/target/release/move-analyzer.exe ./external-crates/move/target/release/move-analyzer-${os_type}.exe
Expand Down
17 changes: 0 additions & 17 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ members = [
"crates/iota-swarm",
"crates/iota-swarm-config",
"crates/iota-test-transaction-builder",
"crates/iota-test-validator",
"crates/iota-tls",
"crates/iota-tool",
"crates/iota-transaction-builder",
Expand Down Expand Up @@ -650,7 +649,6 @@ iota-surfer = { path = "crates/iota-surfer" }
iota-swarm = { path = "crates/iota-swarm" }
iota-swarm-config = { path = "crates/iota-swarm-config" }
iota-test-transaction-builder = { path = "crates/iota-test-transaction-builder" }
iota-test-validator = { path = "crates/iota-test-validator" }
iota-tls = { path = "crates/iota-tls" }
iota-tool = { path = "crates/iota-tool" }
iota-transaction-builder = { path = "crates/iota-transaction-builder" }
Expand Down
21 changes: 0 additions & 21 deletions crates/iota-test-validator/Cargo.toml

This file was deleted.

29 changes: 0 additions & 29 deletions crates/iota-test-validator/README.md

This file was deleted.

Loading

0 comments on commit c722a04

Please sign in to comment.