MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / commit

Method commit

fendermint/rocksdb/src/kvstore.rs:245–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243
244impl<'a> KVTransaction for RocksDbWriteTx<'a> {
245 fn commit(self) -> KVResult<()> {
246 let tx = self.take_tx();
247 tx.commit().map_err(to_kv_error)
248 }
249
250 fn rollback(self) -> KVResult<()> {
251 let tx = self.take_tx();

Callers

nothing calls this directly

Calls 1

take_txMethod · 0.80

Tested by

no test coverage detected