MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / test_async_to_keypair

Function test_async_to_keypair

sdk/rust/tests/test_eth.rs:12–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11#[tokio::test]
12async fn test_async_to_keypair() {
13 let client = DstackClient::new(None);
14 let result = client
15 .get_key(Some("test".to_string()), None)
16 .await
17 .expect("get_key failed");
18
19 let _: &GetKeyResponse = &result;
20 let _wallet = to_account(&result).expect("to_account failed");
21}

Callers

nothing calls this directly

Calls 2

to_accountFunction · 0.50
get_keyMethod · 0.45

Tested by

no test coverage detected