use crate::types::Gas;
use std::hash::Hash;
#[derive(
Debug,
Clone,
Copy,
Hash,
PartialEq,
Eq,
serde_repr::Serialize_repr,
serde_repr::Deserialize_repr,
)]
#[repr(u8)]
pub enum AccountIdValidityRulesVersion {
V0,
V1,
}
impl AccountIdValidityRulesVersion {
pub fn v0() -> AccountIdValidityRulesVersion {
AccountIdValidityRulesVersion::V0
}
}
#[derive(Default, Clone, serde::Serialize, serde::Deserialize, Debug, Hash, PartialEq, Eq)]
pub struct ViewConfig {
pub max_gas_burnt: Gas,
}