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
|`--verbose`, `-v`|`FLOW_VERBOSE`|`false`| Enable verbose logging (useful for debugging) |
49
48
|`--log-format`|`FLOW_LOGFORMAT`|`text`| Output log format (valid values `text`, `JSON`) |
50
49
|`--block-time`, `-b`|`FLOW_BLOCKTIME`|`0`| Time between sealed blocks. Valid units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`|
51
-
|`--contracts`|`FLOW_WITHCONTRACTS`|`false`| Start with contracts like [ExampleNFT](https://github.com/onflow/flow-nft/blob/master/contracts/NonFungibleToken.cdc) when the emulator starts |
50
+
|`--contracts`|`FLOW_WITHCONTRACTS`|`false`| Start with contracts like [ExampleNFT](https://github.com/onflow/flow-nft/blob/master/contracts/NonFungibleToken.cdc) when the emulator starts |
52
51
|`--service-priv-key`|`FLOW_SERVICEPRIVATEKEY`| random | Private key used for the [service account](https://docs.onflow.org/flow-token/concepts/#flow-service-account)|
53
52
|`--service-sig-algo`|`FLOW_SERVICEKEYSIGALGO`|`ECDSA_P256`| Service account key [signature algorithm](https://docs.onflow.org/cadence/language/crypto/#signing-algorithms)|
54
53
|`--service-hash-algo`|`FLOW_SERVICEKEYHASHALGO`|`SHA3_256`| Service account key [hash algorithm](https://docs.onflow.org/cadence/language/crypto/#hashing)|
|`--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
65
|`--min-account-balance`|`FLOW_MINIMUMACCOUNTBALANCE`|| Specify minimum balance the account must have. Default value from the flow-go |
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 |
66
+
|`--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
67
|`--transaction-max-gas-limit`|`FLOW_TRANSACTIONMAXGASLIMIT`|`9999`| Maximum [gas limit for transactions](https://docs.onflow.org/flow-go-sdk/building-transactions/#gas-limit)|
69
68
|`--script-gas-limit`|`FLOW_SCRIPTGASLIMIT`|`100000`| Specify gas limit for script execution |
|`--host`|`FLOW_HOST`|``| Host to listen on for emulator GRPC/REST/Admin servers (default: All Interfaces) |
74
73
|`--chain-id`|`FLOW_CHAINID`|`emulator`| Chain to simulate, if 'mainnet' or 'testnet' values are used, you will be able to run transactions against that network and a local fork will be created. Valid values are: 'emulator', 'testnet', 'mainnet' |
Please note, that the actual execution on the real network may differ depending on the exact state when the transaction is
276
-
executed.
322
+
Please note, that the actual execution on the real network may differ depending on the exact state when the transaction
323
+
is executed.
277
324
278
-
By default, the forked network will start from the latest sealed block when the emulator is started. You can specify a different starting block height by using the `--fork-height` flag.
325
+
By default, the forked network will start from the latest sealed block when the emulator is started.
326
+
You can specify a different starting block height by using the `--fork-height` flag.
279
327
280
328
You can also store all of your changes and cached registers to a persistent db by using the `--persist` flag,
281
329
along with the other SQLite settings.
@@ -289,7 +337,7 @@ verification. Then submit transactions from any account using any valid private
289
337
To debug any transactions sent via VSCode or Flow CLI, you can use the `debugger` pragma.
290
338
This will cause execution to pause at the debugger for any transaction or script which includes that pragma.
0 commit comments