[isoltest] Replace storage command with 'storage_empty' builtin.

This commit is contained in:
Alexander Arlt
2021-04-27 16:28:37 -05:00
parent 5852972ec1
commit 1f2711b0aa
28 changed files with 79 additions and 120 deletions
@@ -6,26 +6,26 @@ contract Test {
// compileViaYul: also
// ----
// set(bytes): 0x20, 3, "abc"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 0
// storage: empty
// storageEmpty -> 1
// set(bytes): 0x20, 31, "1234567890123456789012345678901"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 36, "12345678901234567890123456789012", "XXXX"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 3, "abc"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 0
// storage: empty
// storageEmpty -> 1
// set(bytes): 0x20, 3, "abc"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 36, "12345678901234567890123456789012", "XXXX"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 0
// storage: empty
// storageEmpty -> 1
// set(bytes): 0x20, 66, "12345678901234567890123456789012", "12345678901234567890123456789012", "12"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 3, "abc"
// storage: nonempty
// storageEmpty -> 0
// set(bytes): 0x20, 0
// storage: empty
// storageEmpty -> 1