Open
Conversation
# Conflicts: # tasks/setTrustedRemote.js
# Conflicts: # contracts/libraries/LzLib.sol # test/contracts/oft/BasedOFT.test.js # test/contracts/oft/OFT.test.js # test/contracts/oft/PausableOFT.test.js # test/contracts/oft/ProxyOFT.test.js # test/oft/BasedOFT.test.js # test/oft/BasedOFT20.test.js # test/oft/OFT.test.js # test/oft/OFT20.test.js # test/oft/PausableOFT.test.js # test/oft/PausableOFT20.test.js # test/oft/ProxyOFT.test.js # test/oft/ProxyOFT20.test.js
# Conflicts: # yarn.lock
…ing all versions of solidity to 8.15
…-examples into riley/widgetSwap
…21.sol. Updated solidity version to "0.8.9". Added logic to ONFT721 to send multiple ONFT's at once.
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
fix/rm_npmrc: remove .npmrc as it is NPM_TOKEN is not needed
Resolves #119. This change includes the following: * Adds a _totalPings argument to the ping() function. This is needed to limit the Unit Test to one ping/pong. This was done to avoid re-entrancy limitations of the LZEndpointMock, which can only call send one time per chain endpoint. It is also nice to be able to limit the number of pings sent. * Adjusts unit tests to correspond with the changed behavior. * Adds documentation to `PingPong.sol`. Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Fix PingPong Unit Test
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Run tests in parallel. Anecdotally, this cut test time by 50% on my local machine. Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Decrease Unit Test Time
Run unit tests using GitHub Actions on push/pull_request
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
README.md formatting updates
…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 <goulding@layerzerolabs.org>
…tions fix OFT and OFTV2 deployment code and corresponding README.md instruc…
Just fix the ONFT721 example so it is able to be run. Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
A commit was added to add a payload to the default OmniCounter.sol. As such, we need to `estimateFees(...)` with the new payload. Poll the payload from the contract and use it in the task. Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Refactoring fee logic and adding in outboundAmount
readme updates
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zero layer operation pull request thank you!