Commit 1b2f6ff 1 parent 73573a2 commit 1b2f6ff Copy full SHA for 1b2f6ff
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export const STAKING_DENOM = 'ubld';
7
7
export const STAKING_MAX_VALIDATORS = 150 ;
8
8
9
9
export const GOV_DEPOSIT_COINS = [ { amount : '1000000' , denom : MINT_DENOM } ] ;
10
+ export const DEFAULT_MINIMUM_GAS_PRICES = `0${ CENTRAL_DENOM } ` ;
10
11
11
12
// Can't beat the speed of light, we need 600ms round trip time for the other
12
13
// side of Earth, and multiple round trips per block.
@@ -39,6 +40,11 @@ export function finishCosmosApp({
39
40
app . api [ 'enabled-unsafe-cors' ] = true ;
40
41
}
41
42
43
+ if ( ! app [ 'minimum-gas-prices' ] ) {
44
+ // Set the default, to prevent a warning if there is an empty string.
45
+ app [ 'minimum-gas-prices' ] = DEFAULT_MINIMUM_GAS_PRICES ;
46
+ }
47
+
42
48
// Offset the GRPC listener from our rpc port.
43
49
app . grpc . address = `0.0.0.0:${ rpcPort +
44
50
DEFAULT_GRPC_PORT -
You can’t perform that action at this time.
0 commit comments