jorisbontje / cll-sim

Ethereum CLL Contract Simulator
57 stars 12 forks source link

Make `mktx` update balances #9

Open o-jasper opened 10 years ago

o-jasper commented 10 years ago

Probably you didnt do this because it doesnt simulate fees? I reckon it could do balances could be added.. As for adding fees, kindah against making attempts to simulate.. Not sure, i reckon having the actual ethereum script interpreter behind there might be a better approach?

Fees could be constant, or maybe random. ..Kindah might want an easy way to get the random seed of the cases where the test failed.

jorisbontje commented 10 years ago

To properly handle balanced and fees we'd have to simulate the entire EVM. This is on the road map, but long term.

o-jasper commented 10 years ago

Couldnt we just 'make fees up'? I am kindah against simulating EVM itself. Might aswel be a proper EVM machine at that point, probably there is stuff on that here.

o-jasper commented 10 years ago

Could make the simulation do some random value, and people can ask what it was. So essentially it would be a bit like a place holder.