Skip to content

Block round - #6

Merged
Baltoli merged 1 commit into
v12.1.0-categoryfrom
block-round
Jun 8, 2026
Merged

Baltoli merged 1 commit into
v12.1.0-categoryfrom
block-round

Conversation

@brett-monad

Copy link
Copy Markdown

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 <noreply@anthropic.com>
@brett-monad brett-monad closed this Jun 5, 2026
@brett-monad
brett-monad deleted the block-round branch June 5, 2026 15:59
@brett-monad
brett-monad restored the block-round branch June 5, 2026 16:51
@brett-monad brett-monad reopened this Jun 5, 2026
@brett-monad
brett-monad changed the base branch from master to v12.1.0-category June 5, 2026 16:56
@brett-monad
brett-monad requested review from Baltoli and Copilot June 5, 2026 16:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new block_round field to evmc_tx_context to expose Monad consensus round information to EVMC VMs via the standard transaction/block context.

Changes:

  • Extend struct evmc_tx_context with uint64_t block_round for Monad round number.
  • Document intended default semantics for non-Monad/EVM usage in the field comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread include/evmc/evmc.h
Comment thread include/evmc/evmc.h
Comment thread include/evmc/evmc.h
@Baltoli
Baltoli merged commit 1e1e060 into v12.1.0-category Jun 8, 2026
5 checks passed
@Baltoli
Baltoli deleted the block-round branch June 8, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants