Shell/RPC: rename /context/helpers
into /helpers
This commit is contained in:
parent
0ad85aca21
commit
33ded01ae7
@ -554,7 +554,7 @@ module Make(Proto : PROTO)(Next_proto : PROTO) = struct
|
|||||||
|
|
||||||
module Helpers = struct
|
module Helpers = struct
|
||||||
|
|
||||||
let path = RPC_path.(path / "context" / "helpers")
|
let path = RPC_path.(path / "helpers")
|
||||||
|
|
||||||
module Forge = struct
|
module Forge = struct
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ module Baking_rights = struct
|
|||||||
open Data_encoding
|
open Data_encoding
|
||||||
|
|
||||||
let custom_root =
|
let custom_root =
|
||||||
RPC_path.(open_root / "context" / "helpers" / "baking_rights")
|
RPC_path.(open_root / "helpers" / "baking_rights")
|
||||||
|
|
||||||
type baking_rights_query = {
|
type baking_rights_query = {
|
||||||
levels: Raw_level.t list ;
|
levels: Raw_level.t list ;
|
||||||
@ -400,7 +400,7 @@ module Endorsing_rights = struct
|
|||||||
open Data_encoding
|
open Data_encoding
|
||||||
|
|
||||||
let custom_root =
|
let custom_root =
|
||||||
RPC_path.(open_root / "context" / "helpers" / "endorsing_rights")
|
RPC_path.(open_root / "helpers" / "endorsing_rights")
|
||||||
|
|
||||||
type endorsing_rights_query = {
|
type endorsing_rights_query = {
|
||||||
levels: Raw_level.t list ;
|
levels: Raw_level.t list ;
|
||||||
|
@ -34,7 +34,7 @@ let parse_operation (op: Operation.raw) =
|
|||||||
ok { shell = op.shell ; protocol_data }
|
ok { shell = op.shell ; protocol_data }
|
||||||
| None -> error Cannot_parse_operation
|
| None -> error Cannot_parse_operation
|
||||||
|
|
||||||
let path = RPC_path.(open_root / "context" / "helpers")
|
let path = RPC_path.(open_root / "helpers")
|
||||||
|
|
||||||
module Scripts = struct
|
module Scripts = struct
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user