Runs the Store contract against a real store and throws
nonconformant-store listing every check that failed. An error the store
itself throws is rethrown unchanged.
check
what it sends
expects
first-write
write v1
apply
stale-write
write v2, then v1
stale
equal-version
write v1, then v1
apply
newer-write
write v1, then v2
apply
stale-delete
write v5, delete v3, then write v5
stale, then apply
final-tombstone
write v1, delete v2, then write v3
deleted
older-than-tombstone
delete v3, then write v2 with recreate allowed
deleted
recreate
delete v3, then write v3 with recreate allowed
apply
delete-missing
delete v1 of an id never written, then write v1
apply, then deleted
tuple-order
write [1,2], then [1,1], then [2,0]
stale, then apply
beyond-64-bits
write 2^64 + 1, then 2^64
stale
expiry-edge
delete at t, write v1 at t + expiry, then t + expiry + 1
deleted, then apply
shape-mismatch
write v1, then [1,2]
rejects with version-shape-mismatch
scopes-apart
write v5 in one scope, v1 of the same id in another
apply
concurrent-writes
write v20 down to v1, all at once; then v19 and v20
stale, then apply
concurrent-delete
write v1; delete v3 and write v2 at once; then write v3
Runs the Store contract against a real store and throws
nonconformant-storelisting every check that failed. An error the store itself throws is rethrown unchanged.first-writeapplystale-writestaleequal-versionapplynewer-writeapplystale-deletestale, thenapplyfinal-tombstonedeletedolder-than-tombstonedeletedrecreateapplydelete-missingapply, thendeletedtuple-orderstale, thenapplybeyond-64-bitsstaleexpiry-edgedeleted, thenapplyshape-mismatchversion-shape-mismatchscopes-apartapplyconcurrent-writesstale, thenapplyconcurrent-deletedeleted