Skip to content

improve wallet port selection

f576e40
Select commit
Loading
Failed to load commit list.
Merged

tests(wallet): Add initial framework to test zallet RPC methods #9554

improve wallet port selection
f576e40
Select commit
Loading
Failed to load commit list.
Mergify / Queue: Embarked in merge queue succeeded Jun 9, 2025 in 0s

The pull request embarked with main (3b5cbf8) will be merged soon

Required conditions for merge:

  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #approved-reviews-by >= 1 [🛡 GitHub repository ruleset rule]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub repository ruleset rule]
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = mergefreeze
    • check-neutral = mergefreeze
    • check-skipped = mergefreeze
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml bans
    • check-neutral = Check deny.toml bans
    • check-skipped = Check deny.toml bans
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml bans --all-features
    • check-neutral = Check deny.toml bans --all-features
    • check-skipped = Check deny.toml bans --all-features
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml bans --features default-release-binaries
    • check-neutral = Check deny.toml bans --features default-release-binaries
    • check-skipped = Check deny.toml bans --features default-release-binaries
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml sources
    • check-neutral = Check deny.toml sources
    • check-skipped = Check deny.toml sources
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml sources --all-features
    • check-neutral = Check deny.toml sources --all-features
    • check-skipped = Check deny.toml sources --all-features
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check deny.toml sources --features default-release-binaries
    • check-neutral = Check deny.toml sources --features default-release-binaries
    • check-skipped = Check deny.toml sources --features default-release-binaries
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Check Cargo.lock is up to date
    • check-neutral = Check Cargo.lock is up to date
    • check-skipped = Check Cargo.lock is up to date
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build CI Docker / Build images
    • check-neutral = Build CI Docker / Build images
    • check-skipped = Build CI Docker / Build images
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build tower-batch-control crate
    • check-neutral = Build tower-batch-control crate
    • check-skipped = Build tower-batch-control crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build tower-fallback crate
    • check-neutral = Build tower-fallback crate
    • check-skipped = Build tower-fallback crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-chain crate
    • check-neutral = Build zebra-chain crate
    • check-skipped = Build zebra-chain crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-consensus crate
    • check-neutral = Build zebra-consensus crate
    • check-skipped = Build zebra-consensus crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-grpc crate
    • check-neutral = Build zebra-grpc crate
    • check-skipped = Build zebra-grpc crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-network crate
    • check-neutral = Build zebra-network crate
    • check-skipped = Build zebra-network crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-node-services crate
    • check-neutral = Build zebra-node-services crate
    • check-skipped = Build zebra-node-services crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-rpc crate
    • check-neutral = Build zebra-rpc crate
    • check-skipped = Build zebra-rpc crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-scan crate
    • check-neutral = Build zebra-scan crate
    • check-skipped = Build zebra-scan crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Build zebra-test crate
    • check-neutral = Build zebra-test crate
    • check-skipped = Build zebra-test crate
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Install zebrad from lockfile without cache on ubuntu-latest
    • check-neutral = Install zebrad from lockfile without cache on ubuntu-latest
    • check-skipped = Install zebrad from lockfile without cache on ubuntu-latest
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Test stable on macos-latest
    • check-neutral = Test stable on macos-latest
    • check-skipped = Test stable on macos-latest
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Test stable on ubuntu-latest
    • check-neutral = Test stable on ubuntu-latest
    • check-skipped = Test stable on ubuntu-latest
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Test beta on ubuntu-latest
    • check-neutral = Test beta on ubuntu-latest
    • check-skipped = Test beta on ubuntu-latest
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test
    • check-neutral = Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test
    • check-skipped = Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test
    • check-neutral = Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test
    • check-skipped = Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test
    • check-neutral = Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test
    • check-skipped = Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / Generate checkpoints testnet / Run checkpoints-testnet test
    • check-neutral = Integration tests / Generate checkpoints testnet / Run checkpoints-testnet test
    • check-skipped = Integration tests / Generate checkpoints testnet / Run checkpoints-testnet test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / Zebra tip update / Run update-to-tip test
    • check-neutral = Integration tests / Zebra tip update / Run update-to-tip test
    • check-skipped = Integration tests / Zebra tip update / Run update-to-tip test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / get block template / Run get-block-template test
    • check-neutral = Integration tests / get block template / Run get-block-template test
    • check-skipped = Integration tests / get block template / Run get-block-template test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test
    • check-neutral = Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test
    • check-skipped = Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / lightwalletd tip send / Run lwd-send-transactions test
    • check-neutral = Integration tests / lightwalletd tip send / Run lwd-send-transactions test
    • check-skipped = Integration tests / lightwalletd tip send / Run lwd-send-transactions test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / lightwalletd tip update / Run lwd-update-sync test
    • check-neutral = Integration tests / lightwalletd tip update / Run lwd-update-sync test
    • check-skipped = Integration tests / lightwalletd tip update / Run lwd-update-sync test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Integration tests / submit block / Run submit-block test
    • check-neutral = Integration tests / submit block / Run submit-block test
    • check-skipped = Integration tests / submit block / Run submit-block test
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Custom cache and cookie directories
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Custom cache and cookie directories
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Custom cache and cookie directories
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Custom config
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Custom config
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Custom config
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Default config
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Default config
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Default config
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Mining configuration
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Mining configuration
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Mining configuration
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Prometheus metrics
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Prometheus metrics
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Prometheus metrics
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test RPC config
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test RPC config
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test RPC config
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test RPC with custom cookie dir
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test RPC with custom cookie dir
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test RPC with custom cookie dir
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test RPC with custom port
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test RPC with custom port
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test RPC with custom port
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test Zebra Docker configurations / Test Testnet config
    • check-neutral = Unit tests / Test Zebra Docker configurations / Test Testnet config
    • check-skipped = Unit tests / Test Zebra Docker configurations / Test Testnet config
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test all
    • check-neutral = Unit tests / Test all
    • check-skipped = Unit tests / Test all
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test with fake activation heights
    • check-neutral = Unit tests / Test with fake activation heights
    • check-skipped = Unit tests / Test with fake activation heights
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test checkpoint sync from empty state
    • check-neutral = Unit tests / Test checkpoint sync from empty state
    • check-skipped = Unit tests / Test checkpoint sync from empty state
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = Unit tests / Test integration with lightwalletd
    • check-neutral = Unit tests / Test integration with lightwalletd
    • check-skipped = Unit tests / Test integration with lightwalletd
  • any of [🛡 GitHub repository ruleset rule]:
    • check-success = mergefreeze
    • check-neutral = mergefreeze
    • check-skipped = mergefreeze

Check-runs and statuses of the embarked pull request #9606:

Integration tests / Zebra checkpoint update / Delete sync-past-checkpoint instance details
Deploy ${{ matrix.network }} nodes details
Integration tests / Generate checkpoints mainnet / Create ${{ inputs.test_id }} cached state image details
Integration tests / Zebra checkpoint details
Integration tests / Zebra checkpoint update / Create ${{ inputs.test_id }} cached state image details
Integration tests / Zebra tip details
Integration tests / Zebra tip JSON-RPC / Create ${{ inputs.test_id }} cached state image details
Integration tests / Zebra tip on testnet details
Integration tests / get block template / Create ${{ inputs.test_id }} cached state image details
Integration tests / lightwalletd GRPC tests / Create ${{ inputs.test_id }} cached state image details
Integration tests / lightwalletd tip details
Integration tests / lightwalletd tip / Run lwd-full-sync test details
Integration tests / lightwalletd tip send / Create ${{ inputs.test_id }} cached state image details
Integration tests / submit block / Create ${{ inputs.test_id }} cached state image details
Open or update issues for OS integration failures details
Open or update issues for building crates individually failures details
Open or update issues for release failures details
Unit tests / Open or update issues for main branch failures details
Unit tests / run-check-no-git-refs details
Versioning details
actionlint details
Build CD Docker / Build images details
Build CI Docker / Build images details
Build and Deploy Zebra Book Docs details
Build and Deploy Zebra Internal Docs details
Build tower-batch-control crate details
Build tower-fallback crate details
Build zebra-chain crate details
Build zebra-consensus crate details
Build zebra-grpc crate details
Build zebra-network crate details
Build zebra-node-services crate details
Build zebra-rpc crate details
Build zebra-scan crate details
Build zebra-script crate details
Build zebra-state crate details
Build zebra-test crate details
Build zebra-utils crate details
Build zebrad crate details
Check Cargo.lock is up to date details
Check crates matrix details
Check deny.toml bans details
Check deny.toml bans --all-features details
Check deny.toml bans --features default-release-binaries details
Check deny.toml sources details
Check deny.toml sources --all-features details
Check deny.toml sources --features default-release-binaries details
Check for unused dependencies details
Checks changed-files details
Clippy details
Coverage on stable details
Generate crates matrix details
Get disk name / Get Mainnet cached disk details
Install zebrad from lockfile without cache on ubuntu-latest details
Integration tests / Check if cached state disks exist for Mainnet / Get Mainnet cached disk details
Integration tests / Check if cached state disks exist for testnet / Get Testnet cached disk details
Integration tests / Generate checkpoints mainnet / Delete checkpoints-mainnet instance details
Integration tests / Generate checkpoints mainnet / Get disk name / Get checkpoints-mainnet cached disk details
Integration tests / Generate checkpoints mainnet / Run checkpoints-mainnet test details
Integration tests / Generate checkpoints testnet / Create checkpoints-testnet cached state image details
Integration tests / Generate checkpoints testnet / Delete checkpoints-testnet instance details
Integration tests / Generate checkpoints testnet / Get disk name / Get checkpoints-testnet cached disk details
Integration tests / Generate checkpoints testnet / Run checkpoints-testnet test details
Integration tests / Zebra checkpoint update / Get disk name / Get sync-past-checkpoint cached disk details
Integration tests / Zebra checkpoint update / Run sync-past-checkpoint test details
Integration tests / Zebra tip JSON-RPC / Delete fully-synced-rpc instance details
Integration tests / Zebra tip JSON-RPC / Get disk name / Get fully-synced-rpc cached disk details
Integration tests / Zebra tip JSON-RPC / Run fully-synced-rpc test details
Integration tests / Zebra tip update / Create update-to-tip cached state image details
Integration tests / Zebra tip update / Delete update-to-tip instance details
Integration tests / Zebra tip update / Get disk name / Get update-to-tip cached disk details
Integration tests / Zebra tip update / Run update-to-tip test details
Integration tests / get block template / Delete get-block-template instance details
Integration tests / get block template / Get disk name / Get get-block-template cached disk details
Integration tests / get block template / Run get-block-template test details
Integration tests / lightwalletd GRPC tests / Delete lwd-grpc-wallet instance details
Integration tests / lightwalletd GRPC tests / Get disk name / Get lwd-grpc-wallet cached disk details
Integration tests / lightwalletd GRPC tests / Run lwd-grpc-wallet test details
Integration tests / lightwalletd tip send / Delete lwd-send-transactions instance details
Integration tests / lightwalletd tip send / Get disk name / Get lwd-send-transactions cached disk details
Integration tests / lightwalletd tip send / Run lwd-send-transactions test details
Integration tests / lightwalletd tip update / Create lwd-update-sync cached state image details
Integration tests / lightwalletd tip update / Delete lwd-update-sync instance details
Integration tests / lightwalletd tip update / Get disk name / Get lwd-update-sync cached disk details
Integration tests / lightwalletd tip update / Run lwd-update-sync test details
Integration tests / submit block / Delete submit-block instance details
Integration tests / submit block / Get disk name / Get submit-block cached disk details
Integration tests / submit block / Run submit-block test details
Rustfmt details
Test Zebra Docker configurations / Test Custom cache and cookie directories details
Test Zebra Docker configurations / Test Custom config details
Test Zebra Docker configurations / Test Default config details
Test Zebra Docker configurations / Test Mining configuration details
Test Zebra Docker configurations / Test Prometheus metrics details
Test Zebra Docker configurations / Test RPC config details
Test Zebra Docker configurations / Test RPC with custom cookie dir details
Test Zebra Docker configurations / Test RPC with custom port details
Test Zebra Docker configurations / Test Testnet config details
Test beta on ubuntu-latest details
Test beta on windows-latest details
Test stable on macos-latest details
Test stable on ubuntu-latest details
Test stable on windows-latest details
Unit tests / Test Zebra Docker configurations / Test Custom cache and cookie directories details