Skip to content

Gas & Storage

RISC0 and EVM differ in terms of gas usage due to their different opcode sets. Gas is a fundamental concept in blockchains, serving as a unit of measurement for computational effort. Each operation within a smart contract or transaction consumes a specific amount of gas. However, RISC0 and EVM have distinct opcode sets, resulting in differences in gas usage. To bridge the gap, a weight system should be implemented to normalize RISC0 gas units to EVM. This system is still in progress, and we are currently experimenting with different approaches. The objective is to establish a reliable and efficient means of comparing and equating gas consumption between the two architectures.