paritytech / json-rpc-interface-spec

30 stars 3 forks source link

Change the error code returned by `chainHead_follow` #115

Closed tomaka closed 1 year ago

tomaka commented 1 year ago

As mentioned in the spec (https://www.jsonrpc.org/specification#error_object), -32100 is actually reserved. Let's use a non-reserved error code.