layout | title | date |
---|---|---|
post |
EVM implementation references |
2017-10-02 17:11 |
- Determines which opcodes are valid in each epoch, and also has a 'read-only' mode for byzantium:
- Just objects with opcodes:
- Gas metering:
- Has implementations of the opcodes:
- Brings it all together?
- Impls of precompiles: https://github.com/ethereum/go-ethereum/blob/master/core/vm/contracts.go
Instruction format in parity: InstructionInfo { name: name, args: args, //how many it takes ret: ret, // how many it returns tier: tier // gas cost tier }