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 5d08634 commit cfb1fe8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
19 changes: 8 additions & 11 deletions Cargo.lock

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

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ serde_json = "1"
serde_bytes = "0.11"
ic_cose_types = "0.6"
ic_cose = "0.6"
ic_object_store = "0.6.9-patch1"
ic_object_store = "0.6"
ic-agent = "0.39"
ic_tee_agent = "0.2"
ic_tee_cdk = "0.2"
Expand Down Expand Up @@ -72,9 +72,6 @@ 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" }

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

Expand Down
3 changes: 3 additions & 0 deletions agents/anda_bot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" } # 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.11/anda_bot
RUN wget -O anda_bot https://github.com/ldclabs/anda/releases/download/v0.2.12/anda_bot
RUN chmod +x anda_bot

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

0 comments on commit cfb1fe8

Please sign in to comment.