DEVREL-580 oft-solana: specify exact message value for when transferring to Solana - #1616
Conversation
St0rmBr3w
left a comment
There was a problem hiding this comment.
Can we also add to the README a subsection on this under wiring or enforced options in particular? This can highlight @arekLZ's note that teams can also check via their frontend whether the receiver has initialized this account ahead of time and pass via extra options.
This enforced value is purely for ensuring value delivery works for all UIs and uses, whereas extra options is strictly for if you want the minimum possible via your UI.
Best place for this is in the docs under the Solana section. Then in this LZ Config, it links to there. Will be working on that PR tomorrow. |
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Solana configuration in the LayerZero OFT example to use explicit constants with detailed documentation for gas limits and rent values when transferring tokens to Solana.
- Replaces magic numbers with named constants for compute unit limits and SPL token account rent values
- Adds comprehensive documentation explaining the rent mechanism for Solana token accounts
- Provides guidance for Token2022 accounts that may require different rent values
No description provided.