multisender icon indicating copy to clipboard operation
multisender copied to clipboard

Transfer transaction may fail when chain reorgantzaion happens

Open darcher-framework opened this issue 3 years ago • 1 comments

In usual cases, there are two transaction we need to send to use multisender. The first one is to approve tokens for multisender contract and the second one is to actually do the transfer.

However, cases can happen where chain organization happens when approve transaction is reverted, but multisender has already make user send the second transfer transaction at this time, which will definitely fail because tokens are not approved.

This will cause users to lose transaction fee for transaction failure.

darcher-framework avatar Dec 24 '20 10:12 darcher-framework

in theory yes, in practice, it never happened during 3 years of production operational experience.

rstormsf avatar Dec 25 '20 09:12 rstormsf