Skip to content

Commit

Permalink
chore: deposit from ckb-miner-and-faucet
Browse files Browse the repository at this point in the history
in godwoken entrypoint after godwoken is started, so that the deposit
does not conflict with godwoken block submission etc.
  • Loading branch information
blckngm committed May 24, 2022
1 parent a14feb1 commit 477a6a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/layer2/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ function create-polyjuice-root-account() {
# Deposit for block_producer
log "Deposit for block_producer"
RUST_BACKTRACE=full gw-tools deposit-ckb \
--privkey-path $ACCOUNTS_DIR/godwoken-block-producer.key \
--privkey-path $ACCOUNTS_DIR/ckb-miner-and-faucet.key \
--eth-address 0x2e9df163055245bfadd35e3a1f05f06096447c85 \
--godwoken-rpc-url http://127.0.0.1:8119 \
--ckb-rpc http://ckb:8114 \
--scripts-deployment-path $CONFIG_DIR/scripts-deployment.json \
Expand Down

0 comments on commit 477a6a2

Please sign in to comment.