From 461e9f7d4402ad6590ca634b0fb74529998fa553 Mon Sep 17 00:00:00 2001 From: Mr-Leshiy Date: Thu, 18 Apr 2024 13:17:47 +0300 Subject: [PATCH] fix --- catalyst-gateway/README.md | 17 +++++++++-------- catalyst-gateway/tests/Earthfile | 2 -- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/catalyst-gateway/README.md b/catalyst-gateway/README.md index c8c444d88..501e9d964 100644 --- a/catalyst-gateway/README.md +++ b/catalyst-gateway/README.md @@ -59,11 +59,12 @@ To build and run a Rust binary follow these steps: You can download `preprod-snapshot` from this [resource](https://mithril.network/explorer/?aggregator=https%3A%2F%2Faggregator.release-preprod.api.mithril.network%2Faggregator). 4. Run -```sh - ./target/release/cat-gateway run \ - --address "127.0.0.1:3030" \ - --database-url=postgres://catalyst-event-dev:CHANGE_ME@localhost/CatalystEventDev \ - --log-level=debug \ - --log-format=compact \ - --metrics-address "127.0.0.1:3032" -``` + + ```sh + ./target/release/cat-gateway run \ + --address "127.0.0.1:3030" \ + --database-url=postgres://catalyst-event-dev:CHANGE_ME@localhost/CatalystEventDev \ + --log-level=debug \ + --log-format=compact \ + --metrics-address "127.0.0.1:3032" + ``` diff --git a/catalyst-gateway/tests/Earthfile b/catalyst-gateway/tests/Earthfile index d92254c20..0c07b4f3e 100644 --- a/catalyst-gateway/tests/Earthfile +++ b/catalyst-gateway/tests/Earthfile @@ -32,8 +32,6 @@ fuzzer-api: FROM earthly/dind:alpine-3.19 RUN apk update && apk add iptables-legacy # workaround for https://github.com/earthly/earthly/issues/3784 RUN apk add yq zstd - ARG DB_URL="postgres://catalyst-event-dev:CHANGE_ME@localhost/CatalystEventDev" - ARG CAT_ADDRESS="127.0.0.1:3030" ARG OPENAPI_SPEC="http://127.0.0.1:3030/docs/cat-gateway.json" COPY schemathesis-docker-compose.yml .