From 18feb52b842aa1cf64bc71da24ac20d0f461e69f Mon Sep 17 00:00:00 2001 From: 0xZensh Date: Thu, 23 Jan 2025 16:15:09 +0800 Subject: [PATCH] fix: try to fix anda_bot bootstrap --- agents/anda_bot/Cargo.toml | 3 +++ agents/anda_bot/nitro_enclave/amd64.Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/agents/anda_bot/Cargo.toml b/agents/anda_bot/Cargo.toml index 5b59b31..e617bd5 100644 --- a/agents/anda_bot/Cargo.toml +++ b/agents/anda_bot/Cargo.toml @@ -45,5 +45,8 @@ ed25519-consensus = { workspace = true } agent-twitter-client = "0.1" config = "0.15" +[patch.crates-io] +candid = { git = "https://github.com/ldclabs/candid.git", rev = "70b72a66576c010235bfa6f1adb0672944497523" } + [dev-dependencies] dotenv = { workspace = true } diff --git a/agents/anda_bot/nitro_enclave/amd64.Dockerfile b/agents/anda_bot/nitro_enclave/amd64.Dockerfile index aae9409..793eb95 100644 --- a/agents/anda_bot/nitro_enclave/amd64.Dockerfile +++ b/agents/anda_bot/nitro_enclave/amd64.Dockerfile @@ -26,7 +26,7 @@ RUN mv linux-amd64/dnsproxy ./ && chmod +x dnsproxy RUN wget -O ic_tee_nitro_gateway https://github.com/ldclabs/ic-tee/releases/download/v0.2.11/ic_tee_nitro_gateway RUN chmod +x ic_tee_nitro_gateway -RUN wget -O anda_bot https://github.com/ldclabs/anda/releases/download/v0.2.9/anda_bot +RUN wget -O anda_bot https://github.com/ldclabs/anda/releases/download/v0.2.10/anda_bot RUN chmod +x anda_bot FROM --platform=linux/amd64 debian:bookworm-slim AS runtime