Skip to content

Commit

Permalink
fix: try to fix anda_bot bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jan 23, 2025
1 parent cfb1fe8 commit dc0e1b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
15 changes: 9 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ clap = { version = "4.5", features = ["derive", "env"] }
idna = "1.0" # https://github.com/ldclabs/anda/security/dependabot/1
url = "2.5"

[patch.crates-io]
candid = { git = "https://github.com/ldclabs/candid.git", rev = "70b72a66576c010235bfa6f1adb0672944497523" } # remove check_recursion on stack for TEE

[workspace.metadata.cargo-shear]
ignored = ["idna"]

Expand Down
3 changes: 0 additions & 3 deletions agents/anda_bot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,5 @@ 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" } # remove check_recursion on stack for TEE

[dev-dependencies]
dotenv = { workspace = true }
2 changes: 1 addition & 1 deletion agents/anda_bot/nitro_enclave/amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.12/anda_bot
RUN wget -O anda_bot https://github.com/ldclabs/anda/releases/download/v0.2.13/anda_bot
RUN chmod +x anda_bot

FROM --platform=linux/amd64 debian:bookworm-slim AS runtime
Expand Down

0 comments on commit dc0e1b8

Please sign in to comment.