koa
koa copied to clipboard
[vm] Implement analysis function
Subject asm.go
Detail
we need to analyze while assemble the rawByteCode,
analysis() function calculate the cost of running the code.
And we need to discuss about it more.
ex) if code's cost is very, vm may possibly stop.
Reference Ethereum opcode gas costs https://docs.google.com/spreadsheets/d/1n6mRqkBz3iWcOlRem_mO09GtSKEKrAsfO7Frgx18pNU/edit#gid=0