metaplex-foundation / umi

A Solana Framework for JS Clients.
https://umi.typedoc.metaplex.com
MIT License
168 stars 51 forks source link

TransactionExpiredBlockheightExceededError often occurs #127

Open Winfans opened 5 months ago

Winfans commented 5 months ago
const result = await createNft(umi, {
                mint,
                name: metadata.name,
                uri: metadata.uri,
                symbol: metadata.symbol,
                authority: umi.identity,
                sellerFeeBasisPoints: percentAmount(1),
              })
                .add({
                  instruction: ComputeBudgetProgram.setComputeUnitPrice({
                    microLamports: 3300000,
                  }) as any,
                  signers: [umi.payer],
                  bytesCreatedOnChain: 0,
                })
                .useV0()
                .setAddressLookupTables([
                  {
                    publicKey: umi.identity.publicKey,
                    addresses: [umi.identity.publicKey, mint.publicKey],
                  },
                ])
                .sendAndConfirm(umi, {
                  // skipPreflight: true,
                });
Sebastian-2137 commented 4 months ago

i've got the same issue.