Skip to content

Commit 871239a

Browse files
authored
add host sim (#132)
* wip: add host sim * fix: add host evm and fix fill detection * fix: host fills in trevm * opt: avoid making mut before we have to * fix: fill state candidates * chore: misc cleanup * wip: test * fix: setup dbs * fix: set db properly revm is a pain sometimes * fix: count host gas * test: add test for too much host gas * tests: more of them! * fix: accept host cache * test: add test for host cache propagation between bundles
1 parent b0fb6b3 commit 871239a

File tree

27 files changed

+1733
-428
lines changed

27 files changed

+1733
-428
lines changed

crates/bundle/src/call/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ where
184184
self.response.bundle_hash = self.bundle.bundle_hash();
185185

186186
// Taking these clears the order detector
187-
let (orders, fills) =
187+
let (fills, orders) =
188188
trevm.inner_mut_unchecked().inspector.as_mut_detector().take_aggregates();
189189
self.response.orders = orders;
190190
self.response.fills = fills;

0 commit comments

Comments
 (0)