Skip to content

Commit

Permalink
chore: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jul 16, 2024
1 parent a0994be commit 2302c0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
WASM="out/$CAN.wasm"
ic-wasm $WASM -o $WASM metadata candid:service -f "out/$CAN.did" -v public
ic-wasm $WASM -o $WASM shrink
ic-wasm $WASM -o $WASM optimize O3 --inline-functions-with-loops
gzip $WASM
SHA256="$(sha256sum < "out/$CAN.wasm.gz" | sed 's/ .*$//g')"
echo $SHA256 > "out/$CAN.wasm.gz.$SHA256.txt"
Expand Down
2 changes: 0 additions & 2 deletions src/ic_panda_ai/src/api_query.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use ic_oss_types::file::FileInfo;
use lib_panda::sha3_256;
use serde_bytes::ByteBuf;
use serde_json::json;

use crate::{ai, store, types, unwrap_trap};
Expand Down
2 changes: 0 additions & 2 deletions src/ic_panda_ai/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ mod types;

use ic_oss_types::file::*;

const MILLISECONDS: u64 = 1_000_000;

static ANONYMOUS: Principal = Principal::anonymous();

// "dwv6s-6aaaa-aaaaq-aacta-cai" ICPanda DAO canister id
Expand Down

0 comments on commit 2302c0e

Please sign in to comment.