emeraldpay / dshackle

Fault Tolerant Load Balancer for Ethereum and Bitcoin APIs
Apache License 2.0
308 stars 55 forks source link

Missing transactions with eth_sendRawTransaction #260

Closed MysticRyuujin closed 1 year ago

MysticRyuujin commented 1 year ago

I've been noticing that quite frequently when I use dshackle for sending transactions the transaction never shows up on Etherscan and doesn't get mined.

Yes, yes, I know gas prices, p2p network, Etherscan isn't the source of truth, blah blah. However, I legit don't have this problem when NOT using dshackle.

It is my understanding that eth_sendRawTransaction should be broadcast quorum meaning it should be blasting my transaction to every configured node I have, and if that's the case, this really shouldn't be the case, as I have 22 configured endpoints :laughing: :

State of ETH: height=18159938, status=[OK/19,SYNCING/2,UNAVAILABLE/1]

I suspect that something is either throwing an error that isn't getting logs (I did search my logs, nothing interesting), or it's not actually broadcasting to all configured endpoints? I do not put it past some of my configured endpoints to have issues, but not all of them and this happens fairly frequently.

Any suggestions, ideas, or additional logging I can turn on that might help?

Ethereum Mainnet and Dshacke v0.14.0

MysticRyuujin commented 1 year ago

I wrote script to query a bunch of nodes for the tx hash, and it does show up on them, so I guess it' not dshackle.