Skip to content

Commit 72421b1

Browse files
docs: improve ethereum package steps (#1990)
1 parent 0d7b600 commit 72421b1

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

docs/0_internal/ethereum_package.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ make batcher_start_ethereum_package
3434
To start the aggregator run:
3535

3636
```bash
37-
make aggregator_start_ethereum_package
37+
make aggregator_start_ethereum_package ENVIRONMENT=devnet
3838
```
3939

4040
To start an operator run:
@@ -45,14 +45,26 @@ make operator_full_registration_and_start_ethereum_package
4545

4646
If you want to deploy more operators, you must duplicate the config-operator-1-ethereum-package.yaml and change the private and bls keys and the address.
4747

48+
If operator starting fails due to a failure in operation registration to aligned (not whitelisted), try running the commands separately:
49+
50+
```bash
51+
make operator_full_registration CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml ENVIRONMENT=devnet
52+
make operator_start CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml ENVIRONMENT=devnet
53+
```
54+
4855
To start Telemetry and the Explorer, run the usual commands:
4956

5057
```bash
5158
make telemetry_start_all
59+
60+
make explorer_build_db
5261
make explorer_start
5362
```
5463

64+
Note: If you are starting telemetry again and fails, a common failure reason can be forgetting to clean the db running `make telemetry_clean_db`.
65+
5566
To spam transactions install spamoor:
67+
5668
```bash
5769
make spamoor_install
5870
```
@@ -69,6 +81,7 @@ make spamoor_send_transactions \\
6981
```
7082

7183
For Example:
84+
7285
```bash
7386
make spamoor_send_transactions COUNT=1000 TX_CONSUME_GAS=150000 TX_PER_BLOCK=50 NUM_WALLETS=100 TIP_FEE=2
7487
```
@@ -97,8 +110,8 @@ make spamoor_send_transactions COUNT=1000000000 TX_CONSUME_GAS=150000 TX_PER_BL
97110
```
98111

99112
- Notes:
100-
- A transaction consuming `150000` of gas would be similar to a bridge swap.
101-
- We pass `2` gwei more to the `tipFee` that should be enough if not, you can increase it.
113+
- A transaction consuming `150000` of gas would be similar to a bridge swap.
114+
- We pass `2` gwei more to the `tipFee` that should be enough if not, you can increase it.
102115

103116
3. **Monitor Gas Price Updates:** After a few blocks, the `gasPrice` will adjust. The aligned batcher and aggregator will fetch the updated `gasPrice` and start competing in the mempool with their adjusted bump.
104117
4. **Repeat as Needed:** Re-run the same command with the updated `TIP_FEE` to maintain competition:

0 commit comments

Comments
 (0)