# `EEVM.Context.Block`
[🔗](https://github.com/mw2000/eevm/blob/v0.1.0/lib/eevm/context/block.ex#L1)

> 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.

# `new`

> This function is deprecated. Use EEVM.BlockEnv.new/1.

```elixir
@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`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
