Skip to content

Commit

Permalink
Update ws block parameter name as per v0.8.0-rc1 (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
IronGauntlets authored Jan 15, 2025
1 parent 27b6968 commit 06717e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,17 +355,17 @@ func (h *Handler) Methods() ([]jsonrpc.Method, string) { //nolint: funlen
},
{
Name: "starknet_subscribeEvents",
Params: []jsonrpc.Parameter{{Name: "from_address", Optional: true}, {Name: "keys", Optional: true}, {Name: "block", Optional: true}},
Params: []jsonrpc.Parameter{{Name: "from_address", Optional: true}, {Name: "keys", Optional: true}, {Name: "block_id", Optional: true}},
Handler: h.SubscribeEvents,
},
{
Name: "starknet_subscribeNewHeads",
Params: []jsonrpc.Parameter{{Name: "block", Optional: true}},
Params: []jsonrpc.Parameter{{Name: "block_id", Optional: true}},
Handler: h.SubscribeNewHeads,
},
{
Name: "starknet_subscribeTransactionStatus",
Params: []jsonrpc.Parameter{{Name: "transaction_hash"}, {Name: "block", Optional: true}},
Params: []jsonrpc.Parameter{{Name: "transaction_hash"}, {Name: "block_id", Optional: true}},
Handler: h.SubscribeTransactionStatus,
},
{
Expand Down

0 comments on commit 06717e2

Please sign in to comment.