From ddfd6b0a7cbb25219111f209c86710de995bfbb7 Mon Sep 17 00:00:00 2001 From: Brett Letner <169287409+brett-monad@users.noreply.github.com> Date: Fri, 5 Jun 2026 09:09:51 -0400 Subject: [PATCH] Add block_round to evmc_tx_context for Monad consensus round Exposes the Monad consensus round number to the EVM transaction context for the EIP-7843 round-number opcode. Appended after initcodes_count so existing field offsets are unchanged. Co-Authored-By: Claude Sonnet 4.6 --- include/evmc/evmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/evmc/evmc.h b/include/evmc/evmc.h index 0c0cfff1d..15304f24d 100644 --- a/include/evmc/evmc.h +++ b/include/evmc/evmc.h @@ -232,6 +232,7 @@ struct evmc_tx_context size_t blob_hashes_count; /**< The number of blob hashes (EIP-4844). */ const evmc_tx_initcode* initcodes; /**< The array of transaction initcodes (TXCREATE). */ size_t initcodes_count; /**< The number of transaction initcodes (TXCREATE). */ + uint64_t block_round; /**< The Monad consensus round number; 0 for EVM. */ }; /**