Open bh2smith opened 4 years ago
You broke it! :) Too many requests. I think we need to throttle the calls to Telegram. Also re-attempt logics.
Good call!
Created 3 feature requests to address this situations better
Addressed by Dima. Requests are now pooled into less messages and spaced out.
The following transaction placing 40 orders on the dfusion exchange (Buy WETH for DAI and Buy DAI for WETH) in a single "batch" transaction using a multi-send contract only lead to ~19 notifications in the telegram channel.
https://rinkeby.etherscan.io/tx/0x6cb26f6b5feab2ab6185820b5049bbecafe4d013c04ff498de44e70e462da629
The transaction details can be viewed in slightly less cryptic terms on tenderly
https://dashboard.tenderly.dev/tx/rinkeby/0x6cb26f6b5feab2ab6185820b5049bbecafe4d013c04ff498de44e70e462da629
but to summarize (from the logs of the script), these are the following calls to
placeValidFromOrders
onBatchExchange.sol
The Rinkeby Telegram responded with the following messages at 9:08 and 9:09 am (Berlin Time) on Wed. 19 Feb.
Only 7
WETH for DAI
and8 DAI for WETH