Skip to content

Commit

Permalink
chore: use patch branch
Browse files Browse the repository at this point in the history
  • Loading branch information
brady.ouren committed Oct 14, 2024
1 parent d1dfc9c commit 455bb36
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docker/devnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk add --no-cache \
# Build Clarinet from source
RUN git clone https://github.com/hirosystems/clarinet.git && \
cd clarinet && \
git checkout 1bdc272 && \
git checkout 1717a4e && \
cargo build --release

FROM --platform=$BUILDPLATFORM docker:dind
Expand All @@ -37,7 +37,7 @@ WORKDIR /app
VOLUME /chainstate

# Stacks API
EXPOSE 3700
# EXPOSE 3700
# Stacks-node RPC
EXPOSE 20443
# Bitcoind JSON-RPC
Expand Down
2 changes: 2 additions & 0 deletions docker/devnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
clarinet-devnet:
# depends_on:
# - clarinet-builder
# network_mode: "host" # equivalent to --network host
networks:
- backend
restart: on-failure
Expand All @@ -28,6 +29,7 @@ services:
environment:
- CLARINET_VERSION=v2.8.0
- STACKS_EVENT_OBSERVER=host.docker.internal:3700
- PG_DATABASE=stacks_api
extra_hosts:
- 'host.docker.internal:host-gateway' # fixes `host.docker.internal` on linux hosts
privileged: true
Expand Down
25 changes: 15 additions & 10 deletions docker/devnet/settings/Devnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ disable_postgres = false
# disable_subnet_api = false
disable_bitcoin_explorer = true
# working_dir = "tmp/devnet"
# stacks_node_events_observers = ["host.docker.internal:8002"]
stacks_node_events_observers = ["host.docker.internal:3700"]
# miner_mnemonic = "fragile loan twenty basic net assault jazz absorb diet talk art shock innocent float punch travel gadget embrace caught blossom hockey surround initial reduce"
# miner_derivation_path = "m/44'/5757'/0'/0/0"
# faucet_mnemonic = "shadow private easily thought say logic fault paddle word top book during ignore notable orange flight clock image wealth health outside kitten belt reform"
Expand All @@ -102,7 +102,7 @@ postgres_port = 5490
# postgres_username = "postgres"
# postgres_password = "postgres"
# postgres_database = "postgres"
postgres_database = "stacks_blockchain_api"
postgres_database = "stacks_api"
# bitcoin_node_image_url = "quay.io/hirosystems/bitcoind:26.0"
# stacks_node_image_url = "quay.io/hirosystems/stacks-node:devnet-2.5"
# stacks_signer_image_url = "quay.io/hirosystems/stacks-signer:devnet-2.5"
Expand Down Expand Up @@ -132,14 +132,19 @@ postgres_database = "stacks_blockchain_api"
# epoch_2_4 = 104
# epoch_2_5 = 108

epoch_2_0 = 103
epoch_2_05 = 104
epoch_2_1 = 106
epoch_2_2 = 108
epoch_2_3 = 109
epoch_2_4 = 111
epoch_2_5 = 112
epoch_3_0 = 132
# from stacks_blockchain_api settings
# epoch_2_0 = 100
# epoch_2_05 = 104
# epoch_2_1 = 106
# epoch_2_2 = 108
# epoch_2_3 = 109
# epoch_2_4 = 111
# epoch_2_5 = 112
# epoch_3_0 = 144
epoch_3_0 = 144

stacks_node_image_url = "quay.io/hirosystems/stacks-node:devnet2.9.0-epoch3.0"
stacks_signer_image_url = "quay.io/hirosystems/stacks-signer:devnet2.9.0-epoch3.0"

# Send some stacking orders
[[devnet.pox_stacking_orders]]
Expand Down

0 comments on commit 455bb36

Please sign in to comment.