diff --git a/src/lib_shell_services/block_services.ml b/src/lib_shell_services/block_services.ml index 5ae678277..1fbf4f464 100644 --- a/src/lib_shell_services/block_services.ml +++ b/src/lib_shell_services/block_services.ml @@ -554,7 +554,7 @@ module Make(Proto : PROTO)(Next_proto : PROTO) = struct module Helpers = struct - let path = RPC_path.(path / "context" / "helpers") + let path = RPC_path.(path / "helpers") module Forge = struct diff --git a/src/proto_alpha/lib_protocol/src/delegate_services.ml b/src/proto_alpha/lib_protocol/src/delegate_services.ml index bd4d7b956..6058f9f69 100644 --- a/src/proto_alpha/lib_protocol/src/delegate_services.ml +++ b/src/proto_alpha/lib_protocol/src/delegate_services.ml @@ -275,7 +275,7 @@ module Baking_rights = struct open Data_encoding let custom_root = - RPC_path.(open_root / "context" / "helpers" / "baking_rights") + RPC_path.(open_root / "helpers" / "baking_rights") type baking_rights_query = { levels: Raw_level.t list ; @@ -400,7 +400,7 @@ module Endorsing_rights = struct open Data_encoding let custom_root = - RPC_path.(open_root / "context" / "helpers" / "endorsing_rights") + RPC_path.(open_root / "helpers" / "endorsing_rights") type endorsing_rights_query = { levels: Raw_level.t list ; diff --git a/src/proto_alpha/lib_protocol/src/helpers_services.ml b/src/proto_alpha/lib_protocol/src/helpers_services.ml index e1e43c82e..6110b9f76 100644 --- a/src/proto_alpha/lib_protocol/src/helpers_services.ml +++ b/src/proto_alpha/lib_protocol/src/helpers_services.ml @@ -34,7 +34,7 @@ let parse_operation (op: Operation.raw) = ok { shell = op.shell ; protocol_data } | None -> error Cannot_parse_operation -let path = RPC_path.(open_root / "context" / "helpers") +let path = RPC_path.(open_root / "helpers") module Scripts = struct