openethereum/rpc/src/v1
Niklas Adolfsson 23a29439c0 light-fetch: Differentiate between out-of-gas/manual throw and use required gas from response on failure (#9824)
* fix start_gas, handle OOG exceptions & NotEnoughGas

* Change START_GAS: 50_000 -> 60_000
* When the `OutOfGas exception` is received then try to double the gas until it succeeds or block gas limit is reached
* When `NotEnoughBasGas error` is received then use the required gas provided in the response

* fix(light-fetch): ensure block_gas_limit is tried

Try the `block_gas_limit` before regard the execution as an error

* Update rpc/src/v1/helpers/light_fetch.rs

Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
2018-11-14 13:04:33 +03:00
..
helpers light-fetch: Differentiate between out-of-gas/manual throw and use required gas from response on failure (#9824) 2018-11-14 13:04:33 +03:00
impls EIP 191 (#9701) 2018-11-14 09:02:40 +01:00
tests EIP 191 (#9701) 2018-11-14 09:02:40 +01:00
traits EIP 191 (#9701) 2018-11-14 09:02:40 +01:00
types EIP 191 (#9701) 2018-11-14 09:02:40 +01:00
extractors.rs Option to disable keep alive for JSON-RPC http transport (#9848) 2018-11-05 22:39:51 +08:00
informant.rs Option to disable keep alive for JSON-RPC http transport (#9848) 2018-11-05 22:39:51 +08:00
metadata.rs Remove all dapp permissions related settings (#9120) 2018-08-07 20:52:23 +08:00
mod.rs Bad blocks RPC + reporting (#9433) 2018-09-08 04:04:28 +02:00