Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Use staging and dev links in the network menu #2508

Merged
merged 2 commits into from
Jul 3, 2021
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: 2 additions & 0 deletions src/config/networks/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ const mainnet: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-bsc.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-bsc.staging.gnosisdev.com/app/',
},
production: {
...baseConfig,
Expand Down
4 changes: 3 additions & 1 deletion src/config/networks/energy_web_chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const baseConfig: EnvironmentSettings = {
gasPriceOracle: {
url: 'https://station.energyweb.org',
gasParameter: 'standard',
gweiFactor: '1e9'
gweiFactor: '1e9',
},
gasPrice: 1e6,
rpcServiceUrl: 'https://rpc.energyweb.org',
Expand All @@ -24,9 +24,11 @@ const mainnet: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-ewc.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-ewc.staging.gnosisdev.com/app/',
},
production: {
...baseConfig,
Expand Down
4 changes: 3 additions & 1 deletion src/config/networks/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const baseConfig: EnvironmentSettings = {
gasPriceOracle: {
url: 'https://ethgasstation.info/json/ethgasAPI.json?api-key=${ETHGASSTATION_API_KEY}',
gasParameter: 'average',
gweiFactor: '1e8'
gweiFactor: '1e8',
},
rpcServiceUrl: 'https://mainnet.infura.io:443/v3',
networkExplorerName: 'Etherscan',
Expand All @@ -22,9 +22,11 @@ const mainnet: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-mainnet.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-mainnet.staging.gnosisdev.com/app/',
safeAppsUrl: 'https://safe-apps.staging.gnosisdev.com',
},
production: {
Expand Down
2 changes: 2 additions & 0 deletions src/config/networks/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ const polygon: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-polygon.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-polygon.staging.gnosisdev.com/app/',
},
production: {
...baseConfig,
Expand Down
4 changes: 3 additions & 1 deletion src/config/networks/rinkeby.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const baseConfig: EnvironmentSettings = {
gasPriceOracle: {
url: `https://ethgasstation.info/json/ethgasAPI.json?api-key=${ETHGASSTATION_API_KEY}`,
gasParameter: 'average',
gweiFactor: '1e8'
gweiFactor: '1e8',
},
rpcServiceUrl: 'https://rinkeby.infura.io:443/v3',
networkExplorerName: 'Etherscan',
Expand All @@ -22,9 +22,11 @@ const rinkeby: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team.dev.gnosisdev.com/app/',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only one that differs from staging.

},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-rinkeby.staging.gnosisdev.com/app/',
safeAppsUrl: 'https://safe-apps.staging.gnosisdev.com',
},
production: {
Expand Down
4 changes: 3 additions & 1 deletion src/config/networks/volta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const baseConfig: EnvironmentSettings = {
gasPriceOracle: {
url: 'https://station.energyweb.org',
gasParameter: 'standard',
gweiFactor: '1e9'
gweiFactor: '1e9',
},
rpcServiceUrl: 'https://volta-rpc.energyweb.org',
networkExplorerName: 'Volta explorer',
Expand All @@ -21,9 +21,11 @@ const mainnet: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-volta.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-volta.staging.gnosisdev.com/app/',
},
production: {
...baseConfig,
Expand Down
2 changes: 2 additions & 0 deletions src/config/networks/xdai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ const xDai: NetworkConfig = {
environment: {
dev: {
...baseConfig,
safeUrl: 'https://safe-team-xdai.staging.gnosisdev.com/app/',
},
staging: {
...baseConfig,
safeUrl: 'https://safe-team-xdai.staging.gnosisdev.com/app/',
},
production: {
...baseConfig,
Expand Down