Introduce UncheckedTransaction & test.

This commit is contained in:
Gav
2018-01-18 15:14:01 +01:00
parent 712becb205
commit 92d8712b2b
8 changed files with 143 additions and 71 deletions
@@ -1,9 +1,10 @@
use primitives::Timestamp;
use storage::Storage;
pub fn timestamp() -> Timestamp {
unimplemented!()
Storage::into(b"tim\0val")
}
pub fn set_timestamp(_now: Timestamp) {
unimplemented!()
pub fn set_timestamp(now: Timestamp) {
now.store(b"tim\0val")
}