Skip to content

Commit

Permalink
test: adapt to kurtosis port rename
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Oct 3, 2024
1 parent 98b5682 commit 9f17818
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/helpers/common-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ _common_setup() {
readonly contracts_container=${KURTOSIS_CONTRACTS:-contracts-001}
readonly contracts_service_wrapper=${KURTOSIS_CONTRACTS_WRAPPER:-"kurtosis service exec $enclave $contracts_container"}
readonly erigon_rpc_node=${KURTOSIS_ERIGON_RPC:-cdk-erigon-node-001}
readonly l2_rpc_url=${L2_ETH_RPC_URL:-"$(kurtosis port print $enclave $erigon_rpc_node http-rpc)"}
}
readonly l2_rpc_url=${L2_ETH_RPC_URL:-"$(kurtosis port print $enclave $erigon_rpc_node rpc)"}
}
2 changes: 1 addition & 1 deletion test/scripts/batch_verification_monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ timeout="$2"
start_time=$(date +%s)
end_time=$((start_time + timeout))

rpc_url="$(kurtosis port print cdk-v1 cdk-erigon-node-001 http-rpc)"
rpc_url="$(kurtosis port print cdk-v1 cdk-erigon-node-001 rpc)"

while true; do
verified_batches="$(cast to-dec "$(cast rpc --rpc-url "$rpc_url" zkevm_verifiedBatchNumber | sed 's/"//g')")"
Expand Down

0 comments on commit 9f17818

Please sign in to comment.