From 53f3c890151db1f17e92ceacc1c74555fc9bb80e Mon Sep 17 00:00:00 2001 From: Wayne <42037655+Monsterwayne@users.noreply.github.com> Date: Mon, 22 Jul 2024 22:44:15 -0400 Subject: [PATCH] Update fundraiser.ts From my understanding the mintToRaise account needs to be provided to the contribute method because this account is defined in the contribute instruction --- tests/fundraiser.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/fundraiser.ts b/tests/fundraiser.ts index ff871ca..7ec6ddb 100644 --- a/tests/fundraiser.ts +++ b/tests/fundraiser.ts @@ -83,6 +83,7 @@ describe("fundraiser", () => { .accountsPartial({ contributor: provider.publicKey, fundraiser, + mintToRaise: mint, contributorAccount: contributor, contributorAta: contributorATA, vault, @@ -108,6 +109,7 @@ describe("fundraiser", () => { .accountsPartial({ contributor: provider.publicKey, fundraiser, + mintToRaise: mint, contributorAccount: contributor, contributorAta: contributorATA, vault, @@ -135,6 +137,7 @@ describe("fundraiser", () => { .accountsPartial({ contributor: provider.publicKey, fundraiser, + mintToRaise: mint, contributorAccount: contributor, contributorAta: contributorATA, vault,