Skip to content

Commit

Permalink
add scaling factor of compute price to setAuthority multisig creation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanL0 committed Jan 9, 2025
1 parent eed5acc commit 025c443
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/oft-solana/tasks/solana/setAuthority.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ task('lz:oft:solana:setauthority', 'Create a new Mint Authority SPL multisig and
const mint = new PublicKey(mintStr)
const newMintAuthority = await createMintAuthorityMultisig(
connection,
toWeb3JsKeypair(umiWalletSigner),
umi,
eid,
umiWalletSigner,
new PublicKey(oftStorePda.toString()),
new PublicKey(tokenProgram.toString()),
additionalMinters
additionalMinters,
computeUnitPriceScaleFactor
)
console.log(`New Mint Authority: ${newMintAuthority.toBase58()}`)
const signers = await checkMultisigSigners(connection, newMintAuthority, [
Expand Down

0 comments on commit 025c443

Please sign in to comment.