namada_vm 0.48.3

The Namada VM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Transaction WASM compilation cache

use super::common::{Cache, CacheName};

/// Tx WASM compilation cache handle. Thread-safe.
pub type TxCache<A> = Cache<Name, A>;

/// Tx cache name
#[derive(Debug, Clone)]
pub struct Name;

impl CacheName for Name {
    fn name() -> &'static str {
        "Tx"
    }
}