I am not an expert in opcodes for Ethereum, but I am wondering if their prices here [https://github.com/ethereum/pyethereum/blob/develop/ethereum/opcodes.py] are updated as the latest version used by other clients?

If not how to update it?

2 Answers 2


That repo was marked as deprecated quite recently.

The new work is being done at https://github.com/ethereum/py-evm.


As long as no vote was cast by the majority to change the OPCODE prices, every client will have the same prices, otherwise they will fork and create an isolated network. If the majority casts a vote for changing the prices, you will recognize this by Ethereum being hardforked into 2 different Ethereum Blockchains (like ETH and ETC).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.