• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-services / 4442
31%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2020 01:42PM UTC
Jobs 1
Files 86
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jul 2020 01:23PM UTC coverage: 28.366% (-0.005%) from 28.371%
4442

push

travis-pro

web-flow
Retry submitting solution during network congestion (#1216)

Currently we only check for "nonce already used" errors specifically to
determine when we should retry sending a transaction with a higher gas
price and when we should cancel a solution submission transaction.
This commit changes this to include all what openethereum calls
transaction errors. These errors indicate that the transaction did not
execute which can happen for several reasons.
This makes us more flexible with regards to the exact error string. It
has the side effect that we will try to resubmit the transaction with a
higher gas price in cases where this won't help but it also will not
hurt as we will still end up with the same error eventually.
openethereum transaction errors that share this error code (-32010):

```rust
AlreadyImported => "Transaction with the same hash was already imported.".into(),
Old => "Transaction nonce is too low. Try incrementing the nonce.".into(),
TooCheapToReplace { prev, new } => {
        format!("Transaction gas price {} is too low. There is another transaction with same nonce in the queue{}. Try increasing the gas price or incrementing the nonce.",
                        new.map(|gas| format!("{}wei", gas)).unwrap_or("supplied".into()),
                        prev.map(|gas| format!(" with gas price: {}wei", gas)).unwrap_or("".into())
        )
}
LimitReached => {
        "There are too many transactions in the queue. Your transaction was dropped due to limit. Try increasing the fee.".into()
}
InsufficientGas { minimal, got } => {
        format!("Transaction gas is too low. There is not enough gas to cover minimal cost of the transaction (minimal: {}, got: {}). Try increasing supplied gas.", minimal, got)
}
InsufficientGasPrice { minimal, got } => {
        format!("Transaction gas price is too low. It does not satisfy your node's minimal gas price (minimal: {}, got: {}). Try increasing the gas price.", minimal, got)
... (continued)

11281 of 45335 branches covered (24.88%)

Branch coverage included in aggregate %.

2940 of 4799 relevant lines covered (61.26%)

12533.18 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4442.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.2) 30 Jul 2020 01:42PM UTC 0
28.37
Travis Job 4442.3
Source Files on build 4442
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4442
  • 5fd5f199 on github
  • Prev Build on master (#4437)
  • Next Build on master (#4451)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc