AlchemyVM icon indicating copy to clipboard operation
AlchemyVM copied to clipboard

Proper gas calculation

Open alexdovzhanyn opened this issue 6 years ago • 2 comments

This PR solves #19 and introduces everything in #32 along with:

  • A new gas module whose purpose is to return the gas cost for a given OpCode
  • Changes to the executor file to use the new gas module
  • A small paper explaining how the gas cost of each OpCode is calculated

alexdovzhanyn avatar Feb 14 '19 23:02 alexdovzhanyn

Let me know when you want to merge it, i'll review & then merge, then I can use this as a clean base for the opcode fix from before

fantypants avatar Feb 15 '19 07:02 fantypants

@fantypants this won't be ready for merge for a while. I think using the current master for the fix should be fine, should be a change in a different file I believe, not in executor.ex

alexdovzhanyn avatar Feb 15 '19 22:02 alexdovzhanyn