Skip to content

feat: extend FlashbotMevShareTxHint with full mev-share tx fields#201

Merged
datluongductuan merged 2 commits into
mainfrom
feat/mev-share-tx-hint-extra-fields
May 22, 2026
Merged

feat: extend FlashbotMevShareTxHint with full mev-share tx fields#201
datluongductuan merged 2 commits into
mainfrom
feat/mev-share-tx-hint-extra-fields

Conversation

@datluongductuan

Copy link
Copy Markdown
Member

Summary

  • Extend FlashbotMevShareTxHint to include the additional fields the mev-share SSE feed now emits when the bundle sender configures the full hint (TEE-searcher mode): from, value, maxFeePerGas, maxPriorityFeePerGas, nonce, chainId, accessList, gas, type.
  • All new fields are optional pointers with omitempty, so consumers that ignore them keep working.
  • AccessList uses go-ethereum/core/types.AccessList to match the on-the-wire shape {address, storageKeys[]}.

Test plan

  • go build ./... passes locally.
  • Downstream consumer (mempool-explorer) confirms parsing of a real mev-share full-hint event.

🤖 Generated with Claude Code

Add From, Value, MaxFeePerGas, MaxPriorityFeePerGas, Nonce, ChainID,
AccessList, Gas, Type to match the latest mev-share SSE payload (full
hint / TEE-searcher mode). Existing fields unchanged; all new fields
are optional pointers with omitempty.
Realign struct field tags after adding *gethtypes.AccessList (longer
type than the rest) so gci/gofmt CI passes.
@datluongductuan datluongductuan merged commit 215193f into main May 22, 2026
3 checks passed
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.

2 participants