Skip to content
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
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REACT_APP_DEBUG=true
REACT_APP_API_BASE_URL=https://api.stage.ops.ssvlabsinternal.com/api/v4/holesky
REACT_APP_API_BASE_URL=https://api.stage.ops.ssvlabsinternal.com/api/v4/hoodi
REACT_APP_LINK_SSV_WEBAPP=https://app.stage.ssv.network/
REACT_APP_GOOGLE_TAG_SECRET=
REACT_APP_GOOGLE_TAG_URL=
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,30 +95,30 @@ jobs:
# </explorer.ssv.network>

# <holesky.explorer.ssv.network>
- name: Run prod testnet build
if: github.ref == 'refs/heads/main'
env:
NODE_OPTIONS: '--openssl-legacy-provider'
API_BASE_URL: ${{ secrets.PROD_API_BASE_URL_V4_HOLESKY }}
ANNOUNCEMENT: ${{ secrets.PROD_ANNOUNCEMENT_V4_HOLESKY }}
LINK_SSV_WEBAPP: ${{ secrets.PROD_LINK_SSV_WEBAPP_V4 }}
GOOGLE_TAG_SECRET: ${{ secrets.PROD_GOOGLE_TAG_SECRET_V4_TESTNET }}
MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN_PROD }}
run: pnpm build

- name: Deploy prod testnet
if: github.ref == 'refs/heads/main'
uses: jakejarvis/s3-sync-action@v0.5.0
with:
args: --acl public-read --follow-symlinks --delete
env:
NODE_OPTIONS: '--openssl-legacy-provider'
AWS_S3_BUCKET: ${{ secrets.PROD_AWS_S3_BUCKET_V4_HOLESKY }}
ANNOUNCEMENT: ${{ secrets.PROD_ANNOUNCEMENT_V4_HOLESKY }}
AWS_ACCESS_KEY_ID: ${{ secrets.PROD_AWS_SECRET_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'build/'
# - name: Run prod testnet build
# if: github.ref == 'refs/heads/main'
# env:
# NODE_OPTIONS: '--openssl-legacy-provider'
# API_BASE_URL: ${{ secrets.PROD_API_BASE_URL_V4_HOLESKY }}
# ANNOUNCEMENT: ${{ secrets.PROD_ANNOUNCEMENT_V4_HOLESKY }}
# LINK_SSV_WEBAPP: ${{ secrets.PROD_LINK_SSV_WEBAPP_V4 }}
# GOOGLE_TAG_SECRET: ${{ secrets.PROD_GOOGLE_TAG_SECRET_V4_TESTNET }}
# MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN_PROD }}
# run: pnpm build

# - name: Deploy prod testnet
# if: github.ref == 'refs/heads/main'
# uses: jakejarvis/s3-sync-action@v0.5.0
# with:
# args: --acl public-read --follow-symlinks --delete
# env:
# NODE_OPTIONS: '--openssl-legacy-provider'
# AWS_S3_BUCKET: ${{ secrets.PROD_AWS_S3_BUCKET_V4_HOLESKY }}
# ANNOUNCEMENT: ${{ secrets.PROD_ANNOUNCEMENT_V4_HOLESKY }}
# AWS_ACCESS_KEY_ID: ${{ secrets.PROD_AWS_SECRET_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: 'us-west-2'
# SOURCE_DIR: 'build/'
# </holesky.explorer.ssv.network>

# <hoodi.explorer.ssv.network>
Expand Down
124 changes: 0 additions & 124 deletions src/app/common/components/Announcement/HoleskySunsetBanner.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/app/common/components/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import ApplicationStore from '~app/common/stores/Application.store';
import DarkModeSwitcher from '~app/common/components/DarkModeSwitcher';
import Grid from '@material-ui/core/Grid';
import NetworkSelect from '~app/common/components/NetworkSelect';
import { HoleskySunsetBanner } from '../Announcement/HoleskySunsetBanner';

const DrawerButtonsContainers = styled.div`
font-size: 12px;
Expand Down Expand Up @@ -122,7 +121,6 @@ const AppBarComponent = () => {

return (
<div className={classes.root} id="back-to-top-anchor">
<HoleskySunsetBanner />
{isSearchOpened ? (
<AppBar position="static">
{paused ? (
Expand Down
7 changes: 1 addition & 6 deletions src/app/common/components/NetworkSelect/NetworkSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,14 @@ import NetworkIcon from '~app/common/components/NetworkIcon';
import { useStyles } from './NeworkSelect.styles';
import { KeyboardArrowDown } from '@material-ui/icons';

const availableNetworks = [EChain.Ethereum, EChain.Holesky, EChain.Hoodi];
const availableNetworks = [EChain.Ethereum, EChain.Hoodi];

const networkToConfigMap = {
[EChain.Ethereum]: {
url: 'https://explorer.ssv.network',
label: 'Ethereum Mainnet',
isTestnet: false,
},
[EChain.Holesky]: {
url: 'https://holesky.explorer.ssv.network',
label: 'Holesky Testnet',
isTestnet: true,
},
[EChain.Hoodi]: {
url: 'https://hoodi.explorer.ssv.network',
label: 'Hoodi Testnet',
Expand Down
4 changes: 1 addition & 3 deletions src/lib/utils/ChainService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
import config from '~app/common/config';

export enum EChain {
Holesky = 'holesky',
Ethereum = 'mainnet', // ethereum
Hoodi = 'hoodi',
}

export const CHAIN = {
HOLESKY: EChain.Holesky,
ETHEREUM: EChain.Ethereum,
HOODI: EChain.Hoodi,
};
Expand Down Expand Up @@ -41,7 +39,7 @@ const chainService = () => {
const getNetwork = () => chain.toString();
const isChain = (other: EChain): boolean => chain === other;

const isCurrentNetworkTestnet = (): boolean => chain === EChain.Holesky || chain === EChain.Hoodi;
const isCurrentNetworkTestnet = (): boolean => chain === EChain.Hoodi;

return { getBeaconchaUrl, getNetwork, isChain, isCurrentNetworkTestnet };
};
Expand Down