Skip to content

Commit

Permalink
merged context contract
Browse files Browse the repository at this point in the history
  • Loading branch information
alenmestrov committed Dec 1, 2024
2 parents 9eb9174 + bd54748 commit 08ca472
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/icp/context-config/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ impl ICContextId {
pub fn new(bytes: [u8; 32]) -> Self {
Self(Identity(bytes))
}

pub fn as_bytes(&self) -> [u8; 32] {
self.0.as_bytes()
}
}

impl ReprBytes for ICContextId {
Expand Down
1 change: 1 addition & 0 deletions contracts/icp/context-config/tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::time::{Duration, SystemTime, UNIX_EPOCH};

use calimero_context_config::repr::ReprBytes;
use candid::Principal;
use context_contract::types::{
ContextRequest, ContextRequestKind, ICApplication, ICApplicationId, ICBlobId, ICCapability,
Expand Down

0 comments on commit 08ca472

Please sign in to comment.