//! Storage helpers for testing
usestd::rc::Rc;usederivative::Derivative;usenamada_sdk::storage;/// A list of changes, which must be applied in the same order to get to the
/// current state.
pubtypeChanges=Vec<Change>;/// Storage modification
#[derive(Clone, Debug)]pubstructChange{pubkey:storage::Key,
pubvalue: ValueChange,
}/// Storage value modification
#[derive(Clone, Derivative)]#[derivative(Debug)]pubenumValueChange{
Write(#[derivative(Debug ="ignore")]Rc<dyn Fn(Option<Vec<u8>>)->Vec<u8>>,),
Delete,}