Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions walletkit-core/src/authenticator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,11 +789,6 @@ pub fn recovery_data_from_seed(seed: &[u8]) -> Result<RecoveryData, WalletKitErr
#[cfg(test)]
mod tests {
use super::*;
use crate::storage::tests_utils::{
cleanup_test_storage, temp_root_path, InMemoryStorageProvider,
};
use alloy::primitives::address;
use world_id_core::primitives::Config;

#[test]
fn test_recovery_data_from_seed() {
Expand All @@ -820,6 +815,12 @@ mod tests {
#[cfg(feature = "embed-zkeys")]
#[tokio::test]
async fn test_init_with_config_and_materials() {
use crate::storage::tests_utils::{
cleanup_test_storage, temp_root_path, InMemoryStorageProvider,
};
use alloy::primitives::address;
use world_id_core::primitives::Config;

let _ = rustls::crypto::ring::default_provider().install_default();

let mut mock_server = mockito::Server::new_async().await;
Expand Down
1 change: 1 addition & 0 deletions walletkit-core/src/issuers/recovery_bindings_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ impl RecoveryBindingManager {
}

#[cfg(test)]
#[cfg(all(not(target_arch = "wasm32"), feature = "embed-zkeys"))]
Comment thread
Dzejkop marked this conversation as resolved.
mod tests {
use super::*;
use crate::authenticator::Groth16Materials;
Expand Down
3 changes: 3 additions & 0 deletions walletkit-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ pub use user_agent::{UserAgent, UserAgentBuilder};
/// Proof requests and responses in World ID v4.
pub mod requests;

/// Pre-flight check of whether stored credentials can satisfy a [`requests::ProofRequest`].
pub mod proof_request_credential_constraints_check;

mod proof;
pub use proof::OwnershipProof;

Expand Down
Loading
Loading