py-evm
py-evm copied to clipboard
Unclear Parameter in `test_vm_fixtures`
In this test here is unclear the use of the parameter computation_getter in the function definition.
Is it actually used in some way I cannot see?
It does appear un-used. Looks safe to remove.
Hm, looks like someone got part-way through adding tests for vm.execute_bytecode. At first glance it looks like it could be a useful test, not sure why it got abandoned.
Like maybe this: https://github.com/ethereum/py-evm/blob/0cd3ebac9c7c336b07f2f52c52b069fbe400bcef/tests/json-fixtures/test_virtual_machine.py#L199-L215
Should be replaced with:
computation_getter(fixture, code, vm)