increase gas limit for redelegation only
This commit is contained in:
parent
5acdc07df4
commit
2ce6d4bcba
|
@ -15,7 +15,7 @@ const (
|
||||||
// failures due to state changes that might occur between the tx simulation
|
// failures due to state changes that might occur between the tx simulation
|
||||||
// and the actual run.
|
// and the actual run.
|
||||||
DefaultGasAdjustment = 1.0
|
DefaultGasAdjustment = 1.0
|
||||||
DefaultGasLimit = 300000
|
DefaultGasLimit = 200000
|
||||||
GasFlagAuto = "auto"
|
GasFlagAuto = "auto"
|
||||||
|
|
||||||
// DefaultKeyringBackend
|
// DefaultKeyringBackend
|
||||||
|
|
|
@ -26,6 +26,7 @@ func MsgRedelegateExec(clientCtx client.Context, from, src, dst, amount fmt.Stri
|
||||||
dst.String(),
|
dst.String(),
|
||||||
amount.String(),
|
amount.String(),
|
||||||
fmt.Sprintf("--%s=%s", flags.FlagFrom, from.String()),
|
fmt.Sprintf("--%s=%s", flags.FlagFrom, from.String()),
|
||||||
|
fmt.Sprintf("--%s=%d", flags.FlagGas, 300000),
|
||||||
}
|
}
|
||||||
|
|
||||||
args = append(args, commonArgs...)
|
args = append(args, commonArgs...)
|
||||||
|
|
Loading…
Reference in New Issue