Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions tx-submitter/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions tx-submitter/Dockerfile.submitter

This file was deleted.

2 changes: 1 addition & 1 deletion tx-submitter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ run: build
./tx-submitter \
--build-env=dev \
--l1-eth-rpc=http://127.0.0.1:9545 \
--private-key="59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d" \
--private-key="your_private_key" \
--l2-eth-rpc=http://127.0.0.1:8545 \
--poll-interval=3s \
--safe-minimum-ether-balance=1 \
Expand Down
12 changes: 4 additions & 8 deletions tx-submitter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@

### commands useful for debugging
```bash
# stake
cast send 0x6900000000000000000000000000000000000010 "stake()" --rpc-url http://127.0.0.1:9545 --private-key 59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d --value 2ether# query submitter
cast call 0x6900000000000000000000000000000000000010 "submitter()" --rpc-url http://127.0.0.1:9545 --private-key 59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
# query contract map
cast call 0x6900000000000000000000000000000000000010 "storageBatchs(uint64)" 1 --rpc-url http://127.0.0.1:9545 --private-key 59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
cast call 0x6900000000000000000000000000000000000010 "lastL2BlockNumber()" -r http://127.0.0.1:9545
cast call 0xb7f8bc63bbcad18155201308c8f3540b07f84f5e "lastFinalizedBatchIndex()" -r http://127.0.0.1:9545
cast call 0xb7f8bc63bbcad18155201308c8f3540b07f84f5e "lastCommittedBatchIndex()" -r http://127.0.0.1:9545
cast call $ROLLUP_ADDR "lastFinalizedBatchIndex()" -r $L1RPC
cast call $ROLLUP_ADDR "lastCommittedBatchIndex()" -r $L1RPC
cast call $L2_SEQUENCER_ADDR "getSequencerSet2()(address[])" -r $L2RPC
cast call $L1_STAKING_ADDR "getActiveStakers()(address[])" -r $L1RPC
```
33 changes: 0 additions & 33 deletions tx-submitter/docker-compose-testnet.yml

This file was deleted.

24 changes: 0 additions & 24 deletions tx-submitter/docker-compose.yml

This file was deleted.