anza-xyz / agave

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
https://www.anza.xyz/
Apache License 2.0
430 stars 210 forks source link

spl-token transfer failure due to lack of priority fee #200

Closed Crypto2 closed 8 months ago

Crypto2 commented 8 months ago

Problem

Due to how busy the Solana network is the included program spl-token to transfer tokens fails with the error "unable to confirm transaction. This can happen in situations such as transaction expiration and insufficient fee-payer funds" most of the time. (The fee-payer account has 25+ SOL in it so it's not that.)

As I understand it this is due to the spl-token program not adding a priority fee.

Proposed Solution

Update the spl-token program to include a priority fee.

t-nelson commented 8 months ago

that binary's source is in https://github.com/solana-labs/solana-program-library, not this repository