You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
For branch coverage analysis it would be really useful to easily access the what the stack looks like at the moment a predicate is evaluated (e.g. the values that are on the stack when an EQ opcode is consumed). Right now, I access this information by using web3's debug.getTransactionTrace, but as I understand, this involves rerunning the same transaction again which is inefficient.
Desired Behavior
An option to log the EVM's behaviour is added to Ganache's initialisation settings.
Context
I am writing a genetic algorithm for automated test case generation tool for Solidity smart contracts, this involves evaluating how close tests are to covering specific branches. The biggest bottleneck for my algorithm is this evaluation step so I would like to directly extract the values from a log of the EVM.
Environment
Ganache CLI v6.4.3 (ganache-core: 2.5.5) in combination with web3 3.5.2
The text was updated successfully, but these errors were encountered:
For branch coverage analysis it would be really useful to easily access the what the stack looks like at the moment a predicate is evaluated (e.g. the values that are on the stack when an
EQ
opcode is consumed). Right now, I access this information by using web3'sdebug.getTransactionTrace
, but as I understand, this involves rerunning the same transaction again which is inefficient.Desired Behavior
An option to log the EVM's behaviour is added to Ganache's initialisation settings.
Context
I am writing a genetic algorithm for automated test case generation tool for Solidity smart contracts, this involves evaluating how close tests are to covering specific branches. The biggest bottleneck for my algorithm is this evaluation step so I would like to directly extract the values from a log of the EVM.
Environment
Ganache CLI v6.4.3 (ganache-core: 2.5.5) in combination with web3 3.5.2
The text was updated successfully, but these errors were encountered: