You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/src/crates/interpreter.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,11 @@ The `interpreter` crate is concerned with the execution of the EVM opcodes and s
5
5
Modules:
6
6
7
7
-[gas](./interpreter/gas.md): This module deals with handling the gas mechanics in the EVM, such as calculating gas costs for operations.
8
-
-[host](./interpreter/host.md): This module defines the `Host` trait, and any types or functions that the host machine (the machine running the EVM).
9
-
-[inner_models](./interpreter/inner_models.md): Based on the name, this module could contain the inner data structures or models used in the EVM implementation.
10
-
-[instruction_result](./interpreter/instruction_result.md): This module likely contains definitions related to the result of instruction execution.
11
-
-[instructions](./interpreter/instructions.md): This module is expected to include the definitions of the EVM opcodes (instructions).
12
-
-[interpreter](./interpreter/interpreter.md): This module would contain the Interpreter struct and related functionality for executing EVM instructions.
8
+
-[host](./interpreter/host.md): This module defines the evm context `Host` trait.
9
+
-[inner_models](./interpreter/inner_models.md): This module contains the inner data structures used in the EVM implementation.
10
+
-[instruction_result](./interpreter/instruction_result.md): This module contains definitions related to the result of instruction execution.
11
+
-[instructions](./interpreter/instructions.md): This module includes the definitions of the EVM opcodes (instructions).
12
+
13
13
14
14
External Crates:
15
15
@@ -18,9 +18,8 @@ External Crates:
18
18
19
19
Constants:
20
20
21
-
-`USE_GAS`: This constant determines whether gas measurement should be used. It's set to false if the no_gas_measuring feature is enabled.
21
+
-`USE_GAS`: This constant determines whether gas measurement should be used. It's set to false if the `no_gas_measuring` feature is enabled.
22
22
23
-
Re-exported Types:
24
-
Several types and functions are re-exported for easier access by users of this library, such as Gas, Host, InstructionResult, OpCode, Interpreter, Memory, Stack, and others. This allows users to import these items directly from the library root instead of from their individual modules.
25
-
Re-exported Crate:
26
-
revm_primitives: This crate is re-exported, likely providing primitive types or functionality used in the EVM implementation.
23
+
Re-exports:
24
+
- Several types and functions are re-exported for easier access by users of this library, such as `Gas`, `Host`, `InstructionResult`, `OpCode`, `Interpreter`, `Memory`, `Stack`, and others. This allows users to import these items directly from the library root instead of from their individual modules.
25
+
- revm_primitives: This crate is re-exported, providing primitive types or functionality used in the EVM implementation.
0 commit comments