Closed skosito closed 1 week ago
[!IMPORTANT]
Review skipped
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I'm also thinking maybe we can look into movin the logic in TestDAppV2. To run test on live networks we need contracts that can be put in the config.
But this would be much easier to manage if we have a single test contract we have to deploy for live networks
Description
Similar to existing crosschain swap test, but crosschain swap test can't be used with v2 contracts yet. This test can be removed with this issue: https://github.com/zeta-chain/node/issues/2711 but for now its needed to test similar scenario as issue on testnet, where there is a swap and withdraw in onCall function, and cosmos-sdk gas limit for MsgVoteInbound is reached.
This also confirms the fix: https://github.com/zeta-chain/node/pull/3106 - checked locally, without this fix, cosmos sdk 7M gas is drained, because evm gas limit missing is calling eth_estimateGas which spends a lot of cosmos gas.
How Has This Been Tested?
Summary by CodeRabbit
Release Notes
New Features
onCall
function in the ZEVMSwapApp contract for enhanced cross-chain operations.Bug Fixes
Tests