Repository navigation
Commit 6be5430
authored
Fix setStorage slot encoding to handle values > 2^64 (#171)
setStorage used writeBigUInt64BE which silently truncates
slots larger than 8 bytes. Switch to the hex string
approach already used by getStorage and the value encoding.1 parent 9f17af1 commit 6be5430
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| |||
0 commit comments