Module identity
forge
1.0.0
Module identity
Module Items
Constants
Functions
In forge::
revm::
precompile
Modules
blake2
bls12_381
bn128
fatal_precompile
hash
identity
kzg_point_evaluation
modexp
secp256k1
secp256r1
utilities
Structs
Address
Bytes
Log
PrecompileOutput
PrecompileWithAddress
Precompiles
Enums
Error
Precompile
PrecompileError
PrecompileErrors
PrecompileSpecId
Traits
StatefulPrecompile
StatefulPrecompileMut
Functions
calc_linear_cost_u32
fatal_precompile
u64_to_address
Type Aliases
B256
EnvPrecompileFn
HashMap
HashSet
PrecompileResult
StandardPrecompileFn
StatefulPrecompileArc
StatefulPrecompileBox
forge
::
revm
::
precompile
Module
identity
Copy item path
Settings
Help
Summary
Constants
§
FUN
IDENTITY_
BASE
The base cost of the operation.
IDENTITY_
PER_
WORD
The cost per word.
Functions
§
identity_
run
Takes the input bytes, copies them, and returns it as the output.