Commit c02f10a
authored
feat(ui): show gas used next to MGas/s in test detail executions (#171)
## Summary
- Displays gas used (in millions) alongside the MGas/s value for
newPayload requests in the test details modal executions list
- Shows as e.g. `123.45 MGas/s (21.00M gas)` — only renders when both
values are present
## Test plan
- [x] Open a run detail page, click a test to open the modal
- [x] Verify newPayload execution rows show gas used next to MGas/s
- [x] Verify non-newPayload rows (without MGas/s) are unaffected1 parent 0ced043 commit c02f10a
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
| |||
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| 219 | + | |
213 | 220 | | |
214 | 221 | | |
215 | 222 | | |
| |||
0 commit comments