Skip to content

Commit

Permalink
Add initcodes array to evmc_tx_context
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Sep 25, 2023
1 parent c888240 commit b5b878a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/evmc/evmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ struct evmc_tx_context
evmc_uint256be block_base_fee; /**< The block base fee per gas (EIP-1559, EIP-3198). */
const evmc_bytes32* blob_hashes; /**< The array of blob hashes (EIP-4844). */
size_t blob_hashes_count; /**< The number of blob hashes (EIP-4844). */
const uint8_t* const* initcodes; /**< The array of initcode data (CREATE4). */
const size_t* initcode_sizes; /**< The array of initcode sizes (CREATE4). */
size_t initcodes_count; /**< The number of initcodes (CREATE4). */
};

/**
Expand Down

0 comments on commit b5b878a

Please sign in to comment.