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

Commit

Permalink
Fix BSC gasPrice (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook authored Sep 21, 2021
1 parent 09aac3a commit 933bb1d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 135 deletions.
2 changes: 1 addition & 1 deletion src/components/GlobalErrorBoundary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const handleChunkError = (error: Error): boolean => {

const GlobalErrorBoundaryFallback: FallbackRender = ({ error, componentStack }) => {
if (handleChunkError(error)) {
return null
return <></>
}

return (
Expand Down
8 changes: 1 addition & 7 deletions src/config/networks/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ const baseConfig: EnvironmentSettings = {
clientGatewayUrl: 'https://safe-client.gnosis.io/v1',
txServiceUrl: 'https://safe-transaction.bsc.gnosis.io/api/v1',
safeUrl: 'https://bsc.gnosis-safe.io/app',
gasPriceOracles: [
{
url: 'https://bscgas.info/gas',
gasParameter: 'standard',
gweiFactor: '1e9',
},
],
gasPrice: 5e9,
rpcServiceUrl: 'https://bsc-dataseed.binance.org',
safeAppsRpcServiceUrl: 'https://bsc-dataseed.binance.org',
networkExplorerName: 'BscScan',
Expand Down
Loading

0 comments on commit 933bb1d

Please sign in to comment.