Summary of the issue:
If a transaction is triggered and confirmed, it takes a while before it succeeds and the nonce of the Safe is increased. If in a very short period of time another transaction is triggered, the new transaction will probably use the same nonce as the previous (and pending) transaction.
As a result of this, the service relay will return the nonce of the last transaction of the Safe in the gas estimation call for each transaction.
This PR also adds a retry button in case the relay service returns an error when making a call to the gas estimation endpoint.
Solves this issue: https://github.com/gnosis/safe-browser-extension/issues/65
Summary of the issue: If a transaction is triggered and confirmed, it takes a while before it succeeds and the nonce of the Safe is increased. If in a very short period of time another transaction is triggered, the new transaction will probably use the same nonce as the previous (and pending) transaction.
As a result of this, the service relay will return the nonce of the last transaction of the Safe in the gas estimation call for each transaction.
This PR also adds a retry button in case the relay service returns an error when making a call to the gas estimation endpoint.