on master help sign in
Merge pull request #521 from urbit/m/gas-price-limit
e770cf1Fang
src/components/NeedFundsNotice.js+3−1
@@ -17,7 +17,9 @@ export default function NeedFundsNotice({
17 <Highlighted warning>
17 <Highlighted warning>
18 Your ownership address <CopiableAddress>{address}</CopiableAddress>{' '}
18 Your ownership address <CopiableAddress>{address}</CopiableAddress>{' '}
19 needs at least {safeFromWei(minBalance)} ETH and currently has{' '}
19 needs at least {safeFromWei(minBalance)} ETH and currently has{' '}
20+ {safeFromWei(balance)} ETH. Transaction costs may be high due to{' '}
21+ Ethereum network activity. You can come back later to try again, or{' '}
20− {safeFromWei(balance)} ETH. The transaction will automatically resume
22+ transfer the required ETH now. The transaction will automatically resume{' '}
21 once enough ETH is available. Waiting... <Blinky />
23 once enough ETH is available. Waiting... <Blinky />
22 </Highlighted>
24 </Highlighted>
23 </WarningBox>
25 </WarningBox>
src/lib/constants.js+1−1
@@ -2,7 +2,7 @@ import { isDevelopment } from './flags';
2
2
3const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 10000;
3const CHECK_BLOCK_EVERY_MS = isDevelopment ? 1000 : 10000;
4const DEFAULT_GAS_PRICE_GWEI = 40;
4const DEFAULT_GAS_PRICE_GWEI = 40;
5−const MAX_GAS_PRICE_GWEI = 80;
5+const MAX_GAS_PRICE_GWEI = 400;
6
6
7const MIN_GALAXY = 0;
7const MIN_GALAXY = 0;
8const MAX_GALAXY = 255;
8const MAX_GALAXY = 255;