Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Smith11 committed Dec 10, 2024
1 parent 56eb2ff commit a3a57f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/types/src/contract_payloads/angstrom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ impl AngstromBundle {
index0: t0_idx,
index1: t1_idx,
store_index: 0,
price_1over0: U256::from(1)
price_1over0: U256::from(user_order.limit_price())
};
pairs.push(pair);

Expand Down
1 change: 1 addition & 0 deletions crates/validation/src/order/sim/gas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ where
amount_out
)
.map_err(|e| eyre!("failed to insert account into storage {e:?}"))?;

cache_db
.insert_account_storage(token_out, balance_amount_in_slot_user.into(), amount_in)
.map_err(|e| eyre!("failed to insert account into storage {e:?}"))?;
Expand Down

0 comments on commit a3a57f5

Please sign in to comment.