From 1ce21c156b63a0b06f68dcae1328ad5632bd4514 Mon Sep 17 00:00:00 2001 From: lesterli Date: Sat, 9 Nov 2024 20:31:42 +0800 Subject: [PATCH] trigger ci --- .env.babylon-integration.example | 2 ++ .env.bitcoin.example | 7 ++++--- .github/workflows/publish-bitcoin.yml | 7 ++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.env.babylon-integration.example b/.env.babylon-integration.example index 8bd7d54..46b2d1a 100644 --- a/.env.babylon-integration.example +++ b/.env.babylon-integration.example @@ -15,6 +15,8 @@ BITCOIN_NODE_IP=11.22.33.44 # devnet-only BITCOIN_RPC_HOST=11.22.33.44:38332 # gRPC BITCOIN_RPC_USER=snapchain BITCOIN_RPC_PASS=rpcpass +# TODO: there is no need to make these ports configurable. should just have one BITCOIN_NODE_IP var +# and use it here and for BITCOIN_RPC_HOST ZMQ_RAWBLOCK_URL=tcp://11.22.33.44:29001 ZMQ_RAWTR_URL=tcp://11.22.33.44:29002 diff --git a/.env.bitcoin.example b/.env.bitcoin.example index f5157da..2579319 100644 --- a/.env.bitcoin.example +++ b/.env.bitcoin.example @@ -2,12 +2,13 @@ NETWORK=signet # regtest | signet RPC_PORT=38332 # 18443 (regtest) | 38332 (signet) RPC_USER=snapchain RPC_PASS=rpcpass +# TODO: there is no need to make these ports configurable. +ZMQ_SEQUENCE_PORT=29000 +ZMQ_RAWBLOCK_PORT=29001 +ZMQ_RAWTR_PORT=29002 BTC_WALLET_NAME=btcwallet BTC_WALLET_PASS=walletpass # btc private key in WIF format BTC_PRIVKEY=cRvCqiuhGEPeCpkcwttMbNSMDkkaEXmMxSmLWJjPPXzgB3CjdcaS -ZMQ_SEQUENCE_PORT=29000 -ZMQ_RAWBLOCK_PORT=29001 -ZMQ_RAWTR_PORT=29002 # only used if BITCOIN_NETWORK=regtest GENERATE_INTERVAL_SECS=600 # 10 minutes \ No newline at end of file diff --git a/.github/workflows/publish-bitcoin.yml b/.github/workflows/publish-bitcoin.yml index 1772b83..0fb0531 100644 --- a/.github/workflows/publish-bitcoin.yml +++ b/.github/workflows/publish-bitcoin.yml @@ -3,9 +3,10 @@ name: publish-bitcoin on: push: branches: - - main - paths: - - 'scripts/bitcoin/**' + - chore/improvements + # - main + # paths: + # - 'scripts/bitcoin/**' env: # Use docker.io for Docker Hub if empty