Skip to content

Commit

Permalink
Fix comsmos spec update script (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrod-teich authored Oct 20, 2024
1 parent 0b94fc3 commit fd2dd41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/automation_scripts/update_cosmos_spec_from_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ def parse_endpoints_from_grpcurl(grpc_url: str) -> dict[str, list[str]]:
service_name, service_content = service_match.groups()

if (
"cosmos" in service_content
or "cosmwasm" in service_content
"cosmwasm" in service_content
or "ibc" in service_content
or "grpc.reflection.v1alpha" in service_content
):
continue

if "cosmos" in service_content and "evm" not in service_content:
continue

# Extracting all grpc paths
for rpc_match in rpc_pattern.finditer(service_content):
rpc_method = rpc_match.group(1)
Expand Down

0 comments on commit fd2dd41

Please sign in to comment.