-
Notifications
You must be signed in to change notification settings - Fork 170
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
starknet_subscribeTransactionStatus websocket method #2210
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2210 +/- ##
==========================================
- Coverage 75.45% 74.81% -0.65%
==========================================
Files 106 106
Lines 11237 11565 +328
==========================================
+ Hits 8479 8652 +173
- Misses 2124 2258 +134
- Partials 634 655 +21 ☔ View full report in Codecov by Sentry. |
c5eb695
to
abfec15
Compare
dae4ff2
to
bffd2bf
Compare
return err | ||
} | ||
|
||
func (h *Handler) SubscribeTxnStatus(ctx context.Context, txHash felt.Felt, _ *BlockID) (*SubscriptionID, *jsonrpc.Error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the specs, we also need to support historical blocks. Or is it not possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not possible. I added a comment explaining this.
0ce1ae2
to
b170da1
Compare
Co-authored-by: rian <rian@physics.ox.ac.uk> Co-authored-by: LordGhostX <solomonghost9@gmail.com>
b170da1
to
b617595
Compare
Fixes #2209
This is based on #2211