Open fadeev opened 6 days ago
Also, the second issue that I noticed is with refund destination.
Original Ethereum tx: https://etherscan.io/tx/0x2d616107769f1426e097bde2def3858e5018b8c9e40563f86e265b4da41d91ad
0x13...00FF
to Accumulated Finance contract 0x0A...38C0
0x0A...38C0
to ZetaConnector 0x00...7C6a
But in ZetaChain explorer I noticed that "Revert to Ethereum" was set to the msg.sender instead of Accumulated Finance contract, that actually sent tokens to ZetaConnector:
Can this logic be improved for future txs? Otherwise there is a significant security risk of users infinite minting LST on sidechains (mint stZETA with ZETA, cross-chain tx failed, user got refunded with ZETA, rinse-repeat many times if cross-chain transfers keep failing due to any circumstances).
ZEVM Message Passing has not been enabled yet on Mainnet
On the final error, it seems the ZETA amount is not sufficient to cover the revert tx. We need to check the liquidity ZETA/ETH pool, gas price might be higher than average
@lumtis CCM gas fee from ZetaChain to Ethereum is 15.2, here the value (71) is clearly higher.
ZEVM Message Passing has not been enabled yet on Mainnet
This is planned to be performed soon.
Can this logic be improved for future txs? Otherwise there is a significant security risk of users infinite minting LST on sidechains (mint stZETA with ZETA, cross-chain tx failed, user got refunded with ZETA, rinse-repeat many times if cross-chain transfers keep failing due to any circumstances).
This is currently in consideration. We are in the process of designing new structure for system contract. One consideration is to provide a revert address when initiating a crosschain tx
@lumtis CCM gas fee from ZetaChain to Ethereum is 15.2, here the value (71) is clearly higher.
We will investigate this further. Two possible paramater:
https://zetachain.blockpi.network/lcd/v1/public/zeta-chain/crosschain/in_tx_hash_to_cctx_data/0x2d616107769f1426e097bde2def3858e5018b8c9e40563f86e265b4da41d91ad
Sending 71 ZETA from Ethereum to ZetaChain.
Status is: