Skip to content

Commit

Permalink
🧹 update build lz options README.md with warning information (#360)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Goulding <[email protected]>
  • Loading branch information
ryandgoulding authored Feb 7, 2024
1 parent be21702 commit 23f376c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-brooms-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"build-lz-options": patch
---

Update build-lz-options README.md with warning information
9 changes: 9 additions & 0 deletions packages/build-lz-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ pnpm build-lz-options
# or
bunx build-lz-options
```

## Warnings

### :warning: Warning: 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.

0 comments on commit 23f376c

Please sign in to comment.