From 0e0ff63bc5447584dbc3b2f928eac9bb819bd0a2 Mon Sep 17 00:00:00 2001 From: Omkar Bhat Date: Wed, 6 Nov 2024 13:05:21 -0500 Subject: [PATCH] Fix 1155 Discount validator token encoding --- apps/web/src/hooks/useAttestations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/hooks/useAttestations.ts b/apps/web/src/hooks/useAttestations.ts index 194c5a88dd..aab973f6e1 100644 --- a/apps/web/src/hooks/useAttestations.ts +++ b/apps/web/src/hooks/useAttestations.ts @@ -629,7 +629,7 @@ export function useBaseWorldAttestations() { data: { discountValidatorAddress, discount: Discount.BASE_WORLD, - validationData: '0x0' as `0x${string}`, + validationData: encodeAbiParameters([{ type: 'uint256[]' }], [baseWorldTokenIds]), }, loading: false, error: null,