build-lz-options
Create LayerZero OApp Options
This package provides a convenient way to build and serialize Options for LayerZero OApps.
npx build-lz-options@latest
yarn build-lz-options
pnpm build-lz-options
bunx build-lz-options
:warning: Known Warnings
Options do not specify any lzReceive gas
The default LayerZero ExecutorFeeLib requires the sum of lzReceive gas for all Options for a message is a positive
integer. This is classified as a warning and not an error, as build-lz-options
tool is not aware of the context in
which the generated Options are used. For example, Options may be combined elsewhere in the application, perhaps with
OApp Enforced Options, and the result will have a positive lzReceive gas sum.
PreCrime Verifier Option is not supported by the default LayerZero DVN. Please ensure the DVN you have specified supports this option.
The default LayerZero DVN does not currently support the Verifier PreCrime option. If you specify this option, please
ensure that the DVN you are using supports PreCrime.