You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/emulator/start/start.go
+24-4Lines changed: 24 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,10 @@ type Config struct {
64
64
StorageMBPerFLOWstring`flag:"storage-per-flow" info:"the MB amount of storage capacity an account has per 1 FLOW token it has. e.g. '100.0'. The default is taken from the current version of flow-go"`
65
65
MinimumAccountBalancestring`flag:"min-account-balance" info:"The minimum account balance of an account. This is also the cost of creating one account. e.g. '0.001'. The default is taken from the current version of flow-go"`
TransactionMaxGasLimitint`default:"9999" flag:"transaction-max-gas-limit" info:"maximum gas limit for transactions"`
68
-
ScriptGasLimitint`default:"100000" flag:"script-gas-limit" info:"gas limit for scripts"`
67
+
TransactionMaxGasLimitint`default:"9999" flag:"transaction-max-gas-limit" info:"(deprecated) use --transaction-max-compute-limit"`
68
+
ScriptGasLimitint`default:"100000" flag:"script-gas-limit" info:"(deprecated) use --script-compute-limit"`
69
+
TransactionMaxComputeLimitint`default:"9999" flag:"transaction-max-compute-limit" info:"maximum computation limit for transactions"`
70
+
ScriptComputeLimitint`default:"100000" flag:"script-compute-limit" info:"compute limit for scripts"`
69
71
Contractsbool`default:"false" flag:"contracts" info:"deploy common contracts when emulator starts"`
70
72
ContractRemovalEnabledbool`default:"true" flag:"contract-removal" info:"allow removal of already deployed contracts, used for updating during development"`
71
73
SkipTxValidationbool`default:"false" flag:"skip-tx-validation" info:"skip verification of transaction signatures and sequence numbers"`
Copy file name to clipboardExpand all lines: docs/overview.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,10 @@ values.
65
65
|`--storage-per-flow`|`FLOW_STORAGEMBPERFLOW`|| Specify size of the storage in MB for each FLOW in account balance. Default value from the flow-go |
66
66
|`--min-account-balance`|`FLOW_MINIMUMACCOUNTBALANCE`|| Specify minimum balance the account must have. Default value from the flow-go |
67
67
|`--transaction-fees`|`FLOW_TRANSACTIONFEESENABLED`|`false`| Enable variable transaction fees and execution effort metering <br> as described in [Variable Transaction Fees: Execution Effort](https://github.com/onflow/flow/pull/753) FLIP |
68
-
|`--transaction-max-gas-limit`|`FLOW_TRANSACTIONMAXGASLIMIT`|`9999`| Maximum [gas limit for transactions](https://docs.onflow.org/flow-go-sdk/building-transactions/#gas-limit)|
69
-
|`--script-gas-limit`|`FLOW_SCRIPTGASLIMIT`|`100000`| Specify gas limit for script execution |
68
+
|`--transaction-max-compute-limit`|`FLOW_TRANSACTIONMAXCOMPUTELIMIT`|`9999`| Maximum [compute limit for transactions](https://docs.onflow.org/flow-go-sdk/building-transactions/#gas-limit)|
69
+
|`--script-compute-limit`|`FLOW_SCRIPTCOMPUTELIMIT`|`100000`| Specify compute limit for script execution |
70
+
|~~`--transaction-max-gas-limit`~~|~~`FLOW_TRANSACTIONMAXGASLIMIT`~~|`9999`|**Deprecated:** Use `--transaction-max-compute-limit` instead |
71
+
|~~`--script-gas-limit`~~|~~`FLOW_SCRIPTGASLIMIT`~~|`100000`|**Deprecated:** Use `--script-compute-limit` instead |
70
72
|`--with-contracts`|`FLOW_WITHCONTRACTS`|`false`| Deploy common contracts when emulator starts |
0 commit comments