Replies: 1 comment
-
In v5, types are not checked against In v6, strictNullCheck is enabled, so the type will include null. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
A clear and concise description of what the bug is.
There's no
effectiveGasPrice
on receipts for some networks, for example BSC. But it is required on TransactionReceipt type, which can lead to errors in runtime that Typescript won't catch at compile time.Reproduction Steps
effectiveGasPrice
I'm not sure if it's an idiosyncrasy of BSC or also present on other networks
Marking it optional may be enough of a fix
Beta Was this translation helpful? Give feedback.
All reactions