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
Currently, clients are able to configure Fee and Gas as part of SubmitOptions. As Gas depends on blob size, it requires the client to calculate it for each blob and adjust Fee accordingly. The client only cares about the Gas Price so that the transaction can be prioritised.
Hence this is a feature request that the client should be able to configure a Gas Price once that can be used to calculate and adjust fee for all subsequent submitted blobs.
The text was updated successfully, but these errors were encountered:
I think it would be cleaner to also add it as a parameter for transactions being submitted, rather than as global variable. Or rather, the global variable could just be to set the default.
This PR modifies the blob interface to replace SubmitOptions with
GasLimit. The reasoning here is that setting a gas price is a lot more
intuitive/easier than calculating the fee and gas limit, which take
cosmossdk and celestia-app imports to calculate without much effort.
Related: rollkit/go-da#30
Based on a suggestion from @vgonkivs we alias float64 to be able to
provide a default value, but now that its there I think we can just have
float64 and the same constructor, as it doesn't change that much.
Breaks the API, cc @jcstein, @tuxcanfly, and @Ferret-san .
Closes#3053.
Implementation ideas
Currently, clients are able to configure
Fee
andGas
as part ofSubmitOptions
. AsGas
depends on blob size, it requires the client to calculate it for each blob and adjustFee
accordingly. The client only cares about the Gas Price so that the transaction can be prioritised.Hence this is a feature request that the client should be able to configure a Gas Price once that can be used to calculate and adjust fee for all subsequent submitted blobs.
The text was updated successfully, but these errors were encountered: