Commit 22827e3
fix: include gas parameters in mined transaction webhooks
Previously gasLimit and gasPrice fields were null in mined transaction
webhooks because the resolver functions only checked for "sent" status.
Since MinedTransaction inherits gas fields from SentTransaction, these
values should be available for mined transactions as well.
Updates the resolver functions to include "mined" status:
- resolveGas() - returns transaction.gas for sent/mined transactions
- resolveGasPrice() - returns transaction.gasPrice for sent/mined transactions
- resolveMaxFeePerGas() - returns transaction.maxFeePerGas for sent/mined transactions
- resolveMaxPriorityFeePerGas() - returns transaction.maxPriorityFeePerGas for sent/mined transactions
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 067d5da commit 22827e3
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
0 commit comments