node icon indicating copy to clipboard operation
node copied to clipboard

Add E2E tests coverage for extended testing for outbound user refund

Open lumtis opened this issue 3 months ago • 0 comments

PR: https://github.com/zeta-chain/node/pull/3734

There are some accounting check already in the sense that we check the supply with locked tokens which give some guarantee that no new tokens are minted.

We should extend the assertions, in particular for the eth_withdraw_and_call and erc20_withdraw_and_call tests, check that depending on the refund params, the user and the gas stability pool will receive the expected amount of tokens back based on the outbound values.

These assertions will particularly be useful as we will check the numbers on live networks where conditions are less predictable than localnet.

It will be crucial to run these assertions for calls on testnet before pushing the changes to mainnet.

lumtis avatar Sep 23 '25 07:09 lumtis