use avm_interface::raw_outcome::RawAVMOutcome;
use avm_interface::CallResults;
use fluence_keypair::KeyPair;
use std::error::Error as StdError;
pub(crate) trait AirRunner {
#[allow(clippy::too_many_arguments)]
fn call_tracing(
&mut self,
air: String,
prev_data: Vec<u8>,
data: Vec<u8>,
init_peer_id: String,
timestamp: u64,
ttl: u32,
current_peer_id: String,
call_results: CallResults,
tracing_params: String,
tracing_output_mode: u8,
key_pair: &KeyPair,
particle_id: String,
) -> anyhow::Result<RawAVMOutcome>;
}
pub(crate) trait DataToHumanReadable {
fn to_human_readable(&mut self, data: Vec<u8>) -> Result<String, Box<dyn StdError>>;
}