Commit 8b78c68
refactor(anvil): simplify receipt conversion using map_logs (#12413)
Replaced verbose manual receipt conversion logic with map_logs helper method for cleaner and more maintainable code.
The previous implementation manually iterated through logs, created new Vec, and reconstructed the ReceiptWithBloom. The new implementation uses the map_logs helper which does the same thing more concisely.
Co-authored-by: Claude <[email protected]>1 parent 51f168f commit 8b78c68
1 file changed
+10
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1214 | 1200 | | |
1215 | 1201 | | |
1216 | 1202 | | |
| |||
0 commit comments