Skip to content

Commit 01f5551

Browse files
committed
commit
1 parent 26d4435 commit 01f5551

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

playbooks/pectra-dev/validator-lifecycle-test-v3.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ tasks:
11151115
exit 1
11161116
fi
11171117
1118-
# validator #5: 0 ETH (0 ETH EB), 0x01 withdrawal creds
1118+
# validator #5: 0 ETH (0 ETH EB), 0x02 withdrawal creds
11191119
- name: check_consensus_validator_status
11201120
title: "Get validator #5 info"
11211121
id: validator_info_5
@@ -1144,8 +1144,8 @@ tasks:
11441144
fi
11451145
11461146
withdrawal_creds=$(echo "$validator" | jq -r '.validator.withdrawal_credentials')
1147-
if [[ ! "$withdrawal_creds" == "0x01"* ]]; then
1148-
echo "Invalid withdrawal credentials! expected: 0x01*, got: $withdrawal_creds"
1147+
if [[ ! "$withdrawal_creds" == "0x02"* ]]; then
1148+
echo "Invalid withdrawal credentials! expected: 0x02*, got: $withdrawal_creds"
11491149
exit 1
11501150
fi
11511151
@@ -1160,20 +1160,20 @@ tasks:
11601160
configVars:
11611161
validatorPubKey: "tasks.all_pubkeys.outputs.pubkeys[7]"
11621162
- name: run_shell
1163-
title: "Check validator #7 status: 48 ETH (48 ETH EB), 0x02 withdrawal creds"
1163+
title: "Check validator #7 status: 144 ETH (143 ETH EB), 0x02 withdrawal creds"
11641164
config:
11651165
envVars:
11661166
validator: "tasks.validator_info_7.outputs.validator"
11671167
command: |
11681168
balance=$(echo "$validator" | jq -r '.balance')
1169-
if [ "$balance" -lt 47900000000 ]; then
1170-
echo "Balance too low! expected: > 47.9 ETH, got: $balance Gwei"
1169+
if [ "$balance" -lt 143900000000 ]; then
1170+
echo "Balance too low! expected: > 143.9 ETH, got: $balance Gwei"
11711171
exit 1
11721172
fi
11731173
11741174
effective_balance=$(echo "$validator" | jq -r '.validator.effective_balance')
1175-
if [ "$effective_balance" != "48000000000" ]; then
1176-
echo "Effective balance too low! expected: 48 ETH, got: $effective_balance Gwei"
1175+
if [ "$effective_balance" != "143000000000" ]; then
1176+
echo "Effective balance too low! expected: 143 ETH, got: $effective_balance Gwei"
11771177
exit 1
11781178
fi
11791179

0 commit comments

Comments
 (0)