Skip to content

Commit 8300de2

Browse files
committed
Small notes changes to the fact that both L1 & L2 are prefunded
1 parent c4cd3ea commit 8300de2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ $ builder-playground cook l1 --latest-fork --output ~/my-builder-testnet --genes
6868
- `--log-level` (string): Log level to use (debug, info, warn, error, fatal). Defaults to `info`.
6969
- `--labels` (key=val): Custom labels to apply to your deployment.
7070
- `--disable-logs` (bool): Disable the logs for the services. Defaults to `false`.
71-
- `--prefunded-account` (string, repeated): Fund in L1 genesis this account in addition to static prefunded accounts, the input should the account's private key in hexadecimal format with 0x
71+
- `--prefunded-account` (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).
7272
- `--contender` (bool): Enable [contender](https://github.com/flashbots/contender) spammer. Required to use other contender flags.
7373
- `--contender.arg` (string): Pass custom args to the contender CLI.
7474
Example: `--contender.arg "--tpb 20"`
7575
- `--contender.target` (string): Change the default target node to spam. On the `l1` recipe, the default is "el", and on `opstack` it's "op-geth".
7676

7777
To stop the playground, press `Ctrl+C`.
7878

79-
### L1 Static Prefunded Accounts
79+
### Static Prefunded Accounts
8080

81-
The following addresses are pre-funded in the L1 genesis allocation, all with a balance of `309485009.8213451 ETH`:
81+
The following addresses are pre-funded on L1 and to L2 (if present), all with a balance of `309485009.8213451 ETH`:
8282

8383
- `0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266` (Private key `0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80`)
8484
- `0x70997970c51812dc3a010c7d01b50e0d17dc79c8` (Private key `0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d`)

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func main() {
186186
recipeCmd.Flags().BoolVar(&contenderEnabled, "contender", false, "spam nodes with contender")
187187
recipeCmd.Flags().StringArrayVar(&contenderArgs, "contender.arg", []string{}, "add/override contender CLI flags")
188188
recipeCmd.Flags().StringVar(&contenderTarget, "contender.target", "", "override the node that contender spams -- accepts names like \"el\"")
189-
recipeCmd.Flags().StringArrayVar(&prefundedAccounts, "prefunded-account", []string{}, "Add a prefunded account by passing its private key in hexadecimal format")
189+
recipeCmd.Flags().StringArrayVar(&prefundedAccounts, "prefunded-account", []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)")
190190

191191
cookCmd.AddCommand(recipeCmd)
192192
}

0 commit comments

Comments
 (0)