-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Description
The following check in evm_hook validates withdrawals:
node/x/crosschain/keeper/evm_hooks.go
Line 315 in 55c01c2
| func (k Keeper) validateZRC20Withdrawal(ctx sdk.Context, chainID int64, value *big.Int, to []byte) error { |
Since a revert should be treated as a withdrawal as well, the same check should be included when a new outbound is being created from a revert.
If the check doesn't pass, the CCTX should be aborted.
Reactions are currently unavailable