Skip to content
  • Gav Wood's avatar
    Improvements and optimisations to estimate_gas (#4142) · 311730ea
    Gav Wood authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
    * Return 0 instead of error with out of gas on estimate_gas
    
    * Fix stuff up.
    
    * Another estimate gas fix.
    
    * Alter balance to maximum possible rather than GP=0.
    
    * Only increase to amount strictly necessary.
    
    * Improvements and optimisations to estimate_gas.
    
    - Introduce proper error type
    - Avoid building costly traces
    
    * Fix tests.
    
    * Actually fix testsActually fix tests
    311730ea