Skip to content

Commit 8caaf37

Browse files
committed
remove Aurora Testnet support and related configurations
1 parent 03bad9a commit 8caaf37

File tree

48 files changed

+127
-375
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+127
-375
lines changed

.github/workflows/cd-subgraph.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- name: ethereum
2323
- name: polygon
2424
- name: sepolia
25-
- name: aurora-testnet
2625
fail-fast: true
2726
max-parallel: 3
2827
steps:

packages/apps/dashboard/client/src/shared/ui/NetworkIcon/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { ChainId } from '@human-protocol/sdk/src/enums';
22

3-
import AuroraIcon from '@/shared/ui/icons/AuroraIcon';
43
import BinanceSmartChainIcon from '@/shared/ui/icons/BinanceSmartChainIcon';
54
import EthereumIcon from '@/shared/ui/icons/EthereumIcon';
65
import HumanIcon from '@/shared/ui/icons/HumanIcon';
@@ -18,8 +17,6 @@ export const NetworkIcon = ({ chainId }: { chainId: ChainId }) => {
1817
case 137:
1918
case 80002:
2019
return <PolygonIcon />;
21-
case 1313161555:
22-
return <AuroraIcon />;
2320
default:
2421
return <HumanIcon />;
2522
}

packages/apps/dashboard/client/src/shared/ui/icons/AuroraIcon.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/apps/dashboard/server/src/common/config/network-config.service.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ export class NetworkConfigService {
6262
rpcUrl: this.configService.get<string>('RPC_URL_BSC_TESTNET'),
6363
},
6464
}),
65-
...(this.configService.get<string>('RPC_URL_AURORA_TESTNET') && {
66-
auroratest: {
67-
chainId: ChainId.AURORA_TESTNET,
68-
rpcUrl: this.configService.get<string>('RPC_URL_AURORA_TESTNET'),
69-
},
70-
}),
7165
...(this.configService.get<string>('RPC_URL_LOCALHOST') && {
7266
localhost: {
7367
chainId: ChainId.LOCALHOST,

packages/apps/dashboard/server/src/common/utils/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const TESTNET_CHAIN_IDS = [
66
ChainId.BSC_TESTNET,
77
ChainId.POLYGON_AMOY,
88
ChainId.SEPOLIA,
9-
ChainId.AURORA_TESTNET,
109
];
1110
export const MAINNET_CHAIN_IDS = [
1211
ChainId.MAINNET,

packages/apps/dashboard/server/src/modules/networks/network.service.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ describe('NetworksService', () => {
2222
process.env.RPC_URL_POLYGON = 'https://testrpc.com';
2323
process.env.RPC_URL_BSC_MAINNET = 'https://testrpc.com';
2424
process.env.RPC_URL_ETHEREUM = 'https://testrpc.com';
25-
process.env.RPC_URL_AURORA_TESTNET = 'https://testrpc.com';
2625
process.env.WEB3_ENV = 'mainnet';
2726
});
2827

packages/apps/faucet/client/src/constants/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ export const FAUCET_CHAIN_IDS = [
44
ChainId.SEPOLIA,
55
ChainId.BSC_TESTNET,
66
ChainId.POLYGON_AMOY,
7-
ChainId.AURORA_TESTNET,
87
];

packages/apps/faucet/server/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ADDRESS_WAITING_TIME=3600
1313
RPC_URL_SEPOLIA=""
1414
RPC_URL_BSC_TESTNET=""
1515
RPC_URL_POLYGON_AMOY=""
16-
RPC_URL_AURORA_TESTNET=""
1716

1817
# Balance threshold
1918
FAUCET_MIN_BALANCE=

packages/apps/faucet/server/src/constants/networks.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ export const FAUCET_NETWORKS: {
1616
[ChainId.POLYGON_AMOY]: {
1717
rpcUrl: process.env.RPC_URL_POLYGON_AMOY || '',
1818
},
19-
[ChainId.AURORA_TESTNET]: {
20-
rpcUrl: process.env.RPC_URL_AURORA_TESTNET || '',
21-
},
2219
[ChainId.LOCALHOST]: {
2320
rpcUrl: process.env.RPC_PORT
2421
? `http://127.0.0.1:${process.env.RPC_PORT}`

packages/apps/fortune/exchange-oracle/server/src/common/config/env-schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export const envValidator = Joi.object({
2222
RPC_URL_POLYGON_AMOY: Joi.string(),
2323
RPC_URL_SEPOLIA: Joi.string(),
2424
RPC_URL_BSC_TESTNET: Joi.string(),
25-
RPC_URL_AURORA_TESTNET: Joi.string(),
2625
RPC_URL_LOCALHOST: Joi.string(),
2726
// S3
2827
S3_ENDPOINT: Joi.string(),

0 commit comments

Comments
 (0)