Commit 7dbea81
authored
fix(sim): use previous block number for creating alloy db in simulator (#119)
# fix(sim): use previous block number for creating alloy db in simulator
PR #116 introduced a logic change that reused the block number from the `block_env` to fetch the state for the alloy DB instance, which results in querying for state of a block number that doesn't exist.
This commit reduces that number by 1 to correctly create the AlloyDB state from the previous block instead of the in-progress block.1 parent b30b12a commit 7dbea81
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments