Commit 1b3b9b4
feat(common): identify bytes and string slots using storageLayout (#11476)
* feat(common): identify bytes and string slots using storageLayout
* fmt
* clippy
* aggregate and decode bytes and strings
* cleanup
* nits
* clippy
* fmt
* nit
* cleanup
* identify the slots using the length of data in base slot value
* nit
* fix
* fix mapping identification
* nit
* fmt
* nit
* Update crates/common/src/slot_identifier.rs
* Update crates/common/src/slot_identifier.rs
* cleanup: slot_identifier
* cleanup
* nit
---------
Co-authored-by: zerosnacks <[email protected]>1 parent 124f134 commit 1b3b9b4
File tree
3 files changed
+585
-17
lines changed- crates
- cheatcodes/src
- common/src
- testdata/default/cheats
3 files changed
+585
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
1376 | 1379 | | |
1377 | 1380 | | |
1378 | 1381 | | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1379 | 1392 | | |
1380 | 1393 | | |
1381 | 1394 | | |
| |||
1398 | 1411 | | |
1399 | 1412 | | |
1400 | 1413 | | |
1401 | | - | |
| 1414 | + | |
1402 | 1415 | | |
1403 | | - | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1404 | 1449 | | |
1405 | 1450 | | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | 1451 | | |
1415 | 1452 | | |
1416 | 1453 | | |
| |||
0 commit comments