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

Raise executor msg.value cap and add func to allow user configuration #4

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

Zodomo
Copy link
Contributor

@Zodomo Zodomo commented Dec 20, 2023

When using TestHelper.sol to mock the LayerZero V2 environment for my tests, I was unable to pass more than 1 gwei to lzReceive() due to the limit imposed on the executor. I believe 1 gwei is far too low, so I raised it to 0.1 ether and added the setExecutorValueCap(uint128) function to TestHelper.sol so the user can adjust this value if their tests require it.

When using TestHelper.sol to mock the LayerZero V2 environment for my tests, I was unable to pass more than 1 gwei to lzReceive() due to the limit imposed on the executor. I believe 1 gwei is far too low, so I raised it to 0.1 ether and added the setExecutorValueCap(uint128) function to TestHelper.sol so the user can adjust this value if their tests require it.
@carmenjiawenc carmenjiawenc merged commit 22b76ed into LayerZero-Labs:main Dec 21, 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