-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I followed the LayerZero OFT quickstart guide using npx create-lz-oapp@latest --example oft and then ran the npx hardhat lz:oft:send ... command, I encountered an error.
The root cause was that I forgot to mint tokens, but the error message pointed me in the wrong direction
To Reproduce
Steps to reproduce the behavior:
- following the instruction of
https://docs.layerzero.network/v2/developers/evm/oft/quickstart - finish all the preconfiguration. but do not mint any token
- run
lz:oft:sendwill gets the error message
Expected behavior
Not show the misleading OFT: undefined message
Environment (please complete the following information):
- OS: macOS
- OS Version Sequoia
- VM: node
- VM Version: v20.14.0
Additional context
I have a fix on the misleading error message: #1677
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working