Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TransactionExpiredBlockheightExceededError often occurs #127

Open
Winfans opened this issue May 30, 2024 · 1 comment
Open

TransactionExpiredBlockheightExceededError often occurs #127

Winfans opened this issue May 30, 2024 · 1 comment

Comments

@Winfans
Copy link

Winfans commented May 30, 2024

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
Copy link

i've got the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants