diff --git a/app/api/program-interface/resolution.ts b/app/api/program-interface/resolution.ts index 12165cf2..f34aadd0 100644 --- a/app/api/program-interface/resolution.ts +++ b/app/api/program-interface/resolution.ts @@ -40,7 +40,7 @@ export async function resolveRemainingAccounts( addressLookupTableAccounts: slut ? [lookupTable!] : undefined, instructions: PRE_INSTRUCTIONS.concat(instructions), payerKey: payer, - recentBlockhash: (await connection.getLatestBlockhash()).blockhash, + recentBlockhash: (await connection.getLatestBlockhashAndContext()).value.blockhash, }); const transaction = new anchor.web3.VersionedTransaction(message); diff --git a/app/components/account/ProgramInterfaceCard.tsx b/app/components/account/ProgramInterfaceCard.tsx index 6de6b182..ef81a1ba 100644 --- a/app/components/account/ProgramInterfaceCard.tsx +++ b/app/components/account/ProgramInterfaceCard.tsx @@ -426,9 +426,9 @@ function MsaInstructionCard({ {ix.args.length > 0 ? ( <> -
+
-
+

Arguments

@@ -449,23 +449,32 @@ function MsaInstructionCard({ {arg.name} {arg.type.toString()} - { - setInputArgumentValues({ - ...inputAccountValues, - [key]: e.target.value, - }); +
- + > + { + setInputArgumentValues({ + ...inputAccountValues, + [key]: e.target.value, + }); + }} + /> + +
);