File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
features/Overview/SlotPerformance/ComputeUnitsCard Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,6 @@ export const slotTransactionsSchema = z.object({
215215 txn_mb_start_timestamps_nanos : z . coerce . bigint ( ) . array ( ) ,
216216 txn_mb_end_timestamps_nanos : z . coerce . bigint ( ) . array ( ) ,
217217 txn_compute_units_requested : z . number ( ) . array ( ) ,
218- txn_max_compute_units : z . number ( ) . array ( ) ,
219218 txn_compute_units_consumed : z . number ( ) . array ( ) ,
220219 txn_priority_fee : z . coerce . bigint ( ) . array ( ) ,
221220 txn_tips : z . coerce . bigint ( ) . array ( ) ,
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ function getChartData(computeUnits: ComputeUnits): ChartData[] {
9999 const txn_idx = event . txn_idx ;
100100 const cus_delta = computeUnits . txn_landed [ txn_idx ]
101101 ? event . start
102- ? computeUnits . txn_max_compute_units [ txn_idx ]
103- : - computeUnits . txn_max_compute_units [ txn_idx ] +
102+ ? computeUnits . txn_compute_units_requested [ txn_idx ]
103+ : - computeUnits . txn_compute_units_requested [ txn_idx ] +
104104 computeUnits . txn_compute_units_consumed [ txn_idx ]
105105 : 0 ;
106106 const priority_fee =
You can’t perform that action at this time.
0 commit comments