pub trait ToVerifiableCache {
// Required methods
fn find(
&self,
account_id: &AccountId,
vk_hash: &Fp,
) -> Option<&VerificationKeyWire>;
fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire);
}
pub trait ToVerifiableCache {
// Required methods
fn find(
&self,
account_id: &AccountId,
vk_hash: &Fp,
) -> Option<&VerificationKeyWire>;
fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire);
}