5afe / safe-support

6 stars 2 forks source link

CSV airdrop having skipped status on chain with 500 transfers #511

Closed Claire-serveth closed 2 months ago

Claire-serveth commented 2 months ago

Issue Category

Other

What happened?

User on Scroll network was having a "skipped" status on the block explorer when he executed the CSV airdrop transaction with 500 transfers: image image

Clarification:

Date and time this happened or you first noticed this issue

01-09-2024

Network

Aurora

Safe Address

No response

Token Address

No response

Token Type

None

Transactions

No response

schmanu commented 2 months ago

The maximum number of transfers depends a lot on the kind of transfers: If it contains ERC20 / ERC712 / ERC1155 transfers it depends how those token contracts are implemented.

I once tried to find good average numbers and found that the gas usage can differ a lot between contracts - even for the same standard such as ERC20.

And then the networks also have different block gas limits and therefore different restrictions for the gas usage of transactions.

Could the user try to cut the transfers into two 250 entry transfers?

Claire-serveth commented 2 months ago

Hi @schmanu yes, that's what the user tried and it did go through. Transaction was successful with 200+ but not 500. So, it would be best then to limit the transfers to 200 (although depending on the of the type) in order for the transaction to go through successfully. Thank you so much for the response, closing this issue now. 🙏