Commit a3c6424
committed
direct: document the top-level-field constraint of CompactState's shallow copy
The shallow copy keeps the caller's value (reused for the deploy API call)
untouched only for top-level scalar hashed fields; a nested field would need
a deep copy. Note the constraint so it isn't silently broken later.
Co-authored-by: Isaac1 parent 58037af commit a3c6424
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
0 commit comments