-
Notifications
You must be signed in to change notification settings - Fork 177
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 74.38% 73.86% -0.53%
==========================================
Files 109 110 +1
Lines 11493 11593 +100
==========================================
+ Hits 8549 8563 +14
- Misses 2278 2362 +84
- Partials 666 668 +2 ☔ 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
b170da1
to
b617595
Compare
cf082b0
to
6b842a7
Compare
6b842a7
to
e65a8a4
Compare
Fixes #2209
This is based on #2211