Skip to content

fix: encode BlockOverrides prevRandao as a 32-byte hash - #700

Open
Iamsohungrynow wants to merge 1 commit into
wevm:mainfrom
Iamsohungrynow:fix/block-overrides-prev-randao
Open

Iamsohungrynow wants to merge 1 commit into
wevm:mainfrom
Iamsohungrynow:fix/block-overrides-prev-randao

Conversation

@Iamsohungrynow

Copy link
Copy Markdown

BlockOverrides.toRpc sends prevRandao: 6n as "0x6", but geth types it as common.Hash and rejects it (hex string of odd length), so simulateBlocks with a prevRandao override fails. pads it to 32 bytes now, core and zod, fromRpc already read that form

@vercel

vercel Bot commented Nov 19, 2026

Copy link
Copy Markdown

@Iamsohungrynow is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

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

1 participant