Skip to content

Commit

Permalink
Miscellaneous fixes in AMM README (#2606)
Browse files Browse the repository at this point in the history
## Motivation

Small grammar error in AMM README

## Proposal

Fix it

## Test Plan

CI

## Release Plan

- Nothing to do / These changes follow the usual release cycle.
  • Loading branch information
andresilva91 authored Oct 11, 2024
1 parent 1c76184 commit fefa995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/amm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Note: The above mutation has to be performed from `http://localhost:8080`.
Before performing any operation we need to provide liquidity to it, so we will use the `AddLiquidity` operation,
navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_1/applications/$AMM_APPLICATION_ID"`.

To perform `AddLiquidity` operation:
To perform the `AddLiquidity` operation:

```gql,uri=http://localhost:8080/chains/$CHAIN_1/applications/$AMM_APPLICATION_ID
mutation {
Expand All @@ -209,7 +209,7 @@ mutation {

Note: The above mutation has to be performed from `http://localhost:8080`.

To perform `Swap` operation, navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID"` and
To perform the `Swap` operation, navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID"` and
perform the following mutation:

```gql,uri=http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID
Expand Down
4 changes: 2 additions & 2 deletions examples/amm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Note: The above mutation has to be performed from `http://localhost:8080`.
Before performing any operation we need to provide liquidity to it, so we will use the `AddLiquidity` operation,
navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_1/applications/$AMM_APPLICATION_ID"`.
To perform `AddLiquidity` operation:
To perform the `AddLiquidity` operation:
```gql,uri=http://localhost:8080/chains/$CHAIN_1/applications/$AMM_APPLICATION_ID
mutation {
Expand All @@ -213,7 +213,7 @@ mutation {
Note: The above mutation has to be performed from `http://localhost:8080`.
To perform `Swap` operation, navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID"` and
To perform the `Swap` operation, navigate to the URL you get by running `echo "http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID"` and
perform the following mutation:
```gql,uri=http://localhost:8080/chains/$CHAIN_2/applications/$AMM_APPLICATION_ID
Expand Down

0 comments on commit fefa995

Please sign in to comment.