mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 13:55:45 +00:00
36be50e5dc
Create a dev tx (a 0-value tx that is sent from the —dev account to itself) when a request goes through the proxy, but does not get a response after 5 seconds. Log requests to disk (when log level is trace - enabled with the embark option `—loglevel trace`) that have not received a response and for which a dev tx has been sent. Add logging to a `proxyLogs.json` log file as well, so that this information can be gleaned later for debugging purposes. This particular PR Is meant to workaround an issue with running geth with the `—dev` option, as some transactions appear to get stuck, which then builds up further txs in a queue. Only when another tx is sent is the queue then purged as expected. The remaining issue is that even though a dev tx is sent to relieve the queued txs, the originally offending tx still never receives a response from the node. This was the motivation behind creating a proxy log, so that a dev can inspect the txs that are essentially dropped. **NOTE:** the base branch of this branch is `refactor/devfunds`. Please merge that branch first.
embark-ui
Web frontend for interactive DApp development with Embark
Visit embark.status.im to get started with Embark.