alloy_eips::eip4844

Module utils

source
Expand description

Utilities for working with EIP-4844 field elements and implementing SidecarCoder.

Structs§

  • A wrapper for a slice of bytes that is a whole, valid field element.

Functions§

  • Determine whether a slice of bytes can be contained in a field element.
  • Calculate the number of field elements required to store the given data.
  • Calculate the number of field elements required to store the given number of bytes.