pub fn commit<'a, R, S, E>( environment: &'a R, store: &S, prestate_hash: Digest, effects: Effects, ) -> Result<Digest, E>where R: TransactionSource<'a, Handle = S::Handle>, S: TrieStore<Key, StoredValue>, S::Error: From<R::Error>, E: From<R::Error> + From<S::Error> + From<Error> + From<CommitError> + From<Error>,
Commit effects to the store.
effects