-
Notifications
You must be signed in to change notification settings - Fork 258
feat: use latest initiad & initia.js #1783
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
base: main
Are you sure you want to change the base?
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
PR SummaryEnables compatibility with the latest Initia toolchain and improves OFT Adapter initialization behavior.
Written by Cursor Bugbot for commit 733f484. This will update automatically on new commits. Configure here. |
| msgType: MsgType.SEND_AND_CALL, | ||
| optionType: ExecutorOptionType.LZ_RECEIVE, | ||
| gas: 300_000, // gas limit in wei for EndpointV2.lzCompose | ||
| gas: 5_000, // gas limit in wei for EndpointV2.lzCompose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gas limit too low for cross-chain message execution
High Severity
The gas limit for LZ_RECEIVE operations on messages from BSC to Initia has been reduced from 300_000 to 5_000. A gas limit of 5,000 is extremely low and likely insufficient for cross-chain token receive operations, which typically involve storage writes and token transfers. This could cause lzReceive calls to fail on the Initia destination chain due to out-of-gas errors, resulting in stuck or failed cross-chain transfers.
Summary of Changes