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

Wrong tx hash set for CCTX outbound when ERC20 depositAndCall fails #3236

Open
lumtis opened this issue Dec 3, 2024 · 0 comments
Open

Wrong tx hash set for CCTX outbound when ERC20 depositAndCall fails #3236

lumtis opened this issue Dec 3, 2024 · 0 comments

Comments

@lumtis
Copy link
Member

lumtis commented Dec 3, 2024

Describe the Issue
Happening when doing ERC20 depositAndCall using v1 workflow

CCTX: https://zetachain.blockpi.network/lcd/v1/public/zeta-chain/crosschain/inboundHashToCctxData/0xdc2844fedc8129e234046da86c555630d0dcad70952e54afcd8592b5687257b1

Transaction: https://zetachain.blockscout.com/tx/0x37e6f6fc521cd60189fa1dfe4b1752e31759c5092c37fdf3ad106af9b4e0a6d8

This specific internal tx is used for the hash of the outbound

_, err = k.fungibleKeeper.DepositZRC20(ctx, zrc20, types.ModuleAddressEVM, feeInZRC20)

The actual failed depositAndCall should be used for the outbound hash

This can be included in the work for #3194 where purpose is to improve CCTX data for debugging

@lumtis lumtis added bug Something isn't working m:crosschain labels Dec 3, 2024
@lumtis lumtis removed the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant