From 2842013c358291f396b5f5e3c4e6caea6311872f Mon Sep 17 00:00:00 2001 From: vikions Date: Mon, 23 Feb 2026 18:06:45 +0100 Subject: [PATCH] fix: verify allowlist tx receipt status in e2e validator helper --- test/e2e/framework/validators.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/framework/validators.ts b/test/e2e/framework/validators.ts index 4dcd074c..4e19dbc5 100644 --- a/test/e2e/framework/validators.ts +++ b/test/e2e/framework/validators.ts @@ -107,7 +107,10 @@ export const addValidatorToAllowlist = async ( account: getOwnerAccount(), chain: null }); - await connectors.publicClient.waitForTransactionReceipt({ hash }); + const receipt = await connectors.publicClient.waitForTransactionReceipt({ hash }); + if (receipt.status !== "success") { + throw new Error(`Add validator to allowlist failed: ${receipt.status}`); + } logger.debug(`Validator ${validatorName} added to allowlist`); };