Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove goerli from TS #245

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

env:
PROVIDER_URI_MAINNET: ${{ secrets.PROVIDER_URI_MAINNET }}
PROVIDER_URI_GOERLI: ${{ secrets.PROVIDER_URI_GOERLI }}
PROVIDER_URI_SEPOLIA: ${{ secrets.PROVIDER_URI_SEPOLIA }}


Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
working-directory: ./api
env:
PROVIDER_URI_MAINNET: ${{ secrets.PROVIDER_URI_MAINNET }}
PROVIDER_URI_GOERLI: ${{ secrets.PROVIDER_URI_GOERLI }}
PROVIDER_URI_SEPOLIA: ${{ secrets.PROVIDER_URI_SEPOLIA }}
run: |
# "&" to run server in the background
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lambda_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
cp ../LICENSE .
npm install -g serverless
npm install serverless-prune-plugin
serverless deploy --stage prod --param="PROVIDER_URI_GOERLI=${{secrets.PROVIDER_URI_GOERLI}}" --param="PROVIDER_URI_MAINNET=${{secrets.PROVIDER_URI_MAINNET}}" --param="PROVIDER_URI_SEPOLIA=${{secrets.PROVIDER_URI_SEPOLIA}}"
serverless deploy --stage prod --param="PROVIDER_URI_MAINNET=${{secrets.PROVIDER_URI_MAINNET}}" --param="PROVIDER_URI_SEPOLIA=${{secrets.PROVIDER_URI_SEPOLIA}}"
working-directory: api

- name: Delete old images from ECR
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ function RoadMap() {
{
stageOfCompletion: "launched",
headerText: "Cross-chain Support",
commentSentences: ["Integrated mainnet, goerli, and sepolia."],
commentSentences: ["Integrated mainnet, and sepolia."],
},
{
stageOfCompletion: "launched",
Expand Down
1 change: 0 additions & 1 deletion docs/chains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ description:
NameGuard supports multiple chains, including:

- `mainnet`
- `goerli`
- `sepolia`

Each API endpoint and SDK function gives you the ability to configure the chain using the `network` parameter or argument.
8 changes: 0 additions & 8 deletions docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ Next import `nameguard` using the required network:
import { nameguard } from "@namehash/nameguard";
```

```ts goerli
import { createClient } from "@namehash/nameguard";

const nameguard = createClient({
network: "goerli",
});
```

```ts sepolia
import { createClient } from "@namehash/nameguard";

Expand Down
1 change: 0 additions & 1 deletion docs/self-hosting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pip install nameguard

```bash
export PROVIDER_URI_MAINNET=https://eth-mainnet.g.alchemy.com/v2/[YOUR_ALCHEMY_API_KEY]
export PROVIDER_URI_GOERLI=https://eth-goerli.g.alchemy.com/v2/[YOUR_ALCHEMY_API_KEY]
export PROVIDER_URI_SEPOLIA=https://eth-sepolia.g.alchemy.com/v2/[YOUR_ALCHEMY_API_KEY]
```

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ import { createClient } from "@namehash/nameguard";

const nameguard = createClient({
url: "...",
network: "goerli",
network: "sepolia",
});
```
2 changes: 1 addition & 1 deletion packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type GraphemeNormalization =
* when inspecting a namehash for a name with labels that are not known to the ENS Subgraph on a
* particular network.
*/
export type Network = "mainnet" | "goerli" | "sepolia";
export type Network = "mainnet" | "sepolia";

/** The type of a check that NameGuard performed. */
export type CheckType =
Expand Down
Loading