diff --git a/src/app/bundles/[uuid]/page.tsx b/src/app/bundles/[uuid]/page.tsx index 43b40ed..50ed648 100644 --- a/src/app/bundles/[uuid]/page.tsx +++ b/src/app/bundles/[uuid]/page.tsx @@ -340,6 +340,27 @@ function SimulationCard({ meter }: { meter: MeterBundleResponse }) { + {(meter.stateRootAccountNodeCount > 0 || + meter.stateRootStorageNodeCount > 0) && ( +
+
+
+ Account Trie Nodes +
+
+ {meter.stateRootAccountNodeCount.toLocaleString()} +
+
+
+
+ Storage Trie Nodes +
+
+ {meter.stateRootStorageNodeCount.toLocaleString()} +
+
+
+ )}
diff --git a/src/lib/s3.ts b/src/lib/s3.ts index 9086f70..23630a0 100644 --- a/src/lib/s3.ts +++ b/src/lib/s3.ts @@ -128,6 +128,8 @@ export interface MeterBundleResponse { totalGasUsed: number; totalExecutionTimeUs: number; stateRootTimeUs: number; + stateRootAccountNodeCount: number; + stateRootStorageNodeCount: number; } export interface BundleData {