Skip to content

refactor: gas-profiling contracts#392

Merged
mattevans merged 3 commits intomasterfrom
feat/gas-profiling-contracts
Feb 3, 2026
Merged

refactor: gas-profiling contracts#392
mattevans merged 3 commits intomasterfrom
feat/gas-profiling-contracts

Conversation

@mattevans
Copy link
Member

screencapture-localhost-5173-ethereum-execution-gas-profiler-block-20361790-2026-02-03-10_37_32

refactor(BlockPage): consolidate calls & contracts tabs into single calls view
feat(BlockPage): add contract treemap and transaction→contract sankey diagrams
feat(TransactionPage): replace contracts tab with contract treemap & call tree
feat(TransactionPage): derive opcode badge stats from existing data, drop extra fetch
feat(BlockOpcodeHeatmap): move view toggle into headerActions slot
feat(ContractCallTree): introduce hierarchical contract call tree component
refactor(useBlockTransactions): add txContractFlows for sankey visualization
refactor(useTransactionGasData): remove redundant call-frame opcode fetch
@mattevans mattevans self-assigned this Feb 3, 2026
@mattevans mattevans requested a review from Savid as a code owner February 3, 2026 00:38
@mattevans mattevans changed the title feat(PopoutCard): add headerActions prop for custom header controls refactor: gas-profiling contracts Feb 3, 2026
…adges

Replace server-side callFrameOpcodeStats with client-side derivation
using new useAllCallFrameOpcodes hook. This removes the need for the
backend to pre-calculate badge data and keeps the UI responsive.

Introduce CallFrameOpcodeStats type and helper to aggregate SSTORE,
SLOAD, LOG*, CREATE*, SELFDESTRUCT counts and error flags per frame.

Remove unused icons and InfoBox from TransactionPage to reduce bundle
size. Rename internal ContractTreeNode to ContractGasNode to avoid
clash with component type.
…nsistency

style(useBlockTransactions.ts): reformat txContractFlows chain to single line
@mattevans mattevans merged commit 5d427a6 into master Feb 3, 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

Comments