Adding tests for tx tracing logger
These tests are checking correct information in the transaction traces according to schema:
https://docs.rs/web3/latest/web3/types/struct.TransactionTrace.html
Tests are simulating EVM callbacks to the tracer to generate json response, so real EVM proccessing is not included in these tests.
Fixed gasUsed value for root call, as it took value from transaction object, which is holding gasLimit value. That differs from the value, which transaction used. Now value from transaction receipt is taken so both values are in final trace action object.
Gas limit as gas
Gas used from receipt as gasUsed in result
Changed error presentation in the trace with translating into Parity error messages.
Adding tests for tx tracing logger These tests are checking correct information in the transaction traces according to schema: https://docs.rs/web3/latest/web3/types/struct.TransactionTrace.html Tests are simulating EVM callbacks to the tracer to generate json response, so real EVM proccessing is not included in these tests.
Fixed gasUsed value for root call, as it took value from transaction object, which is holding gasLimit value. That differs from the value, which transaction used. Now value from transaction receipt is taken so both values are in final trace action object. Gas limit as gas Gas used from receipt as gasUsed in result
Changed error presentation in the trace with translating into Parity error messages.