Commit c98a4da
authored
chore: return memory tests back (#1950)
This resolves INT-4550.
Merkle tests checked that, when we touch some memory,
- the finalized root that is obtained by "build a tree on initial
memory, then update with the touched memory" is the same as if we just
built the tree on the final memory,
- the merkle trace does the interactions we want it to.
I updated them so that they check the same but use the new architecture.
The general memory tests checked that we can do all kinds of accesses
(persistent/volatile, native/rv32 address space, etc etc) and nothing
breaks. Apparently, I did the same in `online.rs`, so I just moved my
tests to that file, where I think they indeed belong.1 parent f21b19e commit c98a4da
8 files changed
+257
-546
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments