Skip to content

Commit

Permalink
docs: Name the storage change statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 6, 2019
1 parent 5d4a5a3 commit e5166fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/storage_change_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<th>original</th>
<th>current</th>
<th>new</th>
<th>name</th>
<th>dirty?</th>
<th>cost</th>
<th>refund</th>
Expand All @@ -37,6 +38,7 @@
<td>...</td>
<td>0</td>
<td>0</td>
<td rowspan="2">UNCHANGED</td>
<td rowspan="2">N/A</td>
<td rowspan="2">200 = SLOAD</td>
<td rowspan="2">0</td>
Expand All @@ -50,6 +52,7 @@
<td>0</td>
<td>0</td>
<td>X</td>
<td>SET / ADDED</td>
<td>no</td>
<td>20000 = SET</td>
<td>0</td>
Expand All @@ -58,6 +61,7 @@
<td>X</td>
<td>X</td>
<td>Y</td>
<td>RESET / MODIFIED</td>
<td>no</td>
<td>5000 = RESET</td>
<td>0</td>
Expand All @@ -66,6 +70,7 @@
<td>X</td>
<td>X</td>
<td>0</td>
<td>CLEARED / DELETED</td>
<td>no</td>
<td>5000 = RESET</td>
<td>15000 = CLEARS</td>
Expand All @@ -74,6 +79,7 @@
<td>0</td>
<td>X</td>
<td>0</td>
<td>DIRTY_SET_TO_CLEARED</td>
<td>yes</td>
<td>200 = SLOAD</td>
<td>19800 = SET - SLOAD</td>
Expand All @@ -82,6 +88,7 @@
<td>X</td>
<td>0</td>
<td>X</td>
<td rowspan="2">DIRTY_CLEARED_TO_SET</td>
<td rowspan="2">yes</td>
<td rowspan="2">200 = SLOAD</td>
<td rowspan="2">-15000 = -CLEARS</td>
Expand All @@ -95,6 +102,7 @@
<td>0</td>
<td>X</td>
<td>Y</td>
<td rowspan="2">DIRTY_RESET_AGAIN</td>
<td rowspan="2">yes</td>
<td rowspan="2">200 = SLOAD</td>
<td rowspan="2">0</td>
Expand All @@ -108,6 +116,7 @@
<td>X</td>
<td>Y</td>
<td>0</td>
<td>DIRTY_RESET_TO_CLEARED</td>
<td>yes</td>
<td>200 = SLOAD</td>
<td>15000 = CLEARS</td>
Expand All @@ -116,6 +125,7 @@
<td>X</td>
<td>Y</td>
<td>X</td>
<td>DIRTY_RESET_REVERTED</td>
<td>yes</td>
<td>200 = SLOAD</td>
<td>4800 = RESET - SLOAD</td>
Expand Down

0 comments on commit e5166fb

Please sign in to comment.