Refactor tests (#104)

This commit is contained in:
Mike Voronov
2021-05-16 22:52:22 +03:00
committed by GitHub
parent b96ee517f3
commit 7cb636a02e
55 changed files with 2102 additions and 2606 deletions

View File

@ -25,6 +25,8 @@
unreachable_patterns
)]
pub mod executed_state;
pub use avm_server::ne_vec::NEVec;
pub use avm_server::AVMConfig;
pub use avm_server::AVMError;
@ -35,10 +37,12 @@ pub use avm_server::InterpreterOutcome;
pub use avm_server::ParticleParameters;
pub use avm_server::AVM;
pub use air::execution_trace::ExecutionTrace;
use std::collections::HashMap;
use std::path::PathBuf;
type JValue = serde_json::Value;
pub(self) type JValue = serde_json::Value;
pub fn create_avm(call_service: CallServiceClosure, current_peer_id: impl Into<String>) -> AVM {
let tmp_dir = std::env::temp_dir();