MCPcopy
hub / github.com/canopy-network/canopy / testDBGet

Function testDBGet

store/fuzz_test.go:160–164  ·  view source on GitHub ↗
(t *testing.T, db lib.RWStoreI, k []byte)

Source from the content-addressed store, hash-verified

158}
159
160func testDBGet(t *testing.T, db lib.RWStoreI, k []byte) (value []byte) {
161 value, err := db.Get(lib.JoinLenPrefix(k))
162 require.NoError(t, err)
163 return
164}
165
166func testCompareIterators(t *testing.T, db lib.RWStoreI, compare lib.RWStoreI, keys []string) {
167 var (

Callers 1

doRandomOperationFunction · 0.85

Calls 2

JoinLenPrefixFunction · 0.92
GetMethod · 0.65

Tested by

no test coverage detected