You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @stolpa4 , thank you for your reply 🙂
I see how casting to Wei would do it... but would it not be simpler to just set gas_limit's type to int in TxParams?
It would be more natural, given that gas limit is a pure number. It is the gas price that carries the dimensionality (Wei).
Cheers,
Guido
@coccoinomane This is definitely a good change. This would technically be a breaking change so we will likely wait to include it in the next major version release. Thanks for submitting!
What was wrong?
Hi there!
Shouldn't the
gas
parameter type inTxParams
be an integer instead ofWei
?Here's the line.
How can it be fixed?
I am happy to do a pull request if you can confirm it is the case :-)
The text was updated successfully, but these errors were encountered: