Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix OFT and OFTV2 deployment code and corresponding README.md instruc… #126

Conversation

ryandgoulding
Copy link
Collaborator

…tions

The instructions for deploying OFTV2 in README.md did not work, as the deployment scripts refer to ExampleOFT and ExampleOFTV2 contracts, which don't exist. I changed these to OFTMock and OFTV2Mock respectively. Additionally, instructions failed to mention that the deployer must set a minDstGasLimit in this version of code. I added this instruction in and was able to send tokens successfully.

Lastly, even though there is not an example for OFT, we failed to include a task to mintTokens(...). This PR includes a small task to mint tokens so the OFT example can be tested.

…tions

The instructions for deploying OFTV2 in README.md did not work, as the deployment scripts refer
to ExampleOFT and ExampleOFTV2 contracts, which don't exist.  I changed these to OFTMock and
OFTV2Mock respectively.  Additionally, instructions failed to mention that the deployer *must*
set a minDstGasLimit in this version of code.  I added this instruction in and was able to send
tokens successfully.

Lastly, even though there is not an example for OFT, we failed to include a task to mintTokens(...).
This PR includes a small task to mint tokens so the OFT example can be tested.

Signed-off-by: Ryan Goulding <[email protected]>
@TRileySchwarz TRileySchwarz merged commit 26b283d into LayerZero-Labs:main Nov 2, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants