omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
79 stars 38 forks source link

[Crash] if tx queue has reached to parity node #91

Open rstormsf opened 6 years ago

rstormsf commented 6 years ago
INFO:bridge::bridge::deposit_relay: relaying 50 deposits
ERROR:bridge: ERROR CONTEXT: deposit_relay
ERROR:bridge: ERROR CONTEXT: relaying deposit to foreign
ERROR:bridge: RPC error Error { code: ServerError(-32010), message: "There are too many transactions in the queue. Your transaction was dropped due to limit. Try increasing the fee.", data: None }
Error(Rpc(Error { code: ServerError(-32010), message: "There are too many transactions in the queue. Your transaction was dropped due to limit. Try increasing the fee.", data: None }), State { next_error: None, backtrace: None })
yrashk commented 6 years ago

What is the most preferable course of action in this case? (Considering that we don't have a persistent queue)

rstormsf commented 6 years ago

retry sending them after a 3-5 sec

yrashk commented 6 years ago

Should we designate a special exit for for this error so that the supervisor pauses before a restart?

yrashk commented 6 years ago

Or would this better be served by persisting the queue of transactions?

akolotov commented 6 years ago

@yrashk have you been able to reproduce this issue?