Skip to content

Commit

Permalink
Correct supported spec version to v0.6.0 in starknet_specVersion (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored Dec 8, 2023
1 parent 18319fd commit 66d5fa5
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 @@ -1671,7 +1671,7 @@ func (h *Handler) callAndLogErr(f func() error, msg string) {
}

func (h *Handler) SpecVersion() (string, *jsonrpc.Error) {
return "0.6.0-rc5", nil
return "0.6.0", 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 @@ -3676,7 +3676,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-rc5", version)
require.Equal(t, "0.6.0", version)

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

0 comments on commit 66d5fa5

Please sign in to comment.