diff --git a/cookbook/specs/lava.json b/cookbook/specs/lava.json index f127039ea4..a833151b52 100644 --- a/cookbook/specs/lava.json +++ b/cookbook/specs/lava.json @@ -1456,6 +1456,42 @@ "stateful": 0 }, "extra_compute_units": 0 + }, + { + "name": "/lavanet/lava/subscription/estimated_provider_rewards/{provider}/{amount_delegator}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 + }, + { + "name": "/lavanet/lava/epochstorage/provider_metadata/{provider}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 } ], "headers": [], @@ -2888,6 +2924,42 @@ "stateful": 0 }, "extra_compute_units": 0 + }, + { + "name": "lavanet.lava.epochstorage.Query/ProviderMetaData", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 + }, + { + "name": "lavanet.lava.subscription.Query/EstimatedProviderRewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 } ], "headers": [], diff --git a/cookbook/specs/lava_mainnet.json b/cookbook/specs/lava_mainnet.json index 403bb183d9..465c52cba3 100644 --- a/cookbook/specs/lava_mainnet.json +++ b/cookbook/specs/lava_mainnet.json @@ -1438,6 +1438,42 @@ "stateful": 0 }, "extra_compute_units": 0 + }, + { + "name": "/lavanet/lava/epochstorage/provider_metadata/{provider}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 + }, + { + "name": "/lavanet/lava/subscription/estimated_provider_rewards/{provider}/{amount_delegator}", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 } ], "headers": [], @@ -2852,6 +2888,42 @@ "stateful": 0 }, "extra_compute_units": 0 + }, + { + "name": "lavanet.lava.subscription.Query/EstimatedProviderRewards", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 + }, + { + "name": "lavanet.lava.epochstorage.Query/ProviderMetaData", + "block_parsing": { + "parser_arg": [ + "latest" + ], + "parser_func": "DEFAULT" + }, + "compute_units": 10, + "enabled": true, + "category": { + "deterministic": true, + "local": false, + "subscription": false, + "stateful": 0 + }, + "extra_compute_units": 0 } ], "headers": [], diff --git a/scripts/automation_scripts/update_cosmos_spec_from_grpc.py b/scripts/automation_scripts/update_cosmos_spec_from_grpc.py index 8895d22d1c..a145e5990a 100644 --- a/scripts/automation_scripts/update_cosmos_spec_from_grpc.py +++ b/scripts/automation_scripts/update_cosmos_spec_from_grpc.py @@ -39,7 +39,7 @@ def parse_endpoints_from_grpcurl(grpc_url: str) -> dict[str, list[str]]: print("### Parsing endpoints from gRPC service") endpoints: dict[str, list[str]] = {"grpc": [], "rest": []} - content = os.popen(f"grpcurl {grpc_url} describe").read() + content = os.popen(f"grpcurl --plaintext {grpc_url} describe").read() # Regex pattern to find services starting with their corresponding rpc and rest paths grpc_pattern = re.compile(