use fuel_core_executor::executor::ExecutionOptions;
use fuel_core_types::blockchain::header::StateTransitionBytecodeVersion;
#[derive(Clone, Debug, Default)]
pub struct Config {
pub forbid_fake_coins_default: bool,
pub allow_syscall: bool,
pub native_executor_version: Option<StateTransitionBytecodeVersion>,
pub allow_historical_execution: bool,
}
impl From<&Config> for ExecutionOptions {
fn from(value: &Config) -> Self {
Self {
forbid_fake_coins: value.forbid_fake_coins_default,
allow_syscall: value.allow_syscall,
}
}
}