-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: async blob submissions #3296
Comments
Any plans to return result statuses through a channel on async blob submission? Like |
@0xRampey yes something like that, we are considering adding an endpoint to blob module that would be able to submit a tx and query for its status, returning the result through a channel once included. |
Closes: #3296 This adds the [`Signer`](https://github.com/celestiaorg/celestia-app/blob/bcab06582c9802f1d49a2bee86820792258bb587/pkg/user/signer.go#L31) struct from celestia-app's user package. Signer keeps track of both the network and local sequence number allowing for multiple messages to be signed within a single block. This also uses the `EstimateGas` function of the signer to estimate the gas, when the user provides 0 as the `gasLim` TODO: we should probably introduce some gas multiplier (default: 1.1) to the `EstimateGas` as it seems to underestimate the value (cc @vgonkivs) --------- Co-authored-by: rene <[email protected]>
The current Signer integration doesn't make blob submission async. Yes, it changed the tx submission mode from Block to Sync, but this line makes it equivalent to what we had before |
Implementation ideas
the api should have a way to let users submit async blob submission calls
should be delivered in tandem with #3164
ref: #3256
The text was updated successfully, but these errors were encountered: