EEVM.Context.Block (eevm v0.1.0)

Copy Markdown View Source
This module is deprecated. Use EEVM.BlockEnv.

Deprecated: renamed to EEVM.BlockEnv with snake_case fields. new/1 still accepts the old field names for one minor version.

Summary

Functions

new(opts \\ []) deprecated

Builds an EEVM.BlockEnv from the old field names (gaslimit, prevrandao, basefee, hashes). chain_id is dropped: set it with EEVM.Config.new/2.

Functions

new(opts \\ [])

This function is deprecated. Use EEVM.BlockEnv.new/1.
@spec new(keyword()) :: EEVM.BlockEnv.t()

Builds an EEVM.BlockEnv from the old field names (gaslimit, prevrandao, basefee, hashes). chain_id is dropped: set it with EEVM.Config.new/2.