Skip to content

Commit 06717e2

Browse files
Update ws block parameter name as per v0.8.0-rc1 (#2375)
1 parent 27b6968 commit 06717e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rpc/handlers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,17 +355,17 @@ func (h *Handler) Methods() ([]jsonrpc.Method, string) { //nolint: funlen
355355
},
356356
{
357357
Name: "starknet_subscribeEvents",
358-
Params: []jsonrpc.Parameter{{Name: "from_address", Optional: true}, {Name: "keys", Optional: true}, {Name: "block", Optional: true}},
358+
Params: []jsonrpc.Parameter{{Name: "from_address", Optional: true}, {Name: "keys", Optional: true}, {Name: "block_id", Optional: true}},
359359
Handler: h.SubscribeEvents,
360360
},
361361
{
362362
Name: "starknet_subscribeNewHeads",
363-
Params: []jsonrpc.Parameter{{Name: "block", Optional: true}},
363+
Params: []jsonrpc.Parameter{{Name: "block_id", Optional: true}},
364364
Handler: h.SubscribeNewHeads,
365365
},
366366
{
367367
Name: "starknet_subscribeTransactionStatus",
368-
Params: []jsonrpc.Parameter{{Name: "transaction_hash"}, {Name: "block", Optional: true}},
368+
Params: []jsonrpc.Parameter{{Name: "transaction_hash"}, {Name: "block_id", Optional: true}},
369369
Handler: h.SubscribeTransactionStatus,
370370
},
371371
{

0 commit comments

Comments
 (0)