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

chore: remove staging links #21

Merged
merged 2 commits into from
Sep 26, 2023
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
14 changes: 2 additions & 12 deletions packages/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ artillery run ./performance/load-test.yaml -e <name of the environment>
```

supported environments:
* stage
* testnet
* testnet-prod
* mainnet
* mainnet-prod
* local

Feel free to add other API requests to the config if anything is missing. Keep in mind that performance tests may affect the running environment or/and any of its dependencies.

Expand All @@ -94,12 +90,6 @@ artillery run ./performance/load-test.yaml -e testnet -o ./performance/29-06/tes
for more command options check [official artillery docs](https://www.artillery.io/docs).


## Environments

### *Staging*
- [Testnet](https://staging-block-explorer-api.testnets.zksync.dev)
- [Mainnet](https://staging-block-explorer-api.mainnet.zksync.io)

### *Production*
## Production links
- [Testnet](https://block-explorer-api.testnets.zksync.dev)
- [Mainnet](https://block-explorer-api.mainnet.zksync.io)
10 changes: 2 additions & 8 deletions packages/api/performance/addresspage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@ config:
arrivalCount: 100

environments:
stage:
target: "https://staging-block-explorer-api.stage.zksync.dev"
testnet-prod:
target: "https://block-explorer-api.testnets.zksync.dev"
testnet:
target: "https://staging-block-explorer-api.testnets.zksync.dev"
mainnet:
target: "https://staging-block-explorer-api.mainnet.zksync.io"
local:
target: "http://localhost:3000"
plugins:
metrics-by-endpoint:
useOnlyRequestNames: true
Expand Down
10 changes: 2 additions & 8 deletions packages/api/performance/homepage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@ config:
arrivalCount: 100

environments:
stage:
target: "https://staging-block-explorer-api.stage.zksync.dev"
testnet-prod:
target: "https://block-explorer-api.testnets.zksync.dev"
testnet:
target: "https://staging-block-explorer-api.testnets.zksync.dev"
mainnet:
target: "https://staging-block-explorer-api.mainnet.zksync.io"
local:
target: "http://localhost:3000"
plugins:
metrics-by-endpoint:
useOnlyRequestNames: true
Expand Down
18 changes: 3 additions & 15 deletions packages/api/performance/load-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,12 @@ config:
arrivalCount: 100

environments:
stage:
target: "https://staging-block-explorer-api.stage.zksync.dev"
testnet-prod:
target: "https://block-explorer-api.testnets.zksync.dev"
local:
target: "http://localhost:3000"
variables:
addresses:
- ["0x0000000000000000000000000000000000008001"]
- ["0x8E113670acAB84C88508D7Fc47d93F3AC4ecFA69"]
testnet:
target: "https://staging-block-explorer-api.testnets.zksync.dev"
variables:
addresses:
- ["0x0000000000000000000000000000000000008001"]
- ["0x8E113670acAB84C88508D7Fc47d93F3AC4ecFA69"]
mainnet:
target: "https://staging-block-explorer-api.mainnet.zksync.io"
mainnet-prod:
target: "https://block-explorer-api.mainnet.zksync.io"
- ["0x000000000000000000000000000000000000800A"]
plugins:
metrics-by-endpoint:
useOnlyRequestNames: true
Expand Down
8 changes: 1 addition & 7 deletions packages/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ npm run test:e2e
npm run lint
```

## Environments

### *Staging*
- [Web Application](https://staging-scan-v2.zksync.dev)
- [Storybook](https://staging-storybook-scan-v2.zksync.dev)

### *Production*
## Production links
- [Web Application](https://explorer.zksync.io)
- [Storybook](https://storybook-scan-v2.zksync.dev)
2 changes: 1 addition & 1 deletion packages/app/tests/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const GOERLI_NETWORK: NetworkConfig = {
export const GOERLI_BETA_NETWORK: NetworkConfig = {
name: "goerli-beta",
apiUrl: "",
apiURLv2: "https://staging-block-explorer-api.testnets.zksync.dev",
apiURLv2: "https://block-explorer-api.mock.zksync.dev",
icon: "",
l2ChainId: 270,
rpcUrl: "",
Expand Down
Loading