Hello this is Sandro
I am working on the gas pricing paper with Virgil.
In working on this paper, what is the current gas-price for every elementary operation? The best I’ve found is at:
Is there something more complete than this?
http://yellowpaper.io/ Page 20 (Appendix G) is where to start, keep reading through Appendix H. Of course, this document is 100% un-consumable by mere mortals which makes it largely useless. I would love it if there was an actually consumable version of that document.
I put this spreadsheet together https://docs.google.com/spreadsheets/d/1n6mRqkBz3iWcOlRem_mO09GtSKEKrAsfO7Frgx18pNU/edit#gid=0
I’m planning on getting this into a git repo and handling updates/versions. Will post back here if/when that happens.
Note: This version of the spreadsheet does not reflect any changes that are being made for Metropolis.
neat, that summarizes it well. Thank you!
Here is the original spreadsheet that we used to calculate the gas costs:
@aserev Interested in helping with paper. Check DM in discourse.
As a higher level research comment, this is why readable language defs can be nice. Here’s the KEVM interpretation of the current fee schedule: https://github.com/kframework/evm-semantics/blob/master/.build/rvk/evm.k#L1607
And the pyethereum implementation: https://github.com/ethereum/pyethereum/blob/develop/ethereum/opcodes.py
Just ported that google spreadsheet to a github repo https://github.com/djrtwo/evm-opcode-gas-costs
I’ll be tracking yellow paper changes and creating new versions for releases (like metropolis).