Skip to content

Commit 7671453

Browse files
modify anvil_start (#1857)
Co-authored-by: Mauro Toscano <[email protected]>
1 parent 357d071 commit 7671453

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,10 @@ lint_contracts:
139139
@cd contracts && npm run lint:sol
140140

141141
anvil_start:
142-
@echo "Starting Anvil..."
143-
anvil --load-state contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json
144-
145-
anvil_start_with_block_time:
146142
@echo "Starting Anvil..."
147143
anvil --load-state contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json --block-time 7
148144

149-
anvil_start_with_block_time_with_more_prefunded_accounts:
145+
anvil_start_with_more_prefunded_accounts:
150146
@echo "Starting Anvil..."
151147
anvil --load-state contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json --block-time 7 -a 2000
152148

@@ -1154,7 +1150,7 @@ setup_local_aligned_all:
11541150
tmux new-session -d -s aligned_layer
11551151

11561152
tmux new-window -t aligned_layer -n anvil
1157-
tmux send-keys -t aligned_layer 'make anvil_start_with_block_time' C-m
1153+
tmux send-keys -t aligned_layer 'make anvil_start' C-m
11581154

11591155
tmux new-window -t aligned_layer -n aggregator
11601156
tmux send-keys -t aligned_layer:aggregator 'make aggregator_start' C-m

batcher/aligned-task-sender/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ NUM_WALLETS=<N> make task_sender_generate_and_fund_wallets_holesky_stage
4242
### In Devnet:
4343
Run anvil with more prefunded accounts, using the following make target:
4444
```bash
45-
make anvil_start_with_block_time_with_more_prefunded
45+
make anvil_start_with_more_prefunded_accounts
4646
```
4747

4848
Then run the following make target, with `NUM_WALLETS` being the amount of wallets you want to deposit funds to aligned payment service, up to 1000.

docs/3_guides/6_setup_aligned.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This will:
3333
To start anvil, a local Ethereum devnet with all necessary contracts already deployed and ready to be interacted with, run:
3434

3535
```shell
36-
make anvil_start_with_block_time
36+
make anvil_start
3737
```
3838

3939
<details>

0 commit comments

Comments
 (0)