signatureSubscribe error
signatureSubscribe method on lower-tier plans.
To resolve this error, use public RPCs like https://api.mainnet-beta.solana.com (or https://api.devnet.solana.com ) or, Solana-dedicated RPC providers such as Helius.
DeclaredProgramIdMismatch
OFT_ID value in the OFT Programs lib.rs.
Ensure you are passing in OFT_ID as an environment variable.
anchor build -v fails
There are known issues with downloading rust crates in older versions of docker. Please ensure you are using the most
up-to-date docker version. The issue manifests similar to:
The value of "offset" is out of range. It must be >= 0 and <= 32. Received 41
This error may occur when sending tokens from Solana.
If you receive this error, it may be caused by an improperly configured executor address in your layerzero.config.ts
configuration file. The value for this address is not the programId from listed as LZ Executor in the
deployed endpoints page.
Instead, this address is the Executor Config PDA. It can be derived using the following:
Error: Account allocation failed: unable to confirm transaction.
This error can occur while deploying the Solana OFT. The full error message:
Error: Account allocation failed: unable to confirm transaction. This can happen in situations such as transaction expiration and insufficient fee-payer funds
This error is caused by the inability to confirm the transaction in time, or by running out of funds. This is not
specific to OFT deployment, but Solana programs in general. Fortunately, you can retry by recovering the program key and
re-running with --buffer flag similar to the following:
Instruction passed to inner instruction is too large (1388 > 1280)
This error can occur when sending tokens from Solana.
The outbound OApp DVN configuration violates a hard CPI size restriction, as you have included too many DVNs in the
configuration (more than 3 for Solana outbound). As such, you will need to adjust the DVNs to comply with the CPI size
restriction. The current CPI size restriction is 1280 bytes. The error message looks similar to the following:
loosen_cpi_size_restriction,
which allows more lenient CPI size restrictions, is not yet enabled in the current version of Solana devnet or mainnet.
base64 encoded solana_sdk::transaction::versioned::VersionedTransaction too large: 1728 bytes (max: encoded/raw 1644/1232).
This error can occur when sending tokens from Solana.
This error happens when sending for Solana outbound due to the transaction size exceeds the maximum hard limit. To
alleviate this issue, consider using an Address Lookup Table (ALT) instruction in your transaction. Example ALTs for
mainnet and testnet (devnet):
| Stage | Address |
|---|---|
| mainnet-beta | AokBxha6VMLLgf97B5VYHEtqztamWmYERBmmFvjuTzJB |
| devnet | 9thqPdbR27A1yLWw2spwJLySemiGMXxPnEvfmXVk4KuK |