We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 406185b commit 28d24bcCopy full SHA for 28d24bc
compute/src/config.rs
@@ -178,24 +178,3 @@ impl Default for DriaComputeNodeConfig {
178
Self::new(Default::default())
179
}
180
181
-
182
-#[cfg(test)]
183
-mod tests {
184
- use super::*;
185
186
- #[test]
187
- fn test_config_and_model_parsing() {
188
- let cfg = DriaComputeNodeConfig::default();
189
- assert_eq!(
190
- hex::encode(cfg.address),
191
- // address of the default secret key
192
- "1f56f6131705fbf19371122c80d7a2d40fcf9a68"
193
- );
194
195
- env::set_var(
196
- "DKN_WALLET_SECRET_KEY",
197
- "6e6f64656e6f64656e6f64656e6f64656e6f64656e6f64656e6f64656e6f6465",
198
199
- env::set_var("DKN_MODELS", "phi3:3.8b,gpt-3.5-turbo");
200
- }
201
-}
0 commit comments