Skip to content

Commit

Permalink
feat: upgrade clarinet to v2.4.0; enable use_nakamoto field to conf…
Browse files Browse the repository at this point in the history
…igure stacks chain for nakamoto (#89)
  • Loading branch information
MicaiahReid authored Mar 25, 2024
1 parent 47417d5 commit 521acd1
Show file tree
Hide file tree
Showing 26 changed files with 2,714 additions and 585 deletions.
2,496 changes: 1,987 additions & 509 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,27 @@ repository = "https://github.com/hirosystems/stacks-devnet-api"
kube = { version="0.82.2", features = ["client", "runtime"] }
k8s-openapi = { version = "0.18.0", features = ["v1_25"] }
futures = "0.3.28"
tokio = { version = "1.27.0", features = ["full"] }
tokio = { version = "1.35.1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.96"
serde_json = "1.0.114"
serde_yaml = "0.8.23"
hyper = { version = "0.14", features = ["full"] }
tower = "0.4.13"
http-body = "0.4.5"
hiro-system-kit = {version = "0.1.0", features = ["log"]}
strum_macros = "0.24.3"
strum = "0.24.1"
clarity-vm = "2.1.1"
clarity-repl = "1.8.0"
clarinet-files = {version = "1.0.3" }
chainhook-types = "1.0"
clarinet-deployments = {version = "1.0.3" }
# clarity-repl = "1.8.0"
# clarity-repl = {version = "2.2.0", path = "../clarinet/components/clarity-repl" }
clarity-repl = {version = "2.3.1", git = "https://github.com/hirosystems/clarinet.git", rev="a5f9fea72230b893a7d1f90bdfda3a68aa48e908" }
# clarinet-files = {version = "1.0.3" }
# clarinet-files = {version = "2.2.0", path = "../clarinet/components/clarinet-files" }
clarinet-files = {version = "2.3.1", git = "https://github.com/hirosystems/clarinet.git", rev="a5f9fea72230b893a7d1f90bdfda3a68aa48e908" }
# clarinet-deployments = {version = "1.0.3" }
# clarinet-deployments = {version = "2.2.0", path = "../clarinet/components/clarinet-deployments" }
clarinet-deployments = {version = "2.3.1", git = "https://github.com/hirosystems/clarinet.git", rev="a5f9fea72230b893a7d1f90bdfda3a68aa48e908" }
# chainhook-types = "1.0"
chainhook-types = { version = "1.3", git = "https://github.com/hirosystems/chainhook.git", branch="chore/update-clarinet-and-clarity" }
toml = "0.5.9"

[dev-dependencies]
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM rust:bullseye as builder
RUN apt update && apt install -y ca-certificates pkg-config libssl-dev
RUN apt update && apt install -y ca-certificates pkg-config libssl-dev libclang-dev
WORKDIR /src
COPY . /src

RUN mkdir /out
RUN rustup component add rustfmt
RUN cargo build --release --manifest-path ./Cargo.toml
RUN cp target/release/stacks-devnet-api /out

Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct StacksDevnetConfig {
disable_bitcoin_explorer: Option<bool>, // todo: currently unused
disable_stacks_explorer: Option<bool>, // todo: currently unused
deployment_plan: DeploymentSpecification,
network_manifest: NetworkManifest,
pub network_manifest: NetworkManifest,
project_manifest: ProjectManifest,
}
impl StacksDevnetConfig {
Expand Down
Loading

0 comments on commit 521acd1

Please sign in to comment.