Module utils
Functions§
- apply_
chain_ and_ block_ specific_ env_ changes - Depending on the configured chain id and block number this should apply any specific changes
- block_
env_ from_ header - Constructs a [
BlockEnv] from a block header. - cold_
path - Hints to the compiler that this is a cold path, i.e. unlikely to be taken.
- get_
blob_ base_ fee_ update_ fraction - Derive the blob base fee update fraction based on the chain and timestamp by checking the hardfork.
- get_
blob_ base_ fee_ update_ fraction_ by_ spec_ id - Returns the blob base fee update fraction based on the spec id.
- get_
blob_ params - Derives the active [
BlobParams] based on the given timestamp. - get_
function - Given an ABI and selector, it tries to find the respective function.
Type Aliases§
- State
Changeset - EVM State is a mapping from addresses to accounts.