If a deposit fails (i.e. a subnets node is unable to mint a deposited asset on the hyperchain), the node should automatically submit that asset for withdrawal.
Moreover, if the deposit function on the hyperchain fails to mint the right quantity, the effects of that mint should be rolled back, and the asset should be submitted for withdrawal as well. For example, this case would apply if a user tried to deposit 100 fungible tokens, and only 50 were minted.
If a deposit fails (i.e. a subnets node is unable to mint a deposited asset on the hyperchain), the node should automatically submit that asset for withdrawal.
Moreover, if the deposit function on the hyperchain fails to mint the right quantity, the effects of that mint should be rolled back, and the asset should be submitted for withdrawal as well. For example, this case would apply if a user tried to deposit 100 fungible tokens, and only 50 were minted.