Skip to content

Handle failed deposits gracefully #146

@pavitthrap

Description

@pavitthrap

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions