diff --git a/.github/workflows/gateway-conformance.yml b/.github/workflows/gateway-conformance.yml index 8da2499..7a2d675 100644 --- a/.github/workflows/gateway-conformance.yml +++ b/.github/workflows/gateway-conformance.yml @@ -74,7 +74,7 @@ jobs: kuboNodeMultiaddr=$(ipfs --api=/ip4/127.0.0.1/tcp/5001 swarm addrs local --id | head -n 1) # run gw - ./rainbow --routing-v1-endpoints=http://127.0.0.1:8080 --dht-routing=off --peering=$kuboNodeMultiaddr & + ./rainbow --http-routers=http://127.0.0.1:8080 --dht-routing=off --peering=$kuboNodeMultiaddr & working-directory: rainbow # 6. Run the gateway-conformance tests diff --git a/main.go b/main.go index d84a8a6..324868d 100644 --- a/main.go +++ b/main.go @@ -168,9 +168,9 @@ Generate an identity seed and launch a gateway: Usage: "Maximum number of file descriptors. Defaults to 50% of the process' limit", }, &cli.StringSliceFlag{ - Name: "routing-v1-endpoints", + Name: "http-routers", Value: cli.NewStringSlice(cidContactEndpoint), - EnvVars: []string{"RAINBOW_ROUTING_V1_ENDPOINTS"}, + EnvVars: []string{"RAINBOW_HTTP_ROUTERS"}, Usage: "HTTP servers with /routing/v1 endpoints to use for delegated routing (comma-separated)", }, &cli.StringFlag{ @@ -312,7 +312,7 @@ share the same seed as long as the indexes are different. MaxMemory: cctx.Uint64("max-memory"), MaxFD: cctx.Int("max-fd"), InMemBlockCache: cctx.Int64("inmem-block-cache"), - RoutingV1Endpoints: cctx.StringSlice("routing-v1-endpoints"), + RoutingV1Endpoints: cctx.StringSlice("http-routers"), DHTRouting: DHTRouting(cctx.String("dht-routing")), DHTSharedHost: cctx.Bool("dht-shared-host"), IpnsMaxCacheTTL: cctx.Duration("ipns-max-cache-ttl"),