Skip to content

Thank you#1

Open
colorstheforce wants to merge 466 commits intocolorstheforce:mainfrom
LayerZero-Labs:main
Open

Thank you#1
colorstheforce wants to merge 466 commits intocolorstheforce:mainfrom
LayerZero-Labs:main

Conversation

@colorstheforce
Copy link
Owner

Zero layer operation pull request thank you!

sirarthurmoney and others added 30 commits July 11, 2022 16:01
# 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
…21.sol. Updated solidity version to "0.8.9". Added logic to ONFT721 to send multiple ONFT's at once.
sirarthurmoney and others added 16 commits October 16, 2023 11:59
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>
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>
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
Copy link

@iamjedi888 iamjedi888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull req approve

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.