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
Add possibility to add more prefunded accounts to the L1 generated genesis by accepting a repeated `[]string` flag `--prefunded-accounts` which accepts the same format (private key in hex) as the static prefunded accounts.
-`--log-level` (string): Log level to use (debug, info, warn, error, fatal). Defaults to `info`.
119
119
-`--labels` (key=val): Custom labels to apply to your deployment.
120
120
-`--disable-logs` (bool): Disable the logs for the services. Defaults to `false`.
121
+
-`--prefunded-accounts` (string, repeated): Fund this account in addition to static prefunded accounts, the input should the account's private key in hexadecimal format prefixed with 0x, the account is added to L1 and to L2 (if present).
121
122
-`--contender` (bool): Enable [contender](https://github.com/flashbots/contender) spammer. Required to use other contender flags.
122
123
-`--contender.arg` (string): Pass custom args to the contender CLI.
The following addresses are pre-funded on L1 and to L2 (if present), all with a balance of `0x10000000000000000000000 wei` (equivalent to `309485009.8213451 ETH`):
recipeCmd.Flags().StringVar(&contenderTarget, "contender.target", "", "override the node that contender spams -- accepts names like \"el\"")
183
184
recipeCmd.Flags().BoolVar(&detached, "detached", false, "Detached mode: Run the recipes in the background")
185
+
recipeCmd.Flags().StringArrayVar(&prefundedAccounts, "prefunded-accounts", []string{}, "Fund this account in addition to static prefunded accounts, the input should the account's private key in hexadecimal format prefixed with 0x, the account is added to L1 and to L2 (if present)")
0 commit comments