Skip to content

Commit

Permalink
dev: improve hive CI (#1059)
Browse files Browse the repository at this point in the history
improve hive CI
  • Loading branch information
greged93 authored May 6, 2024
1 parent 889314e commit 4271ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/hive/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mv /genesis/hive-genesis.json /hive-genesis.json && rm -fr /genesis
# 2. Start Katana
echo "Launching Katana..."
chain_id=$(printf '%x' $(jq -r '.config.chainId' hive-genesis.json))
RUST_LOG=warn katana --block-time 2000 --disable-fee --chain-id=0x$chain_id --genesis genesis.json &
RUST_LOG=warn katana --block-time 6000 --disable-fee --chain-id=0x$chain_id --genesis genesis.json &
###### 2.5. Await Katana to be healthy
# Loop until the curl command succeeds
until
Expand Down Expand Up @@ -54,7 +54,7 @@ sink-mongo run /usr/src/app/code/indexer/src/main.ts &

### 3.5. Await the Indexer to be healthy
echo "Waiting for the indexer to start..."
sleep 3
sleep 8

# 4. Start the Kakarot RPC service
echo "Launching Kakarot RPC..."
Expand Down

0 comments on commit 4271ee5

Please sign in to comment.