Skip to content

Commit

Permalink
Update supported rpc for starknet_specVersion method (#1503)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored Dec 1, 2023
1 parent fb1f9e9 commit 9771168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ func (h *Handler) callAndLogErr(f func() error, msg string) {
}

func (h *Handler) SpecVersion() (string, *jsonrpc.Error) {
return "0.6.0-rc2", nil
return "0.6.0-rc4", nil
}

func (h *Handler) LegacySpecVersion() (string, *jsonrpc.Error) {
Expand Down
2 changes: 1 addition & 1 deletion rpc/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3629,7 +3629,7 @@ func TestSpecVersion(t *testing.T) {
handler := rpc.New(nil, nil, 0, nil, nil, nil, "", nil)
version, rpcErr := handler.SpecVersion()
require.Nil(t, rpcErr)
require.Equal(t, "0.6.0-rc2", version)
require.Equal(t, "0.6.0-rc4", version)

legacyVersion, rpcErr := handler.LegacySpecVersion()
require.Nil(t, rpcErr)
Expand Down

0 comments on commit 9771168

Please sign in to comment.