From c20be54d3bcebf59f0c26f049a16d7aab7b80ad6 Mon Sep 17 00:00:00 2001 From: wizard <112275929+famouswizard@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:32:21 +0300 Subject: [PATCH] Fix Incorrect Argument Format in getProof Method --- scripts/talent/deployTGEUnlocks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/talent/deployTGEUnlocks.ts b/scripts/talent/deployTGEUnlocks.ts index 5252e535..8ce55477 100644 --- a/scripts/talent/deployTGEUnlocks.ts +++ b/scripts/talent/deployTGEUnlocks.ts @@ -45,7 +45,7 @@ async function main() { console.log(`TGE Unlock distribution deployed at ${tgeUnlockDistribution.address}`); const proofList = allResults.map(({ wallet, total }) => { const value = ethers.utils.parseEther(total); - const proof = merkleTree.getProof([wallet.toLowerCase(), value]); + const proof = merkleTree.getProof([wallet.toLowerCase(), value.toString()]); return { wallet, value,