You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kingpinXD
changed the title
zetacore : ZetaAccounting is incorrectly set during InitGenesis of corsschain modulezetacore : ZetaAccounting is incorrectly set during InitGenesis of crosschain module
Dec 9, 2024
We set
ZetaAccounting
herehttps://github.com/zeta-chain/zeta-node/blob/a8236ed03212ab3c30efd5dbccc3d62d582e7900/x/crosschain/genesis.go#L13-L13
This directly copies and sets the existing value to state.
However,
The value is also updated ( Aborted amount is added ) when saving the CCTX's
https://github.com/zeta-chain/zeta-node/blob/a8236ed03212ab3c30efd5dbccc3d62d582e7900/x/crosschain/genesis.go#L47-L53
This behaviour should be modified to properly set accounting
The text was updated successfully, but these errors were encountered: