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({
215
215
txn_mb_start_timestamps_nanos : z . coerce . bigint ( ) . array ( ) ,
216
216
txn_mb_end_timestamps_nanos : z . coerce . bigint ( ) . array ( ) ,
217
217
txn_compute_units_requested : z . number ( ) . array ( ) ,
218
- txn_max_compute_units : z . number ( ) . array ( ) ,
219
218
txn_compute_units_consumed : z . number ( ) . array ( ) ,
220
219
txn_priority_fee : z . coerce . bigint ( ) . array ( ) ,
221
220
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[] {
99
99
const txn_idx = event . txn_idx ;
100
100
const cus_delta = computeUnits . txn_landed [ txn_idx ]
101
101
? 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 ] +
104
104
computeUnits . txn_compute_units_consumed [ txn_idx ]
105
105
: 0 ;
106
106
const priority_fee =
You can’t perform that action at this time.
0 commit comments